Home
last modified time | relevance | path

Searched refs:EPOLLONESHOT (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_epoll_oneshot.pkt5 // EPOLLONESHOT is set.
8 // is correctly fired only once, when EPOLLONESHOT is set. send another packet
28 {events=EPOLLOUT|EPOLLET|EPOLLONESHOT, fd=4}) = 0
50 +0 epoll_ctl(5, EPOLL_CTL_MOD, 4, {events=EPOLLOUT|EPOLLONESHOT, fd=4}) = 0
/linux/io_uring/
H A Dpoll.c271 if (!(req->apoll_events & EPOLLONESHOT)) in io_poll_check_events()
276 if (req->apoll_events & EPOLLONESHOT) in io_poll_check_events()
362 #define IO_ASYNC_POLL_COMMON (EPOLLONESHOT | EPOLLPRI)
410 poll->events |= EPOLLONESHOT; in io_poll_wake()
413 if (mask && poll->events & EPOLLONESHOT) { in io_poll_wake()
594 ((poll->events & (EPOLLET|EPOLLONESHOT)) == (EPOLLET|EPOLLONESHOT))) { in __io_arm_poll_handler()
683 mask |= EPOLLONESHOT; in io_arm_poll_handler()
829 events |= EPOLLONESHOT; in io_poll_parse_events()
833 (events & (EPOLLEXCLUSIVE|EPOLLONESHOT|EPOLLET)); in io_poll_parse_events()
/linux/include/uapi/linux/
H A Deventpoll.h66 #define EPOLLONESHOT ((__force __poll_t)(1U << 30)) macro
/linux/tools/perf/bench/
H A Depoll-wait.c226 ev.events |= EPOLLIN | EPOLLONESHOT; in workerfn()
302 events |= EPOLLONESHOT; in do_threads()
/linux/fs/
H A Deventpoll.c86 #define EP_PRIVATE_BITS (EPOLLWAKEUP | EPOLLONESHOT | EPOLLET | EPOLLEXCLUSIVE)
1919 if (epi->event.events & EPOLLONESHOT) in ep_send_events()