Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/io_uring/
H A Dio_uring.c315 unsigned int free_reqs; member
1952 nr = state->free_reqs; in io_flush_cached_reqs()
1963 state->free_reqs = nr; in io_flush_cached_reqs()
1982 if (likely(state->free_reqs || io_flush_cached_reqs(ctx))) in io_alloc_req()
2001 state->free_reqs = ret; in io_alloc_req()
2003 state->free_reqs--; in io_alloc_req()
2004 return state->reqs[state->free_reqs]; in io_alloc_req()
2365 if (state->free_reqs != ARRAY_SIZE(state->reqs)) in io_req_free_batch()
2366 state->reqs[state->free_reqs++] = req; in io_req_free_batch()
9188 if (state->free_reqs) { in io_req_caches_free()
[all …]