/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; 3396 syscallarg(int) epfd;
|
/src/tests/kernel/ |
t_epoll.c | 89 "Checks that epoll_ctl detects an invalid epfd"); 113 int epfd; local in function:ATF_TC_BODY 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 in function:ATF_TC_BODY 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 in function:ATF_TC_BODY 159 RL(epfd = epoll_create1(0)) 181 int epfd; local in function:ATF_TC_BODY 219 int epfd, tmp; local in function:ATF_TC_BODY [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; 2822 syscallarg(int) epfd;
|
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; 149 syscallarg(int) epfd; 1154 syscallarg(int) epfd;
|
linux_systrace_args.c | 155 iarg[0] = SCARG(p, epfd); /* int */ 165 iarg[0] = SCARG(p, epfd); /* int */ 1864 iarg[0] = SCARG(p, epfd); /* int */
|
/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);
|
/src/sys/compat/linux/arch/alpha/ |
linux_syscallargs.h | 959 syscallarg(int) epfd; 967 syscallarg(int) epfd; 1238 syscallarg(int) epfd; 1422 syscallarg(int) epfd;
|
/src/sys/compat/linux/arch/amd64/ |
linux_syscallargs.h | 929 syscallarg(int) epfd; 937 syscallarg(int) epfd; 1129 syscallarg(int) epfd; 1320 syscallarg(int) epfd;
|
linux_systrace_args.c | 1623 iarg[0] = SCARG(p, epfd); /* int */ 1633 iarg[0] = SCARG(p, epfd); /* int */ 1925 iarg[0] = SCARG(p, epfd); /* int */ 2175 iarg[0] = SCARG(p, epfd); /* int */
|
/src/sys/compat/linux/arch/arm/ |
linux_syscallargs.h | 925 syscallarg(int) epfd; 933 syscallarg(int) epfd; 1202 syscallarg(int) epfd; 1398 syscallarg(int) epfd;
|
linux_systrace_args.c | 1612 iarg[0] = SCARG(p, epfd); /* int */ 1622 iarg[0] = SCARG(p, epfd); /* int */ 2023 iarg[0] = SCARG(p, epfd); /* int */ 2278 iarg[0] = SCARG(p, epfd); /* int */
|
/src/sys/compat/linux/arch/i386/ |
linux_syscallargs.h | 972 syscallarg(int) epfd; 980 syscallarg(int) epfd; 1249 syscallarg(int) epfd; 1416 syscallarg(int) epfd;
|
linux_systrace_args.c | 1675 iarg[0] = SCARG(p, epfd); /* int */ 1685 iarg[0] = SCARG(p, epfd); /* int */ 2086 iarg[0] = SCARG(p, epfd); /* int */ 2306 iarg[0] = SCARG(p, epfd); /* int */
|
/src/sys/compat/linux/arch/m68k/ |
linux_syscallargs.h | 919 syscallarg(int) epfd; 927 syscallarg(int) epfd; 1201 syscallarg(int) epfd; 1387 syscallarg(int) epfd;
|
/src/sys/compat/linux/arch/mips/ |
linux_syscallargs.h | 966 syscallarg(int) epfd; 974 syscallarg(int) epfd; 1248 syscallarg(int) epfd; 1432 syscallarg(int) epfd;
|
/src/sys/compat/linux/arch/powerpc/ |
linux_syscallargs.h | 863 syscallarg(int) epfd; 871 syscallarg(int) epfd; 1127 syscallarg(int) epfd; 1321 syscallarg(int) epfd;
|