Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()
/third_party/python/Modules/clinic/
Dselectmodule.c.h802 int maxevents);
813 int maxevents = -1; in select_epoll_poll() local
828 maxevents = _PyLong_AsInt(args[1]); in select_epoll_poll()
829 if (maxevents == -1 && PyErr_Occurred()) { in select_epoll_poll()
833 return_value = select_epoll_poll_impl(self, timeout_obj, maxevents); in select_epoll_poll()
1052 int maxevents, PyObject *otimeout);
1059 int maxevents; in select_kqueue_control() local
1066 maxevents = _PyLong_AsInt(args[1]); in select_kqueue_control()
1067 if (maxevents == -1 && PyErr_Occurred()) { in select_kqueue_control()
1075 return_value = select_kqueue_control_impl(self, changelist, maxevents, otimeout); in select_kqueue_control()
/third_party/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()
/third_party/python/Modules/
Dselectmodule.c1513 int maxevents) in select_epoll_poll_impl() argument
1557 if (maxevents == -1) { in select_epoll_poll_impl()
1558 maxevents = FD_SETSIZE-1; in select_epoll_poll_impl()
1560 else if (maxevents < 1) { in select_epoll_poll_impl()
1563 maxevents); in select_epoll_poll_impl()
1567 evs = PyMem_New(struct epoll_event, maxevents); in select_epoll_poll_impl()
1576 nfds = epoll_wait(self->epfd, evs, maxevents, (int)ms); in select_epoll_poll_impl()
2086 int maxevents, PyObject *otimeout) in select_kqueue_control_impl() argument
2104 if (maxevents < 0) { in select_kqueue_control_impl()
2107 maxevents); in select_kqueue_control_impl()
[all …]
/third_party/libuv/src/unix/
Dos390-syscalls.c283 int maxevents, int timeout) { in epoll_wait() argument
302 if (maxevents <= 0 || maxevents > EP_MAX_EVENTS) { in epoll_wait()
324 i < lst->size && i < maxevents && reventcount < pollret; ++i) { in epoll_wait()
Dos390-syscalls.h57 int epoll_wait(uv__os390_epoll* ep, struct epoll_event *events, int maxevents, int timeout);
/third_party/python/Lib/test/
Dtest_epoll.py182 events = ep.poll(timeout=0.1, maxevents=4)
/third_party/python/Doc/library/
Dselect.rst362 .. method:: epoll.poll(timeout=None, maxevents=-1)
/third_party/NuttX/
DReleaseNotes27586 must loop until "maxevents" to fille output evs array