Searched refs:sq_entries (Results 1 – 11 of 11) sorted by relevance
/linux/io_uring/ |
H A D | fdinfo.c | 59 unsigned int sq_mask = ctx->sq_entries - 1, cq_mask = ctx->cq_entries - 1; in io_uring_show_fdinfo() 66 unsigned int sq_entries, cq_entries; in io_uring_show_fdinfo() local 92 sq_entries = min(sq_tail - sq_head, ctx->sq_entries); in io_uring_show_fdinfo() 93 for (i = 0; i < sq_entries; i++) { in io_uring_show_fdinfo()
|
H A D | io_uring.c | 2263 unsigned mask = ctx->sq_entries - 1; in io_get_sqe() 2268 if (unlikely(head >= ctx->sq_entries)) { in io_get_sqe() 2675 static unsigned long rings_size(struct io_ring_ctx *ctx, unsigned int sq_entries, in rings_size() 2702 sq_array_size = array_size(sizeof(u32), sq_entries); in rings_size() 3437 ctx->sq_entries = p->sq_entries; in io_allocate_scq_urings() 3440 size = rings_size(ctx, p->sq_entries, p->cq_entries, &sq_array_offset); in io_allocate_scq_urings() 3455 rings->sq_ring_mask = p->sq_entries - 1; in io_allocate_scq_urings() 3457 rings->sq_ring_entries = p->sq_entries; in io_allocate_scq_urings() 3461 size = array_size(2 * sizeof(struct io_uring_sqe), p->sq_entries); in io_allocate_scq_urings() 2672 rings_size(struct io_ring_ctx * ctx,unsigned int sq_entries,unsigned int cq_entries,size_t * sq_offset) rings_size() argument [all...] |
H A D | io_uring.h | 294 return READ_ONCE(r->sq.tail) - READ_ONCE(r->sq.head) == ctx->sq_entries; in io_sqring_full() 304 return min(entries, ctx->sq_entries); in io_sqring_entries()
|
H A D | tctx.c | 42 concurrency = min(ctx->sq_entries, 4 * num_online_cpus()); in io_init_wq_offload()
|
/linux/include/trace/events/ |
H A D | io_uring.h | 20 * @sq_entries: actual SQ size 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), 36 __field( u32, sq_entries ) 44 __entry->sq_entries = sq_entries; 50 __entry->ctx, __entry->fd, __entry->sq_entries,
|
/linux/tools/include/io_uring/ |
H A D | mini_liburing.h | 75 sq->ring_sz = p->sq_off.array + p->sq_entries * sizeof(unsigned int); in io_uring_mmap() 88 size = p->sq_entries * sizeof(struct io_uring_sqe); in io_uring_mmap() 103 munmap(sq->sqes, p->sq_entries * sizeof(struct io_uring_sqe)); in io_uring_mmap()
|
/linux/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_main.c | 53 static int sq_entries = EHEA_DEF_ENTRIES_SQ; variable 61 module_param(sq_entries, int, 0); 77 MODULE_PARM_DESC(sq_entries, " Number of entries for the Send Queue " 2255 pr_cfg.max_entries_scq = sq_entries * 2; in ehea_port_res_setup() 2256 pr_cfg.max_entries_sq = sq_entries; in ehea_port_res_setup() 2262 pr_cfg_small_rx.max_entries_scq = sq_entries; in ehea_port_res_setup() 2263 pr_cfg_small_rx.max_entries_sq = sq_entries; in ehea_port_res_setup() 2963 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/tools/include/uapi/linux/ |
H A D | io_uring.h | 486 __u32 sq_entries; member
|
/linux/include/linux/ |
H A D | io_uring_types.h | 267 unsigned sq_entries; member
|
/linux/include/uapi/linux/ |
H A D | io_uring.h | 526 __u32 sq_entries; member
|
/linux/tools/testing/selftests/x86/ |
H A D | lam.c | 389 sring->ring_sz = p.sq_off.array + p.sq_entries * sizeof(unsigned int); in mmap_io_uring() 429 s->sq_ring.queue.sqes = mmap(0, p.sq_entries * sizeof(struct io_uring_sqe), in mmap_io_uring()
|