Home
last modified time | relevance | path

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

12

/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_epoll.c102 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 Depoll.c50 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 Depoll.h85 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 Dsys_epoll.c382 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 Dkern_event.c2268 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 Depoll_sub.c61 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 Depoll_sub.c60 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 Dos390-syscalls.c283 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 Dos390-syscalls.h57 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 Depoll.d208 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 Dlinux_misc.c1868 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 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 …]
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/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), \
2690 long maxevents, long timeout);
2692 long maxevents, long timeout);
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
H A Dlinux_syscall_hooks.h1213 #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 Dmsan_interceptors.cc856 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 Dlinux_syscallargs.h929 syscallarg(int) maxevents;
1203 syscallarg(int) maxevents;
1389 syscallarg(int) maxevents;
/netbsd-src/sys/compat/linux/arch/amd64/
H A Dlinux_syscallargs.h931 syscallarg(int) maxevents;
1131 syscallarg(int) maxevents;
1322 syscallarg(int) maxevents;
H A Dlinux_systrace_args.c1625 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 Dlinux_syscallargs.h873 syscallarg(int) maxevents;
1129 syscallarg(int) maxevents;
1323 syscallarg(int) maxevents;
/netbsd-src/sys/compat/linux/arch/i386/
H A Dlinux_syscallargs.h982 syscallarg(int) maxevents;
1251 syscallarg(int) maxevents;
1418 syscallarg(int) maxevents;
/netbsd-src/sys/compat/linux/arch/mips/
H A Dlinux_syscallargs.h976 syscallarg(int) maxevents;
1250 syscallarg(int) maxevents;
1434 syscallarg(int) maxevents;
/netbsd-src/sys/compat/linux/arch/arm/
H A Dlinux_syscallargs.h935 syscallarg(int) maxevents;
1204 syscallarg(int) maxevents;
1400 syscallarg(int) maxevents;
/netbsd-src/sys/compat/linux/arch/alpha/
H A Dlinux_syscallargs.h969 syscallarg(int) maxevents;
1240 syscallarg(int) maxevents;
1424 syscallarg(int) maxevents;
/netbsd-src/sys/compat/linux/arch/aarch64/
H A Dlinux_syscallargs.h151 syscallarg(int) maxevents;
1156 syscallarg(int) maxevents;
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2104 (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,

12