Searched refs:uring_cache (Results 1 – 4 of 4) sorted by relevance
19 static struct uring_cache *io_uring_async_get(struct io_kiocb *req) in io_uring_async_get()22 struct uring_cache *cache; in io_uring_async_get()24 cache = io_alloc_cache_get(&ctx->uring_cache); in io_uring_async_get()38 struct uring_cache *cache = req->async_data; in io_req_uring_cleanup()42 if (io_alloc_cache_put(&req->ctx->uring_cache, cache)) { in io_req_uring_cleanup()182 struct uring_cache *cache; in io_uring_cmd_prep_setup()255 struct uring_cache *cache = req->async_data; in io_uring_cmd()
3 struct uring_cache { struct
317 ret |= io_alloc_cache_init(&ctx->uring_cache, IO_ALLOC_CACHE_MAX, in io_ring_ctx_alloc()318 sizeof(struct uring_cache)); in io_ring_ctx_alloc()360 io_alloc_cache_free(&ctx->uring_cache, kfree); in io_ring_ctx_alloc()2746 io_alloc_cache_free(&ctx->uring_cache, kfree); in io_ring_ctx_free()
298 struct io_alloc_cache uring_cache; member