Searched refs:maxevents (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | sys_oabi-compat.c | 270 int maxevents, int timeout) in sys_oabi_epoll_wait() argument 277 if (maxevents <= 0 || in sys_oabi_epoll_wait() 278 maxevents > (INT_MAX/sizeof(*kbuf)) || in sys_oabi_epoll_wait() 279 maxevents > (INT_MAX/sizeof(*events))) in sys_oabi_epoll_wait() 281 if (!access_ok(events, sizeof(*events) * maxevents)) in sys_oabi_epoll_wait() 283 kbuf = kmalloc_array(maxevents, sizeof(*kbuf), GFP_KERNEL); in sys_oabi_epoll_wait() 288 ret = sys_epoll_wait(epfd, kbuf, maxevents, timeout); in sys_oabi_epoll_wait() 311 int maxevents, int timeout) in sys_oabi_epoll_wait() argument
|
/kernel/liteos_a/fs/vfs/epoll/ |
D | fs_epoll.c | 297 int epoll_wait(int epfd, FAR struct epoll_event *evs, int maxevents, int timeout) in epoll_wait() argument 312 if ((maxevents <= 0) || (evs == NULL)) { in epoll_wait() 317 if (maxevents > epHead->nodeCount) { in epoll_wait() 320 pollSize = maxevents; in epoll_wait()
|
/kernel/linux/linux-5.10/fs/ |
D | eventpoll.c | 260 int maxevents; member 1723 if (esed->res >= esed->maxevents) in ep_send_events_proc() 1787 struct epoll_event __user *events, int maxevents) in ep_send_events() argument 1791 esed.maxevents = maxevents; in ep_send_events() 1842 int maxevents, long timeout) in ep_poll() argument 1979 !(res = ep_send_events(ep, events, maxevents)) && !timed_out) in ep_poll() 2326 int maxevents, int timeout) in do_epoll_wait() argument 2333 if (maxevents <= 0 || maxevents > EP_MAX_EVENTS) in do_epoll_wait() 2337 if (!access_ok(events, maxevents * sizeof(struct epoll_event))) in do_epoll_wait() 2360 error = ep_poll(ep, events, maxevents, timeout); in do_epoll_wait() [all …]
|
/kernel/liteos_a/fs/vfs/include/ |
D | epoll.h | 78 int epoll_wait(int epfd, FAR struct epoll_event *evs, int maxevents, int timeout);
|
/kernel/liteos_a/syscall/ |
D | los_syscall.h | 296 extern int SysEpollWait(int epfd, struct epoll_event *evs, int maxevents, int timeout); 297 extern int SysEpollPwait(int epfd, struct epoll_event *evs, int maxevents, int timeout, const sigse…
|
D | fs_syscall.c | 2796 int SysEpollWait(int epfd, struct epoll_event *evs, int maxevents, int timeout) in SysEpollWait() argument 2809 ret = epoll_wait(epfd, evs, maxevents, timeout); in SysEpollWait() 2819 int SysEpollPwait(int epfd, struct epoll_event *evs, int maxevents, int timeout, const sigset_t *ma… in SysEpollPwait() argument 2844 ret = epoll_wait(epfd, evs, maxevents, timeout); in SysEpollPwait()
|
/kernel/linux/linux-5.10/include/linux/ |
D | compat.h | 505 int maxevents, int timeout,
|
D | syscalls.h | 386 int maxevents, int timeout, 1137 int maxevents, int timeout);
|