Searched refs:cqe32 (Results 1 – 2 of 2) sorted by relevance
| /linux/io_uring/ |
| H A D | io_uring.h | 176 bool io_cqe_cache_refill(struct io_ring_ctx *ctx, bool overflow, bool cqe32); 261 bool overflow, bool cqe32) in io_get_cqe_overflow() argument 265 if (unlikely(ctx->cqe_sentinel - ctx->cqe_cached < (cqe32 + 1))) { in io_get_cqe_overflow() 266 if (unlikely(!io_cqe_cache_refill(ctx, overflow, cqe32))) in io_get_cqe_overflow() 274 } else if (cqe32 && ctx->flags & IORING_SETUP_CQE_MIXED) { in io_get_cqe_overflow() 283 bool cqe32) in io_get_cqe() argument 285 return io_get_cqe_overflow(ctx, ret, false, cqe32); in io_get_cqe()
|
| H A D | io_uring.c | 718 bool io_cqe_cache_refill(struct io_ring_ctx *ctx, bool overflow, bool cqe32) in io_cqe_cache_refill() argument 736 if (cqe32 && off + 1 == ctx->cq_entries) { in io_cqe_cache_refill() 745 if (len < (cqe32 + 1)) in io_cqe_cache_refill() 776 bool cqe32 = cflags & IORING_CQE_F_32; in io_fill_cqe_aux() local 779 if (likely(io_get_cqe(ctx, &cqe, cqe32))) { in io_fill_cqe_aux() 784 if (cqe32) { in io_fill_cqe_aux()
|