Home
last modified time | relevance | path

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

/openbmc/linux/io_uring/
H A Dfdinfo.c58 unsigned int sq_mask = ctx->sq_entries - 1, cq_mask = ctx->cq_entries - 1; in io_uring_show_fdinfo()
65 unsigned int sq_entries, cq_entries; in io_uring_show_fdinfo() local
123 cq_entries = min(cq_tail - cq_head, ctx->cq_entries); in io_uring_show_fdinfo()
124 for (i = 0; i < cq_entries; i++) { in io_uring_show_fdinfo()
H A Dio_uring.c300 hash_bits = ilog2(p->cq_entries) - 5; in io_ring_ctx_alloc()
694 if (__io_cqring_events(ctx) == ctx->cq_entries) in __io_cqring_overflow_flush()
852 unsigned int off = ctx->cached_cq_tail & (ctx->cq_entries - 1); in io_cqe_cache_refill()
864 queued = min(__io_cqring_events(ctx), ctx->cq_entries); in io_cqe_cache_refill()
865 free = ctx->cq_entries - queued; in io_cqe_cache_refill()
867 len = min(free, ctx->cq_entries - off); in io_cqe_cache_refill()
2805 unsigned int cq_entries, size_t *sq_offset) in rings_size() argument
2810 off = struct_size(rings, cqes, cq_entries); in rings_size()
3716 ctx->cq_entries); in SYSCALL_DEFINE6()
3727 ctx->cq_entries); in SYSCALL_DEFINE6()
[all …]
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_cq.c314 static void set_cq_param(struct hns_roce_cq *hr_cq, u32 cq_entries, int vector, in set_cq_param() argument
319 cq_entries = max(cq_entries, hr_dev->caps.min_cqes); in set_cq_param()
320 cq_entries = roundup_pow_of_two(cq_entries); in set_cq_param()
321 hr_cq->ib_cq.cqe = cq_entries - 1; /* used as cqe index */ in set_cq_param()
322 hr_cq->cq_depth = cq_entries; in set_cq_param()
/openbmc/linux/include/trace/events/
H A 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)
/openbmc/linux/include/linux/
H A Dio_uring_types.h278 unsigned cq_entries; member
/openbmc/linux/include/uapi/linux/
H A Dio_uring.h475 __u32 cq_entries; member
/openbmc/linux/tools/testing/selftests/net/
H A Dio_uring_zerocopy_tx.c198 cq->ring_sz = p->cq_off.cqes + p->cq_entries * sizeof(struct io_uring_cqe); in io_uring_mmap()
/openbmc/linux/tools/testing/selftests/x86/
H A Dlam.c390 cring->ring_sz = p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe); in mmap_io_uring()