/linux/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 174 e.events = EPOLLIN; in TEST() 205 e.events = EPOLLIN | EPOLLET; in TEST() 237 events[0].events = EPOLLIN; in TEST() 240 events[0].events = EPOLLIN; in TEST() 275 events[0].events = EPOLLIN | EPOLLET; in TEST() 278 events[0].events = EPOLLIN | EPOLLET; in TEST() 313 e.events = EPOLLIN; in TEST() 352 e.events = EPOLLIN | EPOLLET; in TEST() 393 events[0].events = EPOLLIN; in TEST() 396 events[0].events = EPOLLIN; in TEST() [all …]
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | userfaultfd_util.c | 39 evt.events = EPOLLIN | EPOLLEXCLUSIVE; in uffd_handler_thread_fn() 44 evt.events = EPOLLIN; in uffd_handler_thread_fn()
|
/linux/tools/perf/bench/ |
H A D | epoll-wait.c | 220 ev.events = EPOLLIN | EPOLLET; in workerfn() 226 ev.events |= EPOLLIN | EPOLLONESHOT; in workerfn() 297 int ret = 0, events = EPOLLIN; in do_threads()
|
H A D | epoll-ctl.c | 137 ev.events = EPOLLIN; in do_epoll_op() 216 ev.events = EPOLLIN; in init_fdmaps()
|
/linux/fs/proc/ |
H A D | kmsg.c | 44 return EPOLLIN | EPOLLRDNORM; in kmsg_poll()
|
/linux/include/uapi/linux/ |
H A D | eventpoll.h | 31 #define EPOLLIN (__force __poll_t)0x00000001 macro
|
/linux/tools/thermal/lib/ |
H A D | mainloop.c | 56 .events = EPOLLIN, in mainloop_add()
|
/linux/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 118 evn.events = EPOLLIN; in register_proc_netlink() 227 if (!(ev[i].events & EPOLLIN)) in handle_events()
|
/linux/fs/ |
H A D | pidfs.c | 110 poll_flags = EPOLLIN | EPOLLRDNORM | EPOLLHUP; in pidfd_poll() 112 poll_flags = EPOLLIN | EPOLLRDNORM; in pidfd_poll()
|
/linux/drivers/dma-buf/ |
H A D | dma-buf.c | 267 events = poll_requested_events(poll) & (EPOLLIN | EPOLLOUT); in dma_buf_poll() 296 if (events & EPOLLIN) { in dma_buf_poll() 302 events &= ~EPOLLIN; in dma_buf_poll() 304 dcb->active = EPOLLIN; in dma_buf_poll() 307 if (events & EPOLLIN) { in dma_buf_poll() 315 events &= ~EPOLLIN; in dma_buf_poll()
|
/linux/arch/um/os-Linux/ |
H A D | irq.c | 51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
|
/linux/net/9p/ |
H A D | trans_fd.c | 238 ret = (ret & ~EPOLLOUT) | (vfs_poll(ts->wr, pt) & ~EPOLLIN); in p9_fd_poll() 394 n = EPOLLIN; in p9_read_work() 398 if ((n & EPOLLIN) && !test_and_set_bit(Rworksched, &m->wsched)) { in p9_read_work() 603 if (n & EPOLLIN) { in p9_conn_create() 634 if (n & EPOLLIN) { in p9_poll_mux()
|
/linux/tools/testing/selftests/net/packetdrill/ |
H A D | tcp_zerocopy_epoll_edge.pkt | 4 // EPOLLERR is known to be not edge-triggered unlike EPOLLIN and EPOLLOUT but
|
H A D | tcp_zerocopy_epoll_exclusive.pkt | 4 // EPOLLERR is known to be not edge-triggered unlike EPOLLIN and EPOLLOUT but
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 406 event.events = EPOLLIN; in poll_pidfd() 416 if (c != 1 || !(events[0].events & EPOLLIN)) in poll_pidfd()
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | hw_ops.c | 60 if (events & (EPOLLIN | EPOLLRDNORM)) { in spu_hw_mbox_stat_poll() 62 ret |= EPOLLIN | EPOLLRDNORM; in spu_hw_mbox_stat_poll()
|
H A D | backing_ops.c | 91 if (events & (EPOLLIN | EPOLLRDNORM)) { in spu_backing_mbox_stat_poll() 93 ret |= EPOLLIN | EPOLLRDNORM; in spu_backing_mbox_stat_poll()
|
/linux/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 62 ev.events = EPOLLIN | EPOLLOUT; in main()
|
/linux/security/tomoyo/ |
H A D | audit.c | 474 return EPOLLIN | EPOLLRDNORM; in tomoyo_poll_log() 477 return EPOLLIN | EPOLLRDNORM; in tomoyo_poll_log()
|
/linux/io_uring/ |
H A D | io_uring.h | 263 poll_to_key(EPOLL_URING_WAKE | EPOLLIN)); in io_poll_wq_wake() 280 poll_to_key(EPOLL_URING_WAKE | EPOLLIN)); in io_cqring_wake()
|
/linux/net/bluetooth/ |
H A D | af_bluetooth.c | 497 return EPOLLIN | EPOLLRDNORM; in bt_accept_poll() 519 mask |= EPOLLRDHUP | EPOLLIN | EPOLLRDNORM; in bt_sock_poll() 525 mask |= EPOLLIN | EPOLLRDNORM; in bt_sock_poll()
|
/linux/net/core/ |
H A D | datagram.c | 80 if (key && !(key_to_poll(key) & (EPOLLIN | EPOLLERR))) in receiver_wake_function() 900 mask |= EPOLLRDHUP | EPOLLIN | EPOLLRDNORM; in datagram_poll() 906 mask |= EPOLLIN | EPOLLRDNORM; in datagram_poll()
|
/linux/net/qrtr/ |
H A D | tun.c | 122 mask |= EPOLLIN | EPOLLRDNORM; in qrtr_tun_poll()
|
/linux/include/linux/ |
H A D | poll.h | 24 #define DEFAULT_POLLMASK (EPOLLIN | EPOLLOUT | EPOLLRDNORM | EPOLLWRNORM)
|
/linux/kernel/ |
H A D | seccomp.c | 1143 wake_up_poll_on_current_cpu(&match->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_do_user_notification() 1145 wake_up_poll(&match->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_do_user_notification() 1482 if (key && !(key_to_poll(key) & (EPOLLIN | EPOLLERR | EPOLLHUP))) in recv_wake_function() 1580 wake_up_poll(&filter->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_notify_recv() 1832 ret |= EPOLLIN | EPOLLRDNORM; in seccomp_notify_poll() 1835 if ((ret & EPOLLIN) && (ret & EPOLLOUT)) in seccomp_notify_poll()
|