Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/io_uring/
H A Dio_uring.c475 int cached_refs; member
1732 tctx->cached_refs += nr; in io_put_task()
1743 unsigned int refill = -tctx->cached_refs + IO_TCTX_REFS_CACHE_NR; in io_task_refs_refill()
1747 tctx->cached_refs += refill; in io_task_refs_refill()
1754 tctx->cached_refs -= nr; in io_get_task_refs()
1755 if (unlikely(tctx->cached_refs < 0)) in io_get_task_refs()
1762 unsigned int refs = tctx->cached_refs; in io_uring_drop_tctx_refs()
1765 tctx->cached_refs = 0; in io_uring_drop_tctx_refs()
7220 current->io_uring->cached_refs += unused; in io_submit_sqes()
8549 WARN_ON_ONCE(tctx->cached_refs); in __io_uring_free()