Home
last modified time | relevance | path

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

12

/external/ltp/include/lapi/
Depoll.h25 int maxevents, int timeout, in epoll_pwait() argument
28 return tst_syscall(__NR_epoll_pwait, epfd, events, maxevents, in epoll_pwait()
41 int maxevents, const struct timespec *timeout, in epoll_pwait2() argument
45 return tst_syscall(__NR_epoll_pwait2, epfd, events, maxevents, in epoll_pwait2()
53 return tst_syscall(__NR_epoll_pwait2, epfd, events, maxevents, in epoll_pwait2()
/external/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait_var.h17 maxevents, int timeout, const sigset_t *sigmask) in do_epoll_pwait() argument
20 return epoll_pwait(epfd, events, maxevents, timeout, sigmask); in do_epoll_pwait()
25 return epoll_pwait2(epfd, events, maxevents, NULL, sigmask); in do_epoll_pwait()
31 return epoll_pwait2(epfd, events, maxevents, &ts, sigmask); in do_epoll_pwait()
/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/include/
Dtst_epoll.h31 int maxevents, int timeout);
33 #define SAFE_EPOLL_WAIT(epfd, events, maxevents, timeout)\ argument
34 safe_epoll_wait(__FILE__, __LINE__, epfd, events, maxevents, timeout)
/external/ltp/lib/
Dtst_epoll.c69 int maxevents, int timeout) in safe_epoll_wait() argument
71 int ret = epoll_wait(epfd, events, maxevents, timeout); in safe_epoll_wait()
76 epfd, maxevents, timeout); in safe_epoll_wait()
/external/ltp/android/include/
Dlibaio.h69 static inline int libaio_setup(int maxevents, io_context_t *ctxp) { in libaio_setup() argument
70 int ret = io_setup(maxevents, ctxp); in libaio_setup()
99 static inline int io_queue_init(int maxevents, io_context_t *ctxp) { in io_queue_init() argument
101 return libaio_setup(maxevents, ctxp); in io_queue_init()
/external/python/cpython3/Modules/clinic/
Dselectmodule.c.h810 int maxevents);
821 int maxevents = -1; in select_epoll_poll() local
836 maxevents = _PyLong_AsInt(args[1]); in select_epoll_poll()
837 if (maxevents == -1 && PyErr_Occurred()) { in select_epoll_poll()
841 return_value = select_epoll_poll_impl(self, timeout_obj, maxevents); in select_epoll_poll()
1060 int maxevents, PyObject *otimeout);
1067 int maxevents; in select_kqueue_control() local
1074 maxevents = _PyLong_AsInt(args[1]); in select_kqueue_control()
1075 if (maxevents == -1 && PyErr_Occurred()) { in select_kqueue_control()
1083 return_value = select_kqueue_control_impl(self, changelist, maxevents, otimeout); in select_kqueue_control()
/external/cronet/third_party/libevent/
Depoll_sub.c49 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument
51 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait03.c36 int maxevents; member
65 TST_EXP_FAIL(epoll_wait(*tc[n].epfd, *tc[n].ev, tc[n].maxevents, -1), in verify_epoll_wait()
/external/python/cpython3/Modules/
Dselectmodule.c1517 int maxevents) in select_epoll_poll_impl() argument
1561 if (maxevents == -1) { in select_epoll_poll_impl()
1562 maxevents = FD_SETSIZE-1; in select_epoll_poll_impl()
1564 else if (maxevents < 1) { in select_epoll_poll_impl()
1567 maxevents); in select_epoll_poll_impl()
1571 evs = PyMem_New(struct epoll_event, maxevents); in select_epoll_poll_impl()
1580 nfds = epoll_wait(self->epfd, evs, maxevents, (int)ms); in select_epoll_poll_impl()
2090 int maxevents, PyObject *otimeout) in select_kqueue_control_impl() argument
2108 if (maxevents < 0) { in select_kqueue_control_impl()
2111 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/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.py182 events = ep.poll(timeout=0.1, maxevents=4)
/external/python/cpython2/Doc/library/
Dselect.rst188 .. method:: epoll.poll([timeout=-1[, maxevents=-1]])
/external/rust/crates/libc/src/unix/redox/
Dmod.rs1042 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/python/cpython3/Doc/library/
Dselect.rst362 .. method:: epoll.poll(timeout=None, maxevents=-1)
/external/linux-kselftest/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c31 int maxevents, in sys_epoll_pwait2() argument
35 return syscall(__NR_epoll_pwait2, fd, events, maxevents, timeout, in sys_epoll_pwait2()
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs2957 maxevents: ::c_int, in epoll_pwait()
2967 maxevents: ::c_int, in epoll_wait()
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3985 maxevents: ::c_int, in epoll_pwait()
4093 maxevents: ::c_int, in epoll_wait()
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs3228 maxevents: ::c_int, in epoll_wait()
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h72442 int maxevents; member
Dvmlinux.h72442 int maxevents; member

12