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

/linux-master/io_uring/
H A Dpoll.h33 atomic_inc(&req->poll_refs);
H A Dpoll.c77 * poll_refs are already elevated and we don't have much hope for
81 v = atomic_fetch_or(IO_POLL_RETRY_FLAG, &req->poll_refs);
84 return !(atomic_fetch_inc(&req->poll_refs) & IO_POLL_REF_MASK);
88 * If refs part of ->poll_refs (see IO_POLL_REF_MASK) is 0, it's free. We can
95 if (unlikely(atomic_read(&req->poll_refs) >= IO_POLL_REF_BIAS))
97 return !(atomic_fetch_inc(&req->poll_refs) & IO_POLL_REF_MASK);
102 atomic_or(IO_POLL_CANCEL_FLAG, &req->poll_refs);
272 v = atomic_read(&req->poll_refs);
295 atomic_andnot(IO_POLL_RETRY_FLAG, &req->poll_refs);
348 } while (atomic_sub_return(v, &req->poll_refs)
[all...]
/linux-master/include/linux/
H A Dio_uring_types.h656 atomic_t poll_refs; member in struct:io_kiocb

Completed in 235 milliseconds