Searched refs:sq_entries (Results 1 – 1 of 1) sorted by relevance
363 unsigned sq_entries; member1602 return READ_ONCE(r->sq.tail) - ctx->cached_sq_head == ctx->sq_entries; in io_sqring_full()7530 unsigned head, mask = ctx->sq_entries - 1; in io_get_sqe()7542 if (likely(head < ctx->sq_entries)) in io_get_sqe()7560 nr = min3(nr, ctx->sq_entries, io_sqring_entries(ctx)); in io_submit_sqes()8838 concurrency = min(ctx->sq_entries, 4 * num_online_cpus()); in io_init_wq_offload()9046 static unsigned long rings_size(unsigned sq_entries, unsigned cq_entries, in rings_size() argument9065 sq_array_size = array_size(sizeof(u32), sq_entries); in rings_size()10455 ctx->sq_entries = p->sq_entries; in io_allocate_scq_urings()10458 size = rings_size(p->sq_entries, p->cq_entries, &sq_array_offset); in io_allocate_scq_urings()[all …]