Home
last modified time | relevance | path

Searched refs:EPOLLIN (Results 1 – 25 of 196) sorted by relevance

12345678

/linux/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c174 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 Duserfaultfd_util.c39 evt.events = EPOLLIN | EPOLLEXCLUSIVE; in uffd_handler_thread_fn()
44 evt.events = EPOLLIN; in uffd_handler_thread_fn()
/linux/tools/perf/bench/
H A Depoll-wait.c220 ev.events = EPOLLIN | EPOLLET; in workerfn()
226 ev.events |= EPOLLIN | EPOLLONESHOT; in workerfn()
297 int ret = 0, events = EPOLLIN; in do_threads()
H A Depoll-ctl.c137 ev.events = EPOLLIN; in do_epoll_op()
216 ev.events = EPOLLIN; in init_fdmaps()
/linux/fs/proc/
H A Dkmsg.c44 return EPOLLIN | EPOLLRDNORM; in kmsg_poll()
/linux/include/uapi/linux/
H A Deventpoll.h31 #define EPOLLIN (__force __poll_t)0x00000001 macro
/linux/tools/thermal/lib/
H A Dmainloop.c56 .events = EPOLLIN, in mainloop_add()
/linux/tools/testing/selftests/connector/
H A Dproc_filter.c118 evn.events = EPOLLIN; in register_proc_netlink()
227 if (!(ev[i].events & EPOLLIN)) in handle_events()
/linux/fs/
H A Dpidfs.c110 poll_flags = EPOLLIN | EPOLLRDNORM | EPOLLHUP; in pidfd_poll()
112 poll_flags = EPOLLIN | EPOLLRDNORM; in pidfd_poll()
/linux/drivers/dma-buf/
H A Ddma-buf.c267 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 Dirq.c51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
/linux/net/9p/
H A Dtrans_fd.c238 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 Dtcp_zerocopy_epoll_edge.pkt4 // EPOLLERR is known to be not edge-triggered unlike EPOLLIN and EPOLLOUT but
H A Dtcp_zerocopy_epoll_exclusive.pkt4 // EPOLLERR is known to be not edge-triggered unlike EPOLLIN and EPOLLOUT but
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c406 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 Dhw_ops.c60 if (events & (EPOLLIN | EPOLLRDNORM)) { in spu_hw_mbox_stat_poll()
62 ret |= EPOLLIN | EPOLLRDNORM; in spu_hw_mbox_stat_poll()
H A Dbacking_ops.c91 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 Dkcmp_test.c62 ev.events = EPOLLIN | EPOLLOUT; in main()
/linux/security/tomoyo/
H A Daudit.c474 return EPOLLIN | EPOLLRDNORM; in tomoyo_poll_log()
477 return EPOLLIN | EPOLLRDNORM; in tomoyo_poll_log()
/linux/io_uring/
H A Dio_uring.h263 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 Daf_bluetooth.c497 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 Ddatagram.c80 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 Dtun.c122 mask |= EPOLLIN | EPOLLRDNORM; in qrtr_tun_poll()
/linux/include/linux/
H A Dpoll.h24 #define DEFAULT_POLLMASK (EPOLLIN | EPOLLOUT | EPOLLRDNORM | EPOLLWRNORM)
/linux/kernel/
H A Dseccomp.c1143 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()

12345678