| /netbsd/src/sys/compat/netbsd32/ |
| 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()
|
| D | netbsd32_syscallargs.h | 2824 syscallarg(int) maxevents;
|
| D | netbsd32_systrace_args.c | 3749 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args()
|
| /netbsd/src/lib/libc/sys/ |
| 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/ |
| 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,
|
| D | syscallargs.h | 3398 syscallarg(int) maxevents;
|
| /netbsd/src/sys/kern/ |
| 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()
|
| 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()
|
| D | systrace_args.c | 3932 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args()
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/ |
| 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/ |
| 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/sys/compat/linux/common/ |
| D | linux_misc.c | 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() 1966 SCARG(uap, events), SCARG(uap, maxevents), ltsp, in linux_sys_epoll_pwait() 1998 SCARG(uap, events), SCARG(uap, maxevents), ltsp, in linux_sys_epoll_pwait2()
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | linux-record.c | 1784 ULONGEST maxevents; in record_linux_system_call() local 1786 regcache_raw_read_unsigned (regcache, tdep->arg3, &maxevents); in record_linux_system_call() 1788 (maxevents in record_linux_system_call() 2032 ULONGEST maxevents; in record_linux_system_call() local 2034 regcache_raw_read_unsigned (regcache, tdep->arg3, &maxevents); in record_linux_system_call() 2035 tmpint = (int) maxevents * tdep->size_epoll_event; in record_linux_system_call()
|
| /netbsd/src/sys/compat/linux/arch/amd64/ |
| D | linux_syscallargs.h | 931 syscallarg(int) maxevents; 1131 syscallarg(int) maxevents; 1322 syscallarg(int) maxevents;
|
| 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_args()
|
| /netbsd/src/sys/compat/linux/arch/powerpc/ |
| D | linux_syscallargs.h | 873 syscallarg(int) maxevents; 1129 syscallarg(int) maxevents; 1323 syscallarg(int) maxevents;
|
| /netbsd/src/sys/compat/linux/arch/i386/ |
| D | linux_syscallargs.h | 982 syscallarg(int) maxevents; 1251 syscallarg(int) maxevents; 1418 syscallarg(int) maxevents;
|
| D | linux_systrace_args.c | 1687 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args() 2088 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args() 2308 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args()
|
| /netbsd/src/sys/compat/linux/arch/m68k/ |
| D | linux_syscallargs.h | 929 syscallarg(int) maxevents; 1203 syscallarg(int) maxevents; 1389 syscallarg(int) maxevents;
|
| /netbsd/src/sys/compat/linux/arch/arm/ |
| D | linux_syscallargs.h | 935 syscallarg(int) maxevents; 1204 syscallarg(int) maxevents; 1400 syscallarg(int) maxevents;
|
| D | linux_systrace_args.c | 1624 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args() 2025 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args() 2280 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args()
|
| /netbsd/src/sys/compat/linux/arch/alpha/ |
| D | linux_syscallargs.h | 969 syscallarg(int) maxevents; 1240 syscallarg(int) maxevents; 1424 syscallarg(int) maxevents;
|
| /netbsd/src/sys/compat/linux/arch/mips/ |
| D | linux_syscallargs.h | 976 syscallarg(int) maxevents; 1250 syscallarg(int) maxevents; 1434 syscallarg(int) maxevents;
|