Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/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.10/include/uapi/linux/
Dio_uring.h234 __u32 sq_entries; member
/Linux-v5.10/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 "
2251 pr_cfg.max_entries_scq = sq_entries * 2; in ehea_port_res_setup()
2252 pr_cfg.max_entries_sq = sq_entries; in ehea_port_res_setup()
2258 pr_cfg_small_rx.max_entries_scq = sq_entries; in ehea_port_res_setup()
2259 pr_cfg_small_rx.max_entries_sq = sq_entries; in ehea_port_res_setup()
2957 port->sig_comp_iv = sq_entries / 10; in ehea_setup_single_port()
3512 if ((sq_entries < EHEA_MIN_ENTRIES_QP) || in check_module_parm()
3513 (sq_entries > EHEA_MAX_ENTRIES_SQ)) { in check_module_parm()
/Linux-v5.10/fs/
Dio_uring.c277 unsigned sq_entries; member
6437 if (likely(head < ctx->sq_entries)) in io_get_sqe()
6557 nr = min3(nr, ctx->sq_entries, io_sqring_entries(ctx)); in io_submit_sqes()
7706 concurrency = min(ctx->sq_entries, 4 * num_online_cpus()); in io_init_wq_offload()
7937 static unsigned long rings_size(unsigned sq_entries, unsigned cq_entries, in rings_size() argument
7956 sq_array_size = array_size(sizeof(u32), sq_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()
7973 array_size(sizeof(struct io_uring_sqe), sq_entries)); in ring_pages()
8402 io_unaccount_mem(ctx, ring_pages(ctx->sq_entries, ctx->cq_entries), in io_ring_ctx_wait_and_kill()
[all …]