Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.6.21/tools/testing/selftests/filesystems/epoll/
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-6.6.21/drivers/vfio/
Dvirqfd.c45 if (flags & EPOLLIN) { in virqfd_wakeup()
172 if (events & EPOLLIN) { in vfio_virqfd_enable()
/linux-6.6.21/fs/
Deventfd.c67 wake_up_locked_poll(&ctx->wqh, EPOLLIN | mask); in eventfd_signal_mask()
179 events |= EPOLLIN; in eventfd_poll()
286 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in eventfd_write()
Dtimerfd.c70 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_triggered()
111 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_clock_was_set()
259 events |= EPOLLIN; in timerfd_poll()
367 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_ioctl()
/linux-6.6.21/include/uapi/linux/
Deventpoll.h31 #define EPOLLIN (__force __poll_t)0x00000001 macro
/linux-6.6.21/fs/proc/
Dkmsg.c44 return EPOLLIN | EPOLLRDNORM; in kmsg_poll()
/linux-6.6.21/tools/perf/bench/
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()
Depoll-ctl.c137 ev.events = EPOLLIN; in do_epoll_op()
216 ev.events = EPOLLIN; in init_fdmaps()
/linux-6.6.21/arch/x86/kernel/cpu/mce/
Ddev-mcelog.c248 return EPOLLIN | EPOLLRDNORM; in mce_chrdev_poll()
250 return EPOLLIN | EPOLLRDNORM; in mce_chrdev_poll()
/linux-6.6.21/tools/thermal/lib/
Dmainloop.c59 .events = EPOLLIN, in mainloop_add()
/linux-6.6.21/tools/testing/selftests/connector/
Dproc_filter.c118 evn.events = EPOLLIN; in register_proc_netlink()
227 if (!(ev[i].events & EPOLLIN)) in handle_events()
/linux-6.6.21/drivers/media/rc/
Dlirc_dev.c98 wake_up_poll(&fh->wait_poll, EPOLLIN | EPOLLRDNORM); in lirc_raw_event()
119 wake_up_poll(&fh->wait_poll, EPOLLIN | EPOLLRDNORM); in lirc_scancode_event()
593 events = EPOLLIN | EPOLLRDNORM; in lirc_poll()
597 events = EPOLLIN | EPOLLRDNORM; in lirc_poll()
/linux-6.6.21/arch/um/os-Linux/
Dirq.c51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
/linux-6.6.21/drivers/dma-buf/
Ddma-buf.c251 events = poll_requested_events(poll) & (EPOLLIN | EPOLLOUT); in dma_buf_poll()
280 if (events & EPOLLIN) { in dma_buf_poll()
286 events &= ~EPOLLIN; in dma_buf_poll()
288 dcb->active = EPOLLIN; in dma_buf_poll()
291 if (events & EPOLLIN) { in dma_buf_poll()
299 events &= ~EPOLLIN; in dma_buf_poll()
/linux-6.6.21/net/9p/
Dtrans_fd.c239 ret = (ret & ~EPOLLOUT) | (vfs_poll(ts->wr, pt) & ~EPOLLIN); in p9_fd_poll()
395 n = EPOLLIN; in p9_read_work()
399 if ((n & EPOLLIN) && !test_and_set_bit(Rworksched, &m->wsched)) { in p9_read_work()
604 if (n & EPOLLIN) { in p9_conn_create()
635 if (n & EPOLLIN) { in p9_poll_mux()
/linux-6.6.21/tools/testing/selftests/kcmp/
Dkcmp_test.c62 ev.events = EPOLLIN | EPOLLOUT; in main()
/linux-6.6.21/io_uring/
Dio_uring.h242 poll_to_key(EPOLL_URING_WAKE | EPOLLIN)); in io_poll_wq_wake()
259 poll_to_key(EPOLL_URING_WAKE | EPOLLIN)); in io_cqring_wake()
/linux-6.6.21/tools/testing/selftests/pidfd/
Dpidfd_test.c406 event.events = EPOLLIN; in poll_pidfd()
416 if (c != 1 || !(events[0].events & EPOLLIN)) in poll_pidfd()
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dhw_ops.c60 if (events & (EPOLLIN | EPOLLRDNORM)) { in spu_hw_mbox_stat_poll()
62 ret |= EPOLLIN | EPOLLRDNORM; in spu_hw_mbox_stat_poll()
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.6.21/net/core/
Ddatagram.c79 if (key && !(key_to_poll(key) & (EPOLLIN | EPOLLERR))) in receiver_wake_function()
823 mask |= EPOLLRDHUP | EPOLLIN | EPOLLRDNORM; in datagram_poll()
829 mask |= EPOLLIN | EPOLLRDNORM; in datagram_poll()
/linux-6.6.21/security/tomoyo/
Daudit.c474 return EPOLLIN | EPOLLRDNORM; in tomoyo_poll_log()
477 return EPOLLIN | EPOLLRDNORM; in tomoyo_poll_log()
/linux-6.6.21/net/qrtr/
Dtun.c122 mask |= EPOLLIN | EPOLLRDNORM; in qrtr_tun_poll()
/linux-6.6.21/net/bluetooth/
Daf_bluetooth.c502 return EPOLLIN | EPOLLRDNORM; in bt_accept_poll()
524 mask |= EPOLLRDHUP | EPOLLIN | EPOLLRDNORM; in bt_sock_poll()
530 mask |= EPOLLIN | EPOLLRDNORM; in bt_sock_poll()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_file.c650 EPOLLIN | EPOLLRDNORM); in drm_read()
694 mask |= EPOLLIN | EPOLLRDNORM; in drm_poll()
838 EPOLLIN | EPOLLRDNORM); in drm_send_event_helper()

12345678910>>...12