Searched defs:maxevents (Results 1 - 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/syscalls/epoll_pwait/
H A Depoll_pwait.h28 int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, argument
31 return ltp_syscall(__NR_epoll_pwait, epfd, events, maxevents,
/external/libevent/
H A Depoll_sub.c59 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) argument
62 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0));
64 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout));
/external/ltp/testcases/kernel/syscalls/epoll_wait/
H A Depoll_wait03.c23 * 3) epoll_wait(2) fails if maxevents is less than zero
24 * 4) epoll_wait(2) fails if maxevents is equal to zero
57 int maxevents; member in struct:test_case_t
127 TEST(epoll_wait(*(tc->epfd), *(tc->ev), tc->maxevents, -1));
/external/compiler-rt/lib/msan/
H A Dmsan_interceptors.cc879 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, argument
882 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout);
894 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, argument
897 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask);
/external/python/cpython2/Modules/
H A Dselectmodule.c990 int maxevents = -1; local
994 static char *kwlist[] = {"timeout", "maxevents", NULL};
1000 &dtimeout, &maxevents)) {
1016 if (maxevents == -1) {
1017 maxevents = FD_SETSIZE-1;
1019 else if (maxevents < 1) {
1021 "maxevents must be greater than 0, got %d",
1022 maxevents);
1026 evs = PyMem_New(struct epoll_event, maxevents);
1034 nfds = epoll_wait(self->epfd, evs, maxevents, timeou
[all...]
/external/python/cpython3/Modules/
H A Dselectmodule.c1492 static char *kwlist[] = {"timeout", "maxevents", NULL};
1494 int maxevents = -1; local
1504 &timeout_obj, &maxevents)) {
1534 if (maxevents == -1) {
1535 maxevents = FD_SETSIZE-1;
1537 else if (maxevents < 1) {
1539 "maxevents must be greater than 0, got %d",
1540 maxevents);
1544 evs = PyMem_New(struct epoll_event, maxevents);
1553 nfds = epoll_wait(self->epfd, evs, maxevents, (in
[all...]

Completed in 224 milliseconds