Lines Matching refs:events
242 struct epoll_event __user *events; member
464 unsigned long events, int subclass) in ep_wake_up_nested() argument
469 wake_up_locked_poll(wqueue, events); in ep_wake_up_nested()
474 unsigned long events, int subclass) in ep_wake_up_nested() argument
476 wake_up_poll(wqueue, events); in ep_wake_up_nested()
744 pt._key = epi->event.events; in ep_read_events_proc()
746 epi->event.events) in ep_read_events_proc()
923 if (!(epi->event.events & ~EP_PRIVATE_BITS)) in ep_poll_callback()
932 if (key && !((unsigned long) key & epi->event.events)) in ep_poll_callback()
1170 if (epi->event.events & EPOLLWAKEUP) { in ep_insert()
1181 epq.pt._key = event->events; in ep_insert()
1221 if ((revents & event->events) && !ep_is_linked(&epi->rdllink)) { in ep_insert()
1289 epi->event.events = event->events; /* need barrier below */ in ep_modify()
1290 pt._key = event->events; in ep_modify()
1292 if (epi->event.events & EPOLLWAKEUP) { in ep_modify()
1329 if (revents & event->events) { in ep_modify()
1368 for (eventcnt = 0, uevent = esed->events; in ep_send_events_proc()
1386 pt._key = epi->event.events; in ep_send_events_proc()
1388 epi->event.events; in ep_send_events_proc()
1397 if (__put_user(revents, &uevent->events) || in ep_send_events_proc()
1405 if (epi->event.events & EPOLLONESHOT) in ep_send_events_proc()
1406 epi->event.events &= EP_PRIVATE_BITS; in ep_send_events_proc()
1407 else if (!(epi->event.events & EPOLLET)) { in ep_send_events_proc()
1429 struct epoll_event __user *events, int maxevents) in ep_send_events() argument
1434 esed.events = events; in ep_send_events()
1467 static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, in ep_poll() argument
1541 !(res = ep_send_events(ep, events, maxevents)) && !timed_out) in ep_poll()
1735 if ((epds.events & EPOLLWAKEUP) && !capable(CAP_EPOLLWAKEUP)) in SYSCALL_DEFINE4()
1736 epds.events &= ~EPOLLWAKEUP; in SYSCALL_DEFINE4()
1793 epds.events |= POLLERR | POLLHUP; in SYSCALL_DEFINE4()
1807 epds.events |= POLLERR | POLLHUP; in SYSCALL_DEFINE4()
1831 SYSCALL_DEFINE4(epoll_wait, int, epfd, struct epoll_event __user *, events, in SYSCALL_DEFINE4() argument
1843 if (!access_ok(VERIFY_WRITE, events, maxevents * sizeof(struct epoll_event))) { in SYSCALL_DEFINE4()
1869 error = ep_poll(ep, events, maxevents, timeout); in SYSCALL_DEFINE4()
1884 SYSCALL_DEFINE6(epoll_pwait, int, epfd, struct epoll_event __user *, events, in SYSCALL_DEFINE6() argument
1904 error = sys_epoll_wait(epfd, events, maxevents, timeout); in SYSCALL_DEFINE6()