Home
last modified time | relevance | path

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

/linux-6.12.1/io_uring/
Dfdinfo.c59 unsigned int sq_mask = ctx->sq_entries - 1, cq_mask = ctx->cq_entries - 1; in io_uring_show_fdinfo()
66 unsigned int sq_entries, cq_entries; in io_uring_show_fdinfo() local
125 cq_entries = min(cq_tail - cq_head, ctx->cq_entries); in io_uring_show_fdinfo()
126 for (i = 0; i < cq_entries; i++) { in io_uring_show_fdinfo()
Dio_uring.c293 hash_bits = ilog2(p->cq_entries) - 5; in io_ring_ctx_alloc()
620 if (!dying && __io_cqring_events(ctx) == ctx->cq_entries) in __io_cqring_overflow_flush()
781 unsigned int off = ctx->cached_cq_tail & (ctx->cq_entries - 1); in io_cqe_cache_refill()
793 queued = min(__io_cqring_events(ctx), ctx->cq_entries); in io_cqe_cache_refill()
794 free = ctx->cq_entries - queued; in io_cqe_cache_refill()
796 len = min(free, ctx->cq_entries - off); in io_cqe_cache_refill()
2676 unsigned int cq_entries, size_t *sq_offset) in rings_size() argument
2681 off = struct_size(rings, cqes, cq_entries); in rings_size()
3376 ctx->cq_entries); in SYSCALL_DEFINE6()
3386 ctx->cq_entries); in SYSCALL_DEFINE6()
[all …]
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_cq.c313 static void set_cq_param(struct hns_roce_cq *hr_cq, u32 cq_entries, int vector, in set_cq_param() argument
318 cq_entries = max(cq_entries, hr_dev->caps.min_cqes); in set_cq_param()
319 cq_entries = roundup_pow_of_two(cq_entries); in set_cq_param()
320 hr_cq->ib_cq.cqe = cq_entries - 1; /* used as cqe index */ in set_cq_param()
321 hr_cq->cq_depth = cq_entries; in set_cq_param()
/linux-6.12.1/include/trace/events/
Dio_uring.h29 TP_PROTO(int fd, void *ctx, u32 sq_entries, u32 cq_entries, u32 flags),
31 TP_ARGS(fd, ctx, sq_entries, cq_entries, flags),
37 __field( u32, cq_entries )
45 __entry->cq_entries = cq_entries;
51 __entry->cq_entries, __entry->flags)
/linux-6.12.1/tools/include/uapi/linux/
Dio_uring.h487 __u32 cq_entries; member
/linux-6.12.1/include/uapi/linux/
Dio_uring.h527 __u32 cq_entries; member
/linux-6.12.1/tools/include/io_uring/
Dmini_liburing.h98 cq->ring_sz = p->cq_off.cqes + p->cq_entries * sizeof(struct io_uring_cqe); in io_uring_mmap()
/linux-6.12.1/include/linux/
Dio_uring_types.h316 unsigned cq_entries; member
/linux-6.12.1/tools/testing/selftests/x86/
Dlam.c390 cring->ring_sz = p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe); in mmap_io_uring()