| /netbsd-src/sys/compat/netbsd32/ |
| H A D | netbsd32_epoll.c | 102 const int maxevents = SCARG(uap, maxevents); in netbsd32_epoll_pwait2() local 104 if (maxevents <= 0 || maxevents >= EPOLL_MAX_EVENTS) in netbsd32_epoll_pwait2() 128 events = kmem_alloc(maxevents * sizeof(*events), KM_SLEEP); in netbsd32_epoll_pwait2() 131 maxevents, tsp, ssp); in netbsd32_epoll_pwait2() 147 kmem_free(events, maxevents * sizeof(*events)); in netbsd32_epoll_pwait2()
|
| /netbsd-src/lib/libc/sys/ |
| H A D | epoll.c | 50 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument 52 return epoll_pwait(epfd, events, maxevents, timeout, NULL); in epoll_wait() 56 epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, in epoll_pwait() argument 68 return epoll_pwait2(epfd, events, maxevents, tsp, sigmask); in epoll_pwait()
|
| /netbsd-src/sys/sys/ |
| H A D | epoll.h | 85 struct epoll_event *events, int maxevents, struct timespec *tsp, 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,
|
| /netbsd-src/sys/kern/ |
| H A D | sys_epoll.c | 382 struct epoll_event *events, int maxevents, struct timespec *tsp, in epoll_wait_common() argument 396 if (maxevents <= 0 || maxevents > EPOLL_MAX_EVENTS) in epoll_wait_common() 421 maxevents, tsp, &k_ops); in epoll_wait_common() 455 const int maxevents = SCARG(uap, maxevents); in sys_epoll_pwait2() local 457 if (maxevents <= 0 || maxevents >= EPOLL_MAX_EVENTS) in sys_epoll_pwait2() 478 events = kmem_alloc(maxevents * sizeof(*events), KM_SLEEP); in sys_epoll_pwait2() 481 maxevents, tsp, ssp); in sys_epoll_pwait2() 486 kmem_free(events, maxevents * sizeof(*events)); in sys_epoll_pwait2()
|
| H A D | kern_event.c | 2268 kqueue_scan(file_t *fp, size_t maxevents, struct kevent *ulistp, in kqueue_scan() argument 2284 count = maxevents; in kqueue_scan() 2294 *retval = maxevents; in kqueue_scan() 2393 if (count == maxevents) { in kqueue_scan() 2526 *retval = maxevents - count; in kqueue_scan()
|
| /netbsd-src/external/bsd/ntp/dist/sntp/libevent/ |
| H A D | epoll_sub.c | 61 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument 64 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0)); in epoll_wait() 66 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | epoll_sub.c | 60 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument 63 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0)); in epoll_wait() 65 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
|
| /netbsd-src/external/mit/libuv/dist/src/unix/ |
| H A D | os390-syscalls.c | 283 int maxevents, int timeout) { in epoll_wait() argument 304 if (maxevents <= 0 || maxevents > EP_MAX_EVENTS) { in epoll_wait() 322 maxevents = maxevents - pollmsgret; /* allow spot for message queue */ in epoll_wait() 325 nevents < maxevents && in epoll_wait()
|
| H A D | os390-syscalls.h | 57 int epoll_wait(uv__os390_epoll* ep, struct epoll_event *events, int maxevents, int timeout);
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/ |
| H A D | epoll.d | 208 int epoll_wait (int epfd, epoll_event *events, int maxevents, int timeout); 227 int epoll_pwait (int epfd, epoll_event *events, int maxevents, int timeout,
|
| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_misc.c | 1868 syscallarg(int) maxevents; in linux_sys_epoll_wait() 1875 SCARG(&ea, maxevents) = SCARG(uap, maxevents); in linux_sys_epoll_wait() 1889 struct linux_epoll_event *events, int maxevents, in linux_epoll_pwait2_common() argument 1899 if (maxevents <= 0 || maxevents > EPOLL_MAX_EVENTS) in linux_epoll_pwait2_common() 1918 eep = kmem_alloc(maxevents * sizeof(*eep), KM_SLEEP); in linux_epoll_pwait2_common() 1920 error = epoll_wait_common(l, retval, epfd, eep, maxevents, tsp, in linux_epoll_pwait2_common() 1935 kmem_free(eep, maxevents * sizeof(*eep)); in linux_epoll_pwait2_common() 1949 syscallarg(int) maxevents; in linux_sys_epoll_pwait() [all...] |
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/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 …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/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), \ 2690 long maxevents, long timeout); 2692 long maxevents, long timeout); [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 1213 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \ argument 1215 (long)(maxevents), (long)(timeout)) 1216 #define __sanitizer_syscall_post_epoll_wait(res, epfd, events, maxevents, \ argument 1219 (long)(maxevents), (long)(timeout)) 1220 #define __sanitizer_syscall_pre_epoll_pwait(epfd, events, maxevents, timeout, \ argument 1223 (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \ 1225 #define __sanitizer_syscall_post_epoll_pwait(res, epfd, events, maxevents, \ argument 1228 res, (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \ 2692 long maxevents, long timeout); 2694 long maxevents, long timeout); [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
| H A D | msan_interceptors.cc | 856 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument 859 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout); in INTERCEPTOR() 871 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument 874 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
|
| /netbsd-src/sys/compat/linux/arch/m68k/ |
| H A D | linux_syscallargs.h | 929 syscallarg(int) maxevents; 1203 syscallarg(int) maxevents; 1389 syscallarg(int) maxevents;
|
| /netbsd-src/sys/compat/linux/arch/amd64/ |
| H A D | linux_syscallargs.h | 931 syscallarg(int) maxevents; 1131 syscallarg(int) maxevents; 1322 syscallarg(int) maxevents;
|
| H A D | linux_systrace_args.c | 1625 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args() 1927 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args() 2177 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_entry_setargdesc()
|
| /netbsd-src/sys/compat/linux/arch/powerpc/ |
| H A D | linux_syscallargs.h | 873 syscallarg(int) maxevents; 1129 syscallarg(int) maxevents; 1323 syscallarg(int) maxevents;
|
| /netbsd-src/sys/compat/linux/arch/i386/ |
| H A D | linux_syscallargs.h | 982 syscallarg(int) maxevents; 1251 syscallarg(int) maxevents; 1418 syscallarg(int) maxevents;
|
| /netbsd-src/sys/compat/linux/arch/mips/ |
| H A D | linux_syscallargs.h | 976 syscallarg(int) maxevents; 1250 syscallarg(int) maxevents; 1434 syscallarg(int) maxevents;
|
| /netbsd-src/sys/compat/linux/arch/arm/ |
| H A D | linux_syscallargs.h | 935 syscallarg(int) maxevents; 1204 syscallarg(int) maxevents; 1400 syscallarg(int) maxevents;
|
| /netbsd-src/sys/compat/linux/arch/alpha/ |
| H A D | linux_syscallargs.h | 969 syscallarg(int) maxevents; 1240 syscallarg(int) maxevents; 1424 syscallarg(int) maxevents;
|
| /netbsd-src/sys/compat/linux/arch/aarch64/ |
| H A D | linux_syscallargs.h | 151 syscallarg(int) maxevents; 1156 syscallarg(int) maxevents;
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 2104 (long epfd, void *events, long maxevents, long timeout) {} 2107 (long res, long epfd, void *events, long maxevents, long timeout) { 2115 (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, 2141 (long res, long epfd, void *events, long maxevents,
|