Home
last modified time | relevance | path

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

/linux-6.12.1/io_uring/
Dpoll.c46 #define IO_POLL_REF_MASK GENMASK(29, 0) macro
83 if (v & IO_POLL_REF_MASK) in io_poll_get_ownership_slowpath()
85 return !(atomic_fetch_inc(&req->poll_refs) & IO_POLL_REF_MASK); in io_poll_get_ownership_slowpath()
98 return !(atomic_fetch_inc(&req->poll_refs) & IO_POLL_REF_MASK); in io_poll_get_ownership()
277 if (WARN_ON_ONCE(!(v & IO_POLL_REF_MASK))) in io_poll_check_events()
286 if ((v & IO_POLL_REF_MASK) != 1) in io_poll_check_events()
347 v &= IO_POLL_REF_MASK; in io_poll_check_events()
348 } while (atomic_sub_return(v, &req->poll_refs) & IO_POLL_REF_MASK); in io_poll_check_events()