/freebsd/contrib/ntp/sntp/libevent/ |
H A D | epoll_sub.c | 59 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument 62 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0)); in epoll_wait() 64 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
|
/freebsd/contrib/libevent/ |
H A D | epoll_sub.c | 59 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument 62 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0)); in epoll_wait() 64 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
|
/freebsd/sys/compat/linux/ |
H A D | linux_event.c | 371 int maxevents, struct timespec *tsp, sigset_t *uset) in linux_epoll_wait_ts() argument 382 if (maxevents <= 0 || maxevents > LINUX_MAX_EVENTS) in linux_epoll_wait_ts() 412 error = kern_kevent_fp(td, epfp, 0, maxevents, &k_ops, tsp); in linux_epoll_wait_ts() 433 int maxevents, int timeout, sigset_t *uset) in linux_epoll_wait_common() argument 450 return (linux_epoll_wait_ts(td, epfd, events, maxevents, tsp, uset)); in linux_epoll_wait_common() 460 args->maxevents, args->timeout, NULL)); in linux_epoll_wait() 476 args->maxevents, args->timeout, pmask)); in linux_epoll_pwait() 501 args->maxevents, tsa, pmask)); in linux_epoll_pwait2_64() 525 args->maxevents, tsa, pmask)); in linux_epoll_pwait2()
|
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 1211 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \ argument 1213 (long)(maxevents), (long)(timeout)) 1214 #define __sanitizer_syscall_post_epoll_wait(res, epfd, events, maxevents, \ argument 1217 (long)(maxevents), (long)(timeout)) 1218 #define __sanitizer_syscall_pre_epoll_pwait(epfd, events, maxevents, timeout, \ argument 1221 (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \ 1223 #define __sanitizer_syscall_post_epoll_pwait(res, epfd, events, maxevents, \ argument 1226 res, (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \ 1228 #define __sanitizer_syscall_pre_epoll_pwait2(epfd, events, maxevents, timeout, \ argument 1231 (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \ [all …]
|
/freebsd/sys/kern/ |
H A D | kern_event.c | 117 static int kqueue_scan(struct kqueue *kq, int maxevents, 1921 kqueue_scan(struct kqueue *kq, int maxevents, struct kevent_copyops *k_ops, in kqueue_scan() argument 1930 count = maxevents; in kqueue_scan() 1935 if (maxevents == 0) in kqueue_scan() 1937 if (maxevents < 0) { in kqueue_scan() 2014 if (count == maxevents) in kqueue_scan() 2119 td->td_retval[0] = maxevents - count; in kqueue_scan()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 970 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument 973 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout); in INTERCEPTOR() 985 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument 988 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cpp | 1443 int __dfsw_epoll_wait(int epfd, struct epoll_event *events, int maxevents, in __dfsw_epoll_wait() argument 1447 int ret = epoll_wait(epfd, events, maxevents, timeout); in __dfsw_epoll_wait() 1455 int __dfso_epoll_wait(int epfd, struct epoll_event *events, int maxevents, in __dfso_epoll_wait() argument 1462 return __dfsw_epoll_wait(epfd, events, maxevents, timeout, epfd_label, in __dfso_epoll_wait()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 2119 (long epfd, void *events, long maxevents, long timeout) {} 2122 (long res, long epfd, void *events, long maxevents, long timeout) { 2131 (long epfd, void *events, long maxevents, long timeout, 2138 (long res, long epfd, void *events, long maxevents, long timeout, 2148 (long epfd, void *events, long maxevents, 2158 (long res, long epfd, void *events, long maxevents,
|
/freebsd/sys/amd64/linux/ |
H A D | linux_systrace_args.c | 1763 iarg[a++] = p->maxevents; /* l_int */ in systrace_args() 2157 iarg[a++] = p->maxevents; /* l_int */ in systrace_args() 2742 iarg[a++] = p->maxevents; /* l_int */ in systrace_args()
|
/freebsd/sys/i386/linux/ |
H A D | linux_systrace_args.c | 1811 iarg[a++] = p->maxevents; /* l_int */ in systrace_args() 2309 iarg[a++] = p->maxevents; /* l_int */ in systrace_args() 3287 iarg[a++] = p->maxevents; /* l_int */ in systrace_args()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_systrace_args.c | 1774 iarg[a++] = p->maxevents; /* l_int */ in systrace_args() 2276 iarg[a++] = p->maxevents; /* l_int */ in systrace_args() 3256 iarg[a++] = p->maxevents; /* l_int */ in systrace_args()
|
/freebsd/sys/arm64/linux/ |
H A D | linux_systrace_args.c | 172 iarg[a++] = p->maxevents; /* l_int */ in systrace_args() 2364 iarg[a++] = p->maxevents; /* l_int */ in systrace_args()
|