Home
last modified time | relevance | path

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

12345678910

/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/fs/
H A Deventfd.c76 wake_up_locked_poll(&ctx->wqh, EPOLLIN | mask); in eventfd_signal_mask()
167 events |= EPOLLIN; in eventfd_poll()
274 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in eventfd_write()
H A Dtimerfd.c70 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_triggered()
109 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_clock_was_set()
256 events |= EPOLLIN; in timerfd_poll()
368 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_ioctl()
/linux/drivers/vfio/
H A Dvirqfd.c45 if (flags & EPOLLIN) { in virqfd_wakeup()
179 if (events & EPOLLIN) { in vfio_virqfd_enable()
/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/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/arch/x86/kernel/cpu/mce/
H A Ddev-mcelog.c248 return EPOLLIN | EPOLLRDNORM; in mce_chrdev_poll()
250 return EPOLLIN | EPOLLRDNORM; in mce_chrdev_poll()
/linux/tools/thermal/lib/
H A Dmainloop.c56 .events = EPOLLIN, in mainloop_add()
/linux/drivers/media/rc/
H A Dlirc_dev.c100 wake_up_poll(&fh->wait_poll, EPOLLIN | EPOLLRDNORM); in lirc_raw_event()
121 wake_up_poll(&fh->wait_poll, EPOLLIN | EPOLLRDNORM); in lirc_scancode_event()
595 events = EPOLLIN | EPOLLRDNORM; in lirc_poll()
599 events = EPOLLIN | EPOLLRDNORM; in lirc_poll()
/linux/tools/testing/selftests/coredump/
H A Dcoredump_test_helpers.c331 ev.events = EPOLLIN | EPOLLRDHUP | EPOLLET; in process_coredump_worker()
346 if (events[0].events & (EPOLLIN | EPOLLRDHUP)) { in process_coredump_worker()
/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/drivers/dma-buf/
H A Ddma-buf.c351 events = poll_requested_events(poll) & (EPOLLIN | EPOLLOUT); in dma_buf_poll()
380 if (events & EPOLLIN) { in dma_buf_poll()
386 events &= ~EPOLLIN; in dma_buf_poll()
388 dcb->active = EPOLLIN; in dma_buf_poll()
391 if (events & EPOLLIN) { in dma_buf_poll()
399 events &= ~EPOLLIN; in dma_buf_poll()
/linux/net/9p/
H A Dtrans_fd.c204 ret = (ret & ~EPOLLOUT) | (vfs_poll(ts->wr, pt) & ~EPOLLIN); in p9_fd_poll()
360 n = EPOLLIN; in p9_read_work()
364 if ((n & EPOLLIN) && !test_and_set_bit(Rworksched, &m->wsched)) { in p9_read_work()
569 if (n & EPOLLIN) { in p9_conn_create()
600 if (n & EPOLLIN) { in p9_poll_mux()
/linux/arch/um/os-Linux/
H A Dirq.c51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
/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/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/perf/bench/
H A Depoll-ctl.c137 ev.events = EPOLLIN; in do_epoll_op()
216 ev.events = EPOLLIN; in init_fdmaps()
/linux/tools/testing/selftests/arm64/gcs/
H A Dgcs-stress.c132 ev.events = EPOLLIN | EPOLLHUP; in start_thread()
208 if (events & EPOLLIN) { in child_output()
/linux/tools/testing/selftests/kcmp/
H A Dkcmp_test.c62 ev.events = EPOLLIN | EPOLLOUT; in main()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c458 event.events = EPOLLIN; in poll_pidfd()
468 if (c != 1 || !(events[0].events & EPOLLIN)) in poll_pidfd()
/linux/security/tomoyo/
H A Daudit.c472 return EPOLLIN | EPOLLRDNORM; in tomoyo_poll_log()
475 return EPOLLIN | EPOLLRDNORM; in tomoyo_poll_log()
/linux/drivers/gpu/drm/
H A Ddrm_file.c589 EPOLLIN | EPOLLRDNORM); in drm_read()
632 mask |= EPOLLIN | EPOLLRDNORM; in drm_poll()
774 EPOLLIN | EPOLLRDNORM); in drm_send_event_helper()

12345678910