Home
last modified time | relevance | path

Searched refs:sq_entries (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/include/trace/events/
Dio_uring.h26 TP_PROTO(int fd, void *ctx, u32 sq_entries, u32 cq_entries, u32 flags),
28 TP_ARGS(fd, ctx, sq_entries, cq_entries, flags),
33 __field( u32, sq_entries )
41 __entry->sq_entries = sq_entries;
47 __entry->ctx, __entry->fd, __entry->sq_entries,
/Linux-v5.15/tools/io_uring/
Dsetup.c17 sq->ring_sz = p->sq_off.array + p->sq_entries * sizeof(unsigned); in io_uring_mmap()
30 size = p->sq_entries * sizeof(struct io_uring_sqe); in io_uring_mmap()
46 munmap(sq->sqes, p->sq_entries * sizeof(struct io_uring_sqe)); in io_uring_mmap()
Dio_uring-bench.c432 ptr = mmap(0, p.sq_off.array + p.sq_entries * sizeof(__u32), in setup_ring()
444 s->sqes = mmap(0, p.sq_entries * sizeof(struct io_uring_sqe), in setup_ring()
/Linux-v5.15/include/uapi/linux/
Dio_uring.h265 __u32 sq_entries; member
/Linux-v5.15/drivers/net/ethernet/ibm/ehea/
Dehea_main.c50 static int sq_entries = EHEA_DEF_ENTRIES_SQ; variable
58 module_param(sq_entries, int, 0);
74 MODULE_PARM_DESC(sq_entries, " Number of entries for the Send Queue "
2252 pr_cfg.max_entries_scq = sq_entries * 2; in ehea_port_res_setup()
2253 pr_cfg.max_entries_sq = sq_entries; in ehea_port_res_setup()
2259 pr_cfg_small_rx.max_entries_scq = sq_entries; in ehea_port_res_setup()
2260 pr_cfg_small_rx.max_entries_sq = sq_entries; in ehea_port_res_setup()
2959 port->sig_comp_iv = sq_entries / 10; in ehea_setup_single_port()
3514 if ((sq_entries < EHEA_MIN_ENTRIES_QP) || in check_module_parm()
3515 (sq_entries > EHEA_MAX_ENTRIES_SQ)) { in check_module_parm()
/Linux-v5.15/fs/
Dio_uring.c363 unsigned sq_entries; member
1559 return READ_ONCE(r->sq.tail) - ctx->cached_sq_head == ctx->sq_entries; in io_sqring_full()
7239 unsigned head, mask = ctx->sq_entries - 1; in io_get_sqe()
7251 if (likely(head < ctx->sq_entries)) in io_get_sqe()
7267 nr = min3(nr, ctx->sq_entries, io_sqring_entries(ctx)); in io_submit_sqes()
8553 concurrency = min(ctx->sq_entries, 4 * num_online_cpus()); in io_init_wq_offload()
8762 static unsigned long rings_size(unsigned sq_entries, unsigned cq_entries, in rings_size() argument
8781 sq_array_size = array_size(sizeof(u32), sq_entries); in rings_size()
10154 ctx->sq_entries = p->sq_entries; in io_allocate_scq_urings()
10157 size = rings_size(p->sq_entries, p->cq_entries, &sq_array_offset); in io_allocate_scq_urings()
[all …]