Home
last modified time | relevance | path

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

12345678910

/linux/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c192 e.events = EPOLLIN;
223 e.events = EPOLLIN | EPOLLET;
255 events[0].events = EPOLLIN;
258 events[0].events = EPOLLIN;
293 events[0].events = EPOLLIN | EPOLLET;
296 events[0].events = EPOLLIN | EPOLLET;
331 e.events = EPOLLIN; in TEST()
370 e.events = EPOLLIN | EPOLLET; in TEST()
411 events[0].events = EPOLLIN; in TEST()
414 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()
/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()
597 events = EPOLLIN | EPOLLRDNORM; in lirc_poll()
601 events = EPOLLIN | EPOLLRDNORM; in lirc_poll()
/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.c289 * - Checking for EPOLLIN, i.e. read access, can be use to query the state of the
351 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/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()
/linux/drivers/gpio/
H A Dgpiolib-cdev.c563 wake_up_poll(&lr->wait, EPOLLIN); in linereq_put_event()
1025 wake_up_poll(&lr->wait, EPOLLIN | EPOLLERR); in edge_detector_setup()
1518 events = EPOLLIN | EPOLLRDNORM; in linereq_read()
1840 events = EPOLLIN | EPOLLRDNORM; in lineevent_read()
1856 wake_up_poll(&le->wait, EPOLLIN | EPOLLERR); in lineevent_read()
2052 wake_up_poll(&le->wait, EPOLLIN); in lineevent_create()
2556 wake_up_poll(&ctx->cdev->wait, EPOLLIN); in gpio_device_unregistered_notify()
2628 wake_up_poll(&cdev->wait, EPOLLIN | EPOLLERR); in lineinfo_watch_read()
2648 events = EPOLLIN | EPOLLRDNORM; in lineinfo_watch_read()
/linux/include/linux/
H A Dpoll.h24 #define DEFAULT_POLLMASK (EPOLLIN | EPOLLOUT | EPOLLRDNORM | EPOLLWRNORM)
/linux/net/qrtr/
H A Dtun.c122 mask |= EPOLLIN | EPOLLRDNORM; in qrtr_tun_poll()

12345678910