Home
last modified time | relevance | path

Searched refs:maxevents (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Depoll_sub.c59 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 Depoll_sub.c59 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 Dlinux_event.c371 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 Dlinux_syscall_hooks.h1211 #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 Dkern_event.c117 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 Dmsan_interceptors.cpp970 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 Ddfsan_custom.cpp1443 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 Dsanitizer_common_syscalls.inc2119 (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 Dlinux_systrace_args.c1763 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 Dlinux_systrace_args.c1811 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 Dlinux32_systrace_args.c1774 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 Dlinux_systrace_args.c172 iarg[a++] = p->maxevents; /* l_int */ in systrace_args()
2364 iarg[a++] = p->maxevents; /* l_int */ in systrace_args()