Searched refs:cq_entries (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/io_uring/ |
H A D | fdinfo.c | 58 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 D | io_uring.c | 300 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 D | hns_roce_cq.c | 314 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 D | io_uring.h | 29 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 D | io_uring_types.h | 278 unsigned cq_entries; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | io_uring.h | 475 __u32 cq_entries; member
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | io_uring_zerocopy_tx.c | 198 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 D | lam.c | 390 cring->ring_sz = p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe); in mmap_io_uring()
|