HomeSort by: relevance | last modified time | path
    Searched refs:epfd (Results 1 - 25 of 35) sorted by relevancy

1 2

  /src/external/bsd/libevent/dist/
epoll_sub.c 53 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
56 return (syscall(__NR_epoll_ctl, epfd, op, fd, event));
60 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
63 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0));
65 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout));
epoll.c 92 int epfd; member in struct:epollop
146 int epfd = -1; local
151 epfd = epoll_create1(EPOLL_CLOEXEC);
153 if (epfd == -1) {
156 if ((epfd = epoll_create(32000)) == -1) {
161 evutil_make_socket_closeonexec(epfd);
165 close(epfd);
169 epollop->epfd = epfd;
175 close(epfd);
    [all...]
  /src/external/bsd/ntp/dist/sntp/libevent/
epoll_sub.c 54 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
57 return (syscall(__NR_epoll_ctl, epfd, op, fd, event));
61 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
64 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0));
66 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout));
epoll.c 91 int epfd; member in struct:epollop
145 int epfd = -1; local
150 epfd = epoll_create1(EPOLL_CLOEXEC);
152 if (epfd == -1) {
155 if ((epfd = epoll_create(32000)) == -1) {
160 evutil_make_socket_closeonexec(epfd);
164 close(epfd);
168 epollop->epfd = epfd;
174 close(epfd);
    [all...]
  /src/lib/libc/sys/
epoll.c 50 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
52 return epoll_pwait(epfd, events, maxevents, timeout, NULL);
56 epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout,
68 return epoll_pwait2(epfd, events, maxevents, tsp, sigmask);
  /src/sys/sys/
epoll.h 82 int epoll_ctl_common(struct lwp *l, register_t *retval, int epfd, int op,
84 int epoll_wait_common(struct lwp *l, register_t *retval, int epfd,
92 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event);
93 int epoll_wait(int epfd, struct epoll_event *events, int maxevents,
95 int epoll_pwait(int epfd, struct epoll_event *events, int maxevents,
97 int epoll_pwait2(int epfd, struct epoll_event *events, int maxevents,
  /src/tests/kernel/
t_epoll.c 89 "Checks that epoll_ctl detects an invalid epfd");
113 int epfd; local
116 RL(epfd = epoll_create1(0));
119 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, -1, &event), -1,
133 int epfd, fd; local
136 RL(epfd = epoll_create1(0));
140 RL(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event));
142 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event), -1,
156 int epfd, fd; local
159 RL(epfd = epoll_create1(0))
181 int epfd; local
219 int epfd, tmp; local
    [all...]
  /src/sys/kern/
sys_epoll.c 68 int epfd; member in struct:epoll_edge
117 epoll_to_kevent(int epfd, int fd, struct epoll_event *l_event,
137 kevent->kext_epfd = epfd;
145 kevent->kext_epfd = epfd;
252 epoll_ctl_common(struct lwp *l, register_t *retval, int epfd, int op, int fd,
267 * Need to validate epfd and fd separately from kevent1 to match
270 epfp = fd_getfile(epfd);
275 fd_putfile(epfd);
300 if (epfd == fd) {
305 error = epoll_to_kevent(epfd, fd, event, kev, &nchanges)
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/linux/
epoll.d 182 * epfd = an epoll file descriptor instance
190 int epoll_ctl (int epfd, int op, int fd, epoll_event *event);
198 * epfd = an epoll file descriptor instance
208 int epoll_wait (int epfd, epoll_event *events, int maxevents, int timeout);
215 * epfd = an epoll file descriptor instance
227 int epoll_pwait (int epfd, epoll_event *events, int maxevents, int timeout,
  /src/sys/compat/netbsd32/
netbsd32_epoll.c 63 syscallarg(int) epfd;
83 return epoll_ctl_common(l, retval, SCARG(uap, epfd), SCARG(uap, op),
92 syscallarg(int) epfd;
130 error = epoll_wait_common(l, retval, SCARG(uap, epfd), events,
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_interceptors.cc 1816 TSAN_INTERCEPTOR(int, epoll_ctl, int epfd, int op, int fd, void *ev) {
1817 SCOPED_TSAN_INTERCEPTOR(epoll_ctl, epfd, op, fd, ev);
1818 if (epfd >= 0)
1819 FdAccess(thr, pc, epfd);
1820 if (epfd >= 0 && fd >= 0)
1822 if (op == EPOLL_CTL_ADD && epfd >= 0)
1823 FdRelease(thr, pc, epfd);
1824 int res = REAL(epoll_ctl)(epfd, op, fd, ev);
1828 TSAN_INTERCEPTOR(int, epoll_wait, int epfd, void *ev, int cnt, int timeout) {
1829 SCOPED_TSAN_INTERCEPTOR(epoll_wait, epfd, ev, cnt, timeout)
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
tsan_interceptors_posix.cpp 1882 TSAN_INTERCEPTOR(int, epoll_ctl, int epfd, int op, int fd, void *ev) {
1883 SCOPED_TSAN_INTERCEPTOR(epoll_ctl, epfd, op, fd, ev);
1884 if (epfd >= 0)
1885 FdAccess(thr, pc, epfd);
1886 if (epfd >= 0 && fd >= 0)
1888 if (op == EPOLL_CTL_ADD && epfd >= 0)
1889 FdRelease(thr, pc, epfd);
1890 int res = REAL(epoll_ctl)(epfd, op, fd, ev);
1894 TSAN_INTERCEPTOR(int, epoll_wait, int epfd, void *ev, int cnt, int timeout) {
1895 SCOPED_TSAN_INTERCEPTOR(epoll_wait, epfd, ev, cnt, timeout)
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/
linux_syscall_hooks.h 1205 #define __sanitizer_syscall_pre_epoll_ctl(epfd, op, fd, event) \
1206 __sanitizer_syscall_pre_impl_epoll_ctl((long)(epfd), (long)(op), (long)(fd), \
1208 #define __sanitizer_syscall_post_epoll_ctl(res, epfd, op, fd, event) \
1209 __sanitizer_syscall_post_impl_epoll_ctl(res, (long)(epfd), (long)(op), \
1211 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \
1212 __sanitizer_syscall_pre_impl_epoll_wait((long)(epfd), (long)(events), \
1214 #define __sanitizer_syscall_post_epoll_wait(res, epfd, events, maxevents, \
1216 __sanitizer_syscall_post_impl_epoll_wait(res, (long)(epfd), (long)(events), \
1218 #define __sanitizer_syscall_pre_epoll_pwait(epfd, events, maxevents, timeout, \
1221 (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout),
    [all...]
  /src/sys/compat/linux/common/
linux_misc.c 1826 syscallarg(int) epfd;
1853 return epoll_ctl_common(l, retval, SCARG(uap, epfd), SCARG(uap, op),
1866 syscallarg(int) epfd;
1873 SCARG(&ea, epfd) = SCARG(uap, epfd);
1888 linux_epoll_pwait2_common(struct lwp *l, register_t *retval, int epfd,
1920 error = epoll_wait_common(l, retval, epfd, eep, maxevents, tsp,
1947 syscallarg(int) epfd;
1965 return linux_epoll_pwait2_common(l, retval, SCARG(uap, epfd),
1979 syscallarg(int) epfd;
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
linux_syscall_hooks.h 1207 #define __sanitizer_syscall_pre_epoll_ctl(epfd, op, fd, event) \
1208 __sanitizer_syscall_pre_impl_epoll_ctl((long)(epfd), (long)(op), (long)(fd), \
1210 #define __sanitizer_syscall_post_epoll_ctl(res, epfd, op, fd, event) \
1211 __sanitizer_syscall_post_impl_epoll_ctl(res, (long)(epfd), (long)(op), \
1213 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \
1214 __sanitizer_syscall_pre_impl_epoll_wait((long)(epfd), (long)(events), \
1216 #define __sanitizer_syscall_post_epoll_wait(res, epfd, events, maxevents, \
1218 __sanitizer_syscall_post_impl_epoll_wait(res, (long)(epfd), (long)(events), \
1220 #define __sanitizer_syscall_pre_epoll_pwait(epfd, events, maxevents, timeout, \
1223 (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout),
    [all...]
  /src/sys/compat/linux/arch/aarch64/
linux_syscallargs.h 141 syscallarg(int) epfd; member in struct:linux_sys_epoll_ctl_args
149 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait_args
1167 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait2_args
linux_systrace_args.c 155 iarg[0] = SCARG(p, epfd); /* int */
165 iarg[0] = SCARG(p, epfd); /* int */
1882 iarg[0] = SCARG(p, epfd); /* int */
  /src/sys/compat/linux/arch/alpha/
linux_syscallargs.h 964 syscallarg(int) epfd; member in struct:linux_sys_epoll_ctl_args
972 syscallarg(int) epfd; member in struct:linux_sys_epoll_wait_args
1251 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait_args
1435 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait2_args
  /src/sys/compat/linux/arch/amd64/
linux_syscallargs.h 942 syscallarg(int) epfd; member in struct:linux_sys_epoll_wait_args
950 syscallarg(int) epfd; member in struct:linux_sys_epoll_ctl_args
1142 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait_args
1333 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait2_args
  /src/sys/compat/linux/arch/arm/
linux_syscallargs.h 930 syscallarg(int) epfd; member in struct:linux_sys_epoll_ctl_args
938 syscallarg(int) epfd; member in struct:linux_sys_epoll_wait_args
1215 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait_args
1411 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait2_args
  /src/sys/compat/linux/arch/i386/
linux_syscallargs.h 977 syscallarg(int) epfd; member in struct:linux_sys_epoll_ctl_args
985 syscallarg(int) epfd; member in struct:linux_sys_epoll_wait_args
1254 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait_args
1421 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait2_args
  /src/sys/compat/linux/arch/m68k/
linux_syscallargs.h 924 syscallarg(int) epfd; member in struct:linux_sys_epoll_ctl_args
932 syscallarg(int) epfd; member in struct:linux_sys_epoll_wait_args
1206 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait_args
1392 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait2_args
  /src/sys/compat/linux/arch/mips/
linux_syscallargs.h 971 syscallarg(int) epfd; member in struct:linux_sys_epoll_ctl_args
979 syscallarg(int) epfd; member in struct:linux_sys_epoll_wait_args
1253 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait_args
1437 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait2_args
  /src/sys/compat/linux/arch/powerpc/
linux_syscallargs.h 868 syscallarg(int) epfd; member in struct:linux_sys_epoll_ctl_args
876 syscallarg(int) epfd; member in struct:linux_sys_epoll_wait_args
1132 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait_args
1326 syscallarg(int) epfd; member in struct:linux_sys_epoll_pwait2_args
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_interceptors.cc 856 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents,
859 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout);
871 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents,
874 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask);

Completed in 71 milliseconds

1 2