Home
last modified time | relevance | path

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

12

/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/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/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/python/cpython3/Modules/clinic/
Dselectmodule.c.h827 int maxevents);
838 int maxevents = -1; in select_epoll_poll() local
858 maxevents = _PyLong_AsInt(args[1]); in select_epoll_poll()
859 if (maxevents == -1 && PyErr_Occurred()) { in select_epoll_poll()
863 return_value = select_epoll_poll_impl(self, timeout_obj, maxevents); in select_epoll_poll()
1087 int maxevents, PyObject *otimeout);
1094 int maxevents; in select_kqueue_control() local
1106 maxevents = _PyLong_AsInt(args[1]); in select_kqueue_control()
1107 if (maxevents == -1 && PyErr_Occurred()) { in select_kqueue_control()
1115 return_value = select_kqueue_control_impl(self, changelist, maxevents, otimeout); in select_kqueue_control()
/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/cpython3/Modules/
Dselectmodule.c1546 int maxevents) in select_epoll_poll_impl() argument
1590 if (maxevents == -1) { in select_epoll_poll_impl()
1591 maxevents = FD_SETSIZE-1; in select_epoll_poll_impl()
1593 else if (maxevents < 1) { in select_epoll_poll_impl()
1596 maxevents); in select_epoll_poll_impl()
1600 evs = PyMem_New(struct epoll_event, maxevents); in select_epoll_poll_impl()
1609 nfds = epoll_wait(self->epfd, evs, maxevents, (int)ms); in select_epoll_poll_impl()
2119 int maxevents, PyObject *otimeout) in select_kqueue_control_impl() argument
2136 if (maxevents < 0) { in select_kqueue_control_impl()
2139 maxevents); in select_kqueue_control_impl()
[all …]
/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/cpython2/Lib/test/
Dtest_epoll.py168 events = ep.poll(timeout=2.1, maxevents=4)
/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/llvm-project/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1212 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \ argument
1214 (long)(maxevents), (long)(timeout))
1215 #define __sanitizer_syscall_post_epoll_wait(res, epfd, events, maxevents, \ argument
1218 (long)(maxevents), (long)(timeout))
1219 #define __sanitizer_syscall_pre_epoll_pwait(epfd, events, maxevents, timeout, \ argument
1222 (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \
1224 #define __sanitizer_syscall_post_epoll_pwait(res, epfd, events, maxevents, \ argument
1227 res, (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \
2693 long maxevents, long timeout);
2695 long maxevents, long timeout);
[all …]
/external/python/cpython3/Lib/test/
Dtest_epoll.py183 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/llvm-project/compiler-rt/lib/msan/
Dmsan_interceptors.cpp840 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument
843 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout); in INTERCEPTOR()
855 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument
858 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/dfsan/
Ddfsan_custom.cpp719 int __dfsw_epoll_wait(int epfd, struct epoll_event *events, int maxevents, in __dfsw_epoll_wait() argument
723 int ret = epoll_wait(epfd, events, maxevents, timeout); in __dfsw_epoll_wait()
/external/python/cpython2/Doc/library/
Dselect.rst188 .. method:: epoll.poll([timeout=-1[, maxevents=-1]])
/external/rust/crates/libc/src/unix/redox/
Dmod.rs987 maxevents: ::c_int, in epoll_wait()
/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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc1943 PRE_SYSCALL(epoll_wait)(long epfd, void *events, long maxevents, long timeout) {
1946 POST_SYSCALL(epoll_wait)(long res, long epfd, void *events, long maxevents,
1953 PRE_SYSCALL(epoll_pwait)(long epfd, void *events, long maxevents, long timeout,
1958 POST_SYSCALL(epoll_pwait)(long res, long epfd, void *events, long maxevents,
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs2460 maxevents: ::c_int, in epoll_pwait()
2470 maxevents: ::c_int, in epoll_wait()
/external/python/cpython3/Doc/library/
Dselect.rst362 .. method:: epoll.poll(timeout=None, maxevents=-1)
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3179 maxevents: ::c_int, in epoll_pwait()
3276 maxevents: ::c_int, in epoll_wait()
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2501 maxevents: ::c_int, in epoll_wait()

12