Searched refs:cq_entries (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 251 u32 cq_entries = attr->cqe; in hns_roce_create_cq() local 254 if (cq_entries < 1 || cq_entries > hr_dev->caps.max_cqes) { in hns_roce_create_cq() 256 cq_entries, hr_dev->caps.max_cqes); in hns_roce_create_cq() 266 cq_entries = max(cq_entries, hr_dev->caps.min_cqes); in hns_roce_create_cq() 267 cq_entries = roundup_pow_of_two(cq_entries); in hns_roce_create_cq() 268 hr_cq->ib_cq.cqe = cq_entries - 1; /* used as cqe index */ in hns_roce_create_cq() 269 hr_cq->cq_depth = cq_entries; in hns_roce_create_cq()
|
/Linux-v5.10/include/trace/events/ |
D | io_uring.h | 26 TP_PROTO(int fd, void *ctx, u32 sq_entries, u32 cq_entries, u32 flags), 28 TP_ARGS(fd, ctx, sq_entries, cq_entries, flags), 34 __field( u32, cq_entries ) 42 __entry->cq_entries = cq_entries; 48 __entry->cq_entries, __entry->flags)
|
/Linux-v5.10/tools/io_uring/ |
D | setup.c | 41 cq->ring_sz = p->cq_off.cqes + p->cq_entries * sizeof(struct io_uring_cqe); in io_uring_mmap()
|
D | io_uring-bench.c | 449 ptr = mmap(0, p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe), in setup_ring()
|
/Linux-v5.10/include/uapi/linux/ |
D | io_uring.h | 235 __u32 cq_entries; member
|
/Linux-v5.10/fs/ |
D | io_uring.c | 353 unsigned cq_entries; member 1147 hash_bits = ilog2(p->cq_entries); in io_ring_ctx_alloc() 7937 static unsigned long rings_size(unsigned sq_entries, unsigned cq_entries, in rings_size() argument 7943 off = struct_size(rings, cqes, cq_entries); in rings_size() 7966 static unsigned long ring_pages(unsigned sq_entries, unsigned cq_entries) in ring_pages() argument 7971 rings_size(sq_entries, cq_entries, NULL)); in ring_pages() 8402 io_unaccount_mem(ctx, ring_pages(ctx->sq_entries, ctx->cq_entries), in io_ring_ctx_wait_and_kill() 8991 min_complete = min(min_complete, ctx->cq_entries); in SYSCALL_DEFINE6() 9140 ctx->cq_entries = p->cq_entries; in io_allocate_scq_urings() 9142 size = rings_size(p->sq_entries, p->cq_entries, &sq_array_offset); in io_allocate_scq_urings() [all …]
|