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
31 {events=EPOLLOUT|EPOLLET|EPOLLONESHOT, fd=4}) = 0
53 +0 epoll_ctl(5, EPOLL_CTL_MOD, 4, {events=EPOLLOUT|EPOLLONESHOT, fd=4}) = 0
/linux/io_uring/
H A Dpoll.c293 if (!(events & EPOLLONESHOT)) in io_poll_check_events()
298 if (req->apoll_events & EPOLLONESHOT) in io_poll_check_events()
390 #define IO_ASYNC_POLL_COMMON (EPOLLONESHOT | EPOLLPRI)
422 poll->events |= EPOLLONESHOT; in io_poll_wake()
423 req->apoll_events |= EPOLLONESHOT; in io_poll_wake()
427 if (mask && poll->events & EPOLLONESHOT) { in io_poll_wake()
607 ((poll->events & (EPOLLET|EPOLLONESHOT)) == (EPOLLET|EPOLLONESHOT))) { in __io_arm_poll_handler()
690 mask |= EPOLLONESHOT; in io_arm_apoll()
847 events |= EPOLLONESHOT; in io_poll_parse_events()
851 (events & (EPOLLEXCLUSIVE|EPOLLONESHOT|EPOLLET)); in io_poll_parse_events()
H A During_cmd.c342 mask &= ~EPOLLONESHOT; in io_cmd_poll_multishot()
/linux/include/uapi/linux/
H A Deventpoll.h66 #define EPOLLONESHOT ((__force __poll_t)(1U << 30)) macro
/linux/fs/
H A Deventpoll.c212 #define EP_PRIVATE_BITS (EPOLLWAKEUP | EPOLLONESHOT | EPOLLET | EPOLLEXCLUSIVE)
2112 if (epi->event.events & EPOLLONESHOT) { in ep_deliver_event()