Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dio_uring.h265 if (unlikely(ctx->cqe_sentinel - ctx->cqe_cached < (cqe32 + 1))) { in io_get_cqe_overflow()
269 *ret = ctx->cqe_cached; in io_get_cqe_overflow()
271 ctx->cqe_cached++; in io_get_cqe_overflow()
273 ctx->cqe_cached++; in io_get_cqe_overflow()
275 ctx->cqe_cached++; in io_get_cqe_overflow()
278 WARN_ON_ONCE(ctx->cqe_cached > ctx->cqe_sentinel); in io_get_cqe_overflow()
H A Dio_uring.c556 ctx->cqe_sentinel = ctx->cqe_cached; in __io_cqring_overflow_flush()
755 ctx->cqe_cached = &rings->cqes[off]; in io_cqe_cache_refill()
756 ctx->cqe_sentinel = ctx->cqe_cached + len; in io_cqe_cache_refill()
H A Dregister.c662 ctx->cqe_cached = ctx->cqe_sentinel = NULL; in io_register_resize_rings()
/linux/include/linux/
H A Dio_uring_types.h435 struct io_uring_cqe *cqe_cached; member