Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.15/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c174 e.events = EPOLLIN; in TEST()
313 e.events = EPOLLIN; in TEST()
485 e.events = EPOLLIN; in TEST()
669 e.events = EPOLLIN; in TEST()
856 e.events = EPOLLIN; in TEST()
859 e.events = EPOLLIN; in TEST()
899 e.events = EPOLLIN; in TEST()
936 e.events = EPOLLIN; in TEST()
1017 e.events = EPOLLIN; in TEST()
1020 e.events = EPOLLIN; in TEST()
[all …]
/linux-6.15/tools/testing/selftests/net/
H A Dbusy_poller.c309 epoll_ctl_add(epfd, sockfd, EPOLLIN | EPOLLOUT | EPOLLET); in run_poller()
322 EPOLLIN | EPOLLET | EPOLLRDHUP | in run_poller()
324 } else if (events[i].events & EPOLLIN) { in run_poller()
/linux-6.15/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-6.15/drivers/vfio/
H A Dvirqfd.c45 if (flags & EPOLLIN) { in virqfd_wakeup()
179 if (events & EPOLLIN) { in vfio_virqfd_enable()
/linux-6.15/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-6.15/fs/proc/
H A Dkmsg.c44 return EPOLLIN | EPOLLRDNORM; in kmsg_poll()
/linux-6.15/include/uapi/linux/
H A Deventpoll.h31 #define EPOLLIN (__force __poll_t)0x00000001 macro
/linux-6.15/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-6.15/tools/thermal/lib/
H A Dmainloop.c56 .events = EPOLLIN, in mainloop_add()
/linux-6.15/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-6.15/drivers/dma-buf/
H A Ddma-buf.c268 events = poll_requested_events(poll) & (EPOLLIN | EPOLLOUT); in dma_buf_poll()
297 if (events & EPOLLIN) { in dma_buf_poll()
303 events &= ~EPOLLIN; in dma_buf_poll()
305 dcb->active = EPOLLIN; in dma_buf_poll()
308 if (events & EPOLLIN) { in dma_buf_poll()
316 events &= ~EPOLLIN; in dma_buf_poll()
/linux-6.15/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-6.15/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-6.15/arch/um/os-Linux/
H A Dirq.c51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
/linux-6.15/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-6.15/net/9p/
H A Dtrans_fd.c240 ret = (ret & ~EPOLLOUT) | (vfs_poll(ts->wr, pt) & ~EPOLLIN); in p9_fd_poll()
396 n = EPOLLIN; in p9_read_work()
400 if ((n & EPOLLIN) && !test_and_set_bit(Rworksched, &m->wsched)) { in p9_read_work()
605 if (n & EPOLLIN) { in p9_conn_create()
636 if (n & EPOLLIN) { in p9_poll_mux()
/linux-6.15/tools/testing/selftests/kcmp/
H A Dkcmp_test.c62 ev.events = EPOLLIN | EPOLLOUT; in main()
/linux-6.15/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-6.15/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-6.15/drivers/gpu/drm/
H A Ddrm_file.c577 EPOLLIN | EPOLLRDNORM); in drm_read()
620 mask |= EPOLLIN | EPOLLRDNORM; in drm_poll()
762 EPOLLIN | EPOLLRDNORM); in drm_send_event_helper()
/linux-6.15/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()

12345678910>>...12