Home
last modified time | relevance | path

Searched refs:EPOLLONESHOT (Results 1 – 4 of 4) 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.c313 if (!(req->apoll_events & EPOLLONESHOT)) in io_poll_check_events()
318 if (req->apoll_events & EPOLLONESHOT) in io_poll_check_events()
403 #define IO_ASYNC_POLL_COMMON (EPOLLONESHOT | EPOLLPRI)
451 poll->events |= EPOLLONESHOT; in io_poll_wake()
454 if (mask && poll->events & EPOLLONESHOT) { in io_poll_wake()
639 ((poll->events & (EPOLLET|EPOLLONESHOT)) == (EPOLLET|EPOLLONESHOT))) { in __io_arm_poll_handler()
734 mask |= EPOLLONESHOT; in io_arm_poll_handler()
913 events |= EPOLLONESHOT; in io_poll_parse_events()
917 (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()