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

  /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,
syscallargs.h 3386 syscallarg(int) epfd; member in struct:sys_epoll_ctl_args
3396 syscallarg(int) epfd; member in struct:sys_epoll_pwait2_args
  /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...]
systrace_args.c 3920 iarg[0] = SCARG(p, epfd); /* int */
3930 iarg[0] = SCARG(p, epfd); /* int */
  /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,
netbsd32_syscallargs.h 2814 syscallarg(int) epfd; member in struct:netbsd32_epoll_ctl_args
2822 syscallarg(int) epfd; member in struct:netbsd32_epoll_pwait2_args
netbsd32_systrace_args.c 3737 iarg[0] = SCARG(p, epfd); /* int */
3747 iarg[0] = SCARG(p, epfd); /* int */
  /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/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
linux_systrace_args.c 1641 iarg[0] = SCARG(p, epfd); /* int */
1651 iarg[0] = SCARG(p, epfd); /* int */
1943 iarg[0] = SCARG(p, epfd); /* int */
2193 iarg[0] = SCARG(p, epfd); /* int */
  /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
linux_systrace_args.c 1620 iarg[0] = SCARG(p, epfd); /* int */
1630 iarg[0] = SCARG(p, epfd); /* int */
2041 iarg[0] = SCARG(p, epfd); /* int */
2296 iarg[0] = SCARG(p, epfd); /* int */
  /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
linux_systrace_args.c 1683 iarg[0] = SCARG(p, epfd); /* int */
1693 iarg[0] = SCARG(p, epfd); /* int */
2094 iarg[0] = SCARG(p, epfd); /* int */
2314 iarg[0] = SCARG(p, epfd); /* int */
  /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 104 milliseconds