Home
last modified time | relevance | path

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

/linux-6.15/io_uring/
H A Dpoll.c82 v = atomic_fetch_or(IO_POLL_RETRY_FLAG, &req->poll_refs); in io_poll_get_ownership_slowpath()
85 return !(atomic_fetch_inc(&req->poll_refs) & IO_POLL_REF_MASK); in io_poll_get_ownership_slowpath()
96 if (unlikely(atomic_read(&req->poll_refs) >= IO_POLL_REF_BIAS)) in io_poll_get_ownership()
98 return !(atomic_fetch_inc(&req->poll_refs) & IO_POLL_REF_MASK); in io_poll_get_ownership()
103 atomic_or(IO_POLL_CANCEL_FLAG, &req->poll_refs); in io_poll_mark_cancelled()
231 v = atomic_read(&req->poll_refs); in io_poll_check_events()
254 atomic_andnot(IO_POLL_RETRY_FLAG, &req->poll_refs); in io_poll_check_events()
309 } while (atomic_sub_return(v, &req->poll_refs) & IO_POLL_REF_MASK); in io_poll_check_events()
571 atomic_set(&req->poll_refs, (int)ipt->owning); in __io_arm_poll_handler()
624 if (atomic_cmpxchg(&req->poll_refs, 1, 0) != 1) in __io_arm_poll_handler()
H A Dpoll.h32 atomic_inc(&req->poll_refs); in io_poll_multishot_retry()
/linux-6.15/include/linux/
H A Dio_uring_types.h710 atomic_t poll_refs; member