Searched refs:epfd (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DEPoll.c63 int epfd = epoll_create(256); local
64 if (epfd < 0) {
67 return epfd;
71 Java_sun_nio_ch_EPoll_epollCtl(JNIEnv *env, jclass c, jint epfd, argument
80 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res);
87 jint epfd, jlong address, jint numfds)
92 RESTARTABLE(epoll_wait(epfd, events, numfds, -1), res);
100 Java_sun_nio_ch_EPoll_close0(JNIEnv *env, jclass c, jint epfd) { argument
102 RESTARTABLE(close(epfd), res);
86 Java_sun_nio_ch_EPoll_epollWait(JNIEnv *env, jclass c, jint epfd, jlong address, jint numfds) argument
H A DEPollArrayWrapper.c45 iepoll(int epfd, struct epoll_event *events, int numfds, jlong timeout) argument
56 int res = epoll_wait(epfd, events, numfds, timeout);
86 int epfd = epoll_create(256); local
87 if (epfd < 0) {
90 return epfd;
106 Java_sun_nio_ch_EPollArrayWrapper_epollCtl(JNIEnv *env, jobject this, jint epfd, argument
115 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res);
135 jlong timeout, jint epfd)
141 RESTARTABLE(epoll_wait(epfd, events, numfds, timeout), res);
143 res = iepoll(epfd, event
133 Java_sun_nio_ch_EPollArrayWrapper_epollWait(JNIEnv *env, jobject this, jlong address, jint numfds, jlong timeout, jint epfd) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DEPoll.java110 static native int epollCtl(int epfd, int opcode, int fd, int events); argument
112 static native int epollWait(int epfd, long pollAddress, int numfds) argument
H A DEPollPort.java49 private final int epfd; field in class:EPollPort
89 this.epfd = epollCreate();
96 epollCtl(epfd, EPOLL_CTL_ADD, sv[0], POLLIN);
98 close0(epfd);
129 close0(epfd);
174 int err = epollCtl(epfd, EPOLL_CTL_MOD, fd, (events | EPOLLONESHOT));
176 err = epollCtl(epfd, EPOLL_CTL_ADD, fd, (events | EPOLLONESHOT));
194 int n = epollWait(epfd, address, MAX_EPOLL_EVENTS);
H A DEPollArrayWrapper.java85 private final int epfd; field in class:EPollArrayWrapper
128 epfd = epollCreate();
143 epollCtl(epfd, EPOLL_CTL_ADD, fd0, EPOLLIN);
241 epollCtl(epfd, EPOLL_CTL_DEL, fd, 0);
251 FileDispatcherImpl.closeIntFD(epfd);
257 updated = epollWait(pollArrayAddress, NUM_EPOLLEVENTS, timeout, epfd);
287 epollCtl(epfd, opcode, fd, events);
325 private native void epollCtl(int epfd, int opcode, int fd, int events); argument
327 int epfd) throws IOException;
326 epollWait(long pollAddress, int numfds, long timeout, int epfd) argument

Completed in 452 milliseconds