Searched refs:maxevents (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/arch/arm/kernel/
H A Dsys_oabi-compat.c275 int maxevents, int timeout) sys_oabi_epoll_wait()
281 if (maxevents <= 0 || maxevents > (INT_MAX/sizeof(struct epoll_event))) sys_oabi_epoll_wait()
283 kbuf = kmalloc(sizeof(*kbuf) * maxevents, GFP_KERNEL); sys_oabi_epoll_wait()
288 ret = sys_epoll_wait(epfd, kbuf, maxevents, timeout); sys_oabi_epoll_wait()
273 sys_oabi_epoll_wait(int epfd, struct oabi_epoll_event __user *events, int maxevents, int timeout) sys_oabi_epoll_wait() argument
/linux-4.1.27/fs/
H A Deventpoll.c250 int maxevents; member in struct:ep_send_events_data
1485 !list_empty(head) && eventcnt < esed->maxevents;) { ep_send_events_proc()
1547 struct epoll_event __user *events, int maxevents) ep_send_events()
1551 esed.maxevents = maxevents; ep_send_events()
1575 * @maxevents: Size (in terms of number of events) of the caller event buffer.
1586 int maxevents, long timeout) ep_poll()
1658 !(res = ep_send_events(ep, events, maxevents)) && !timed_out) ep_poll()
1962 int, maxevents, int, timeout) SYSCALL_DEFINE4()
1969 if (maxevents <= 0 || maxevents > EP_MAX_EVENTS) SYSCALL_DEFINE4()
1973 if (!access_ok(VERIFY_WRITE, events, maxevents * sizeof(struct epoll_event))) SYSCALL_DEFINE4()
1996 error = ep_poll(ep, events, maxevents, timeout); SYSCALL_DEFINE4()
2008 int, maxevents, int, timeout, const sigset_t __user *, sigmask, SYSCALL_DEFINE6()
2027 error = sys_epoll_wait(epfd, events, maxevents, timeout); SYSCALL_DEFINE6()
2050 int, maxevents, int, timeout, COMPAT_SYSCALL_DEFINE6()
2072 err = sys_epoll_wait(epfd, events, maxevents, timeout); COMPAT_SYSCALL_DEFINE6()
1546 ep_send_events(struct eventpoll *ep, struct epoll_event __user *events, int maxevents) ep_send_events() argument
1585 ep_poll(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, long timeout) ep_poll() argument
/linux-4.1.27/arch/s390/kernel/
H A Dcompat_wrapper.c168 COMPAT_SYSCALL_WRAP4(epoll_wait, int, epfd, struct epoll_event __user *, events, int, maxevents, int, timeout);
/linux-4.1.27/include/linux/
H A Dcompat.h451 int maxevents, int timeout,
H A Dsyscalls.h632 int maxevents, int timeout);
634 int maxevents, int timeout,

Completed in 243 milliseconds