Home
last modified time | relevance | path

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

/netbsd/src/sys/compat/netbsd32/
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()
Dnetbsd32_syscallargs.h2824 syscallarg(int) maxevents;
Dnetbsd32_systrace_args.c3749 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args()
/netbsd/src/lib/libc/sys/
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/
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,
Dsyscallargs.h3398 syscallarg(int) maxevents;
/netbsd/src/sys/kern/
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()
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()
Dsystrace_args.c3932 iarg[2] = SCARG(p, maxevents); /* int */ in systrace_args()
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/
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/
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/sys/compat/linux/common/
Dlinux_misc.c1875 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/
Dlinux-record.c1784 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/
Dlinux_syscallargs.h931 syscallarg(int) maxevents;
1131 syscallarg(int) maxevents;
1322 syscallarg(int) maxevents;
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_args()
/netbsd/src/sys/compat/linux/arch/powerpc/
Dlinux_syscallargs.h873 syscallarg(int) maxevents;
1129 syscallarg(int) maxevents;
1323 syscallarg(int) maxevents;
/netbsd/src/sys/compat/linux/arch/i386/
Dlinux_syscallargs.h982 syscallarg(int) maxevents;
1251 syscallarg(int) maxevents;
1418 syscallarg(int) maxevents;
Dlinux_systrace_args.c1687 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/
Dlinux_syscallargs.h929 syscallarg(int) maxevents;
1203 syscallarg(int) maxevents;
1389 syscallarg(int) maxevents;
/netbsd/src/sys/compat/linux/arch/arm/
Dlinux_syscallargs.h935 syscallarg(int) maxevents;
1204 syscallarg(int) maxevents;
1400 syscallarg(int) maxevents;
Dlinux_systrace_args.c1624 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/
Dlinux_syscallargs.h969 syscallarg(int) maxevents;
1240 syscallarg(int) maxevents;
1424 syscallarg(int) maxevents;
/netbsd/src/sys/compat/linux/arch/mips/
Dlinux_syscallargs.h976 syscallarg(int) maxevents;
1250 syscallarg(int) maxevents;
1434 syscallarg(int) maxevents;