Lines Matching defs:cache
22 struct uring_cache *cache;
24 cache = io_alloc_cache_get(&ctx->uring_cache);
25 if (cache) {
27 req->async_data = cache;
28 return cache;
38 struct uring_cache *cache = req->async_data;
42 if (io_alloc_cache_put(&req->ctx->uring_cache, cache)) {
182 struct uring_cache *cache;
184 cache = io_uring_async_get(req);
185 if (unlikely(!cache))
255 struct uring_cache *cache = req->async_data;
257 if (ioucmd->sqe != (void *) cache)
258 memcpy(cache, ioucmd->sqe, uring_sqe_size(req->ctx));