Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/epoll2/src/
Depoll.c21 #define __sys_epoll_wait(epfd, pevents, maxevents, timeout) _syscall4(int, epoll_wait, \ argument
22 int, epfd, struct epoll_event *, pevents, int, maxevents, int, timeout)
28 __sys_epoll_wait(epfd, pevents, maxevents, timeout)
/external/libevent/
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()
/external/ltp/android/include/
Dlibaio.h68 static inline int libaio_setup(int maxevents, io_context_t *ctxp) { in libaio_setup() argument
69 int ret = io_setup(maxevents, ctxp); in libaio_setup()
98 static inline int io_queue_init(int maxevents, io_context_t *ctxp) { in io_queue_init() argument
100 return libaio_setup(maxevents, ctxp); in io_queue_init()
/external/ltp/testcases/kernel/syscalls/epoll2/man/
Depoll_wait.txt11 int epoll_wait(int epfd, struct epoll_event * events, int maxevents,
17 the events that will be available for the caller. Up to maxevents are
18 returned by epoll_wait(2). The maxevents parameter must be greater
52 descriptor, or the maxevents parameter is less than or equal to
Depoll.txt90 nfds = epoll_wait(kdpfd, events, maxevents, -1);
/external/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait.h28 int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, in epoll_pwait() argument
31 return ltp_syscall(__NR_epoll_pwait, epfd, events, maxevents, in epoll_pwait()
/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait03.c57 int maxevents; member
127 TEST(epoll_wait(*(tc->epfd), *(tc->ev), tc->maxevents, -1)); in verify_epoll_wait()
/external/python/cpython2/Modules/
Dselectmodule.c1001 int maxevents = -1; in pyepoll_poll() local
1011 &dtimeout, &maxevents)) { in pyepoll_poll()
1027 if (maxevents == -1) { in pyepoll_poll()
1028 maxevents = FD_SETSIZE-1; in pyepoll_poll()
1030 else if (maxevents < 1) { in pyepoll_poll()
1033 maxevents); in pyepoll_poll()
1037 evs = PyMem_New(struct epoll_event, maxevents); in pyepoll_poll()
1045 nfds = epoll_wait(self->epfd, evs, maxevents, timeout); in pyepoll_poll()
/external/python/cpython3/Modules/
Dselectmodule.c1503 int maxevents = -1; in pyepoll_poll() local
1513 &timeout_obj, &maxevents)) { in pyepoll_poll()
1543 if (maxevents == -1) { in pyepoll_poll()
1544 maxevents = FD_SETSIZE-1; in pyepoll_poll()
1546 else if (maxevents < 1) { in pyepoll_poll()
1549 maxevents); in pyepoll_poll()
1553 evs = PyMem_New(struct epoll_event, maxevents); in pyepoll_poll()
1562 nfds = epoll_wait(self->epfd, evs, maxevents, (int)ms); in pyepoll_poll()
/external/compiler-rt/include/sanitizer/
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 …]
/external/python/cpython2/Lib/test/
Dtest_epoll.py168 events = ep.poll(timeout=2.1, maxevents=4)
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc879 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument
882 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout); in INTERCEPTOR()
894 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument
897 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
/external/python/cpython3/Lib/test/
Dtest_epoll.py186 events = ep.poll(timeout=2.1, maxevents=4)
/external/python/cpython2/Doc/library/
Dselect.rst188 .. method:: epoll.poll([timeout=-1[, maxevents=-1]])
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc1944 PRE_SYSCALL(epoll_wait)(long epfd, void *events, long maxevents, long timeout) {
1947 POST_SYSCALL(epoll_wait)(long res, long epfd, void *events, long maxevents,
1954 PRE_SYSCALL(epoll_pwait)(long epfd, void *events, long maxevents, long timeout,
1959 POST_SYSCALL(epoll_pwait)(long res, long epfd, void *events, long maxevents,
/external/python/cpython3/Doc/library/
Dselect.rst359 .. method:: epoll.poll(timeout=-1, maxevents=-1)
/external/syzkaller/sys/linux/
Dsys.txt109 epoll_wait(epfd fd_epoll, events ptr[out, array[epoll_event]], maxevents len[events], timeout int32)
110 epoll_pwait(epfd fd_epoll, events ptr[out, array[epoll_event]], maxevents len[events], timeout int3…
/external/strace/
DChangeLog50038 * desc.c (epoll_wait_common): Print "maxevents" and "timeout" arguments