• Home
  • Raw
  • Download

Lines Matching refs:events

257 	struct epoll_event __user *events;  member
889 pt->_key = epi->event.events; in ep_item_poll()
891 return vfs_poll(epi->ffd.file, pt) & epi->event.events; in ep_item_poll()
899 locked) & epi->event.events; in ep_item_poll()
958 epi->ffd.fd, epi->event.events, in ep_show_fdinfo()
1229 if (!(epi->event.events & ~EP_PRIVATE_BITS)) in ep_poll_callback()
1238 if (pollflags && !(pollflags & epi->event.events)) in ep_poll_callback()
1261 if ((epi->event.events & EPOLLEXCLUSIVE) && in ep_poll_callback()
1265 if (epi->event.events & EPOLLIN) in ep_poll_callback()
1269 if (epi->event.events & EPOLLOUT) in ep_poll_callback()
1289 if (!(epi->event.events & EPOLLEXCLUSIVE)) in ep_poll_callback()
1325 if (epi->event.events & EPOLLEXCLUSIVE) in ep_ptable_queue_proc()
1522 if (epi->event.events & EPOLLWAKEUP) { in ep_insert()
1643 epi->event.events = event->events; /* need barrier below */ in ep_modify()
1645 if (epi->event.events & EPOLLWAKEUP) { in ep_modify()
1706 struct epoll_event __user *uevent = esed->events; in ep_send_events_proc()
1752 if (__put_user(revents, &uevent->events) || in ep_send_events_proc()
1762 if (epi->event.events & EPOLLONESHOT) in ep_send_events_proc()
1763 epi->event.events &= EP_PRIVATE_BITS; in ep_send_events_proc()
1764 else if (!(epi->event.events & EPOLLET)) { in ep_send_events_proc()
1785 struct epoll_event __user *events, int maxevents) in ep_send_events() argument
1790 esed.events = events; in ep_send_events()
1843 static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, in ep_poll() argument
1980 !(res = ep_send_events(ep, events, maxevents)) && !timed_out) in ep_poll()
2188 if (ep_op_has_event(op) && (epds.events & EPOLLEXCLUSIVE)) { in SYSCALL_DEFINE4()
2192 (epds.events & ~EPOLLEXCLUSIVE_OK_BITS))) in SYSCALL_DEFINE4()
2253 epds.events |= EPOLLERR | EPOLLHUP; in SYSCALL_DEFINE4()
2266 if (!(epi->event.events & EPOLLEXCLUSIVE)) { in SYSCALL_DEFINE4()
2267 epds.events |= EPOLLERR | EPOLLHUP; in SYSCALL_DEFINE4()
2297 static int do_epoll_wait(int epfd, struct epoll_event __user *events, in do_epoll_wait() argument
2309 if (!access_ok(events, maxevents * sizeof(struct epoll_event))) in do_epoll_wait()
2332 error = ep_poll(ep, events, maxevents, timeout); in do_epoll_wait()
2339 SYSCALL_DEFINE4(epoll_wait, int, epfd, struct epoll_event __user *, events, in SYSCALL_DEFINE4() argument
2342 return do_epoll_wait(epfd, events, maxevents, timeout); in SYSCALL_DEFINE4()
2349 SYSCALL_DEFINE6(epoll_pwait, int, epfd, struct epoll_event __user *, events, in SYSCALL_DEFINE6() argument
2363 error = do_epoll_wait(epfd, events, maxevents, timeout); in SYSCALL_DEFINE6()
2371 struct epoll_event __user *, events, in COMPAT_SYSCALL_DEFINE6() argument
2386 err = do_epoll_wait(epfd, events, maxevents, timeout); in COMPAT_SYSCALL_DEFINE6()