Searched refs:entries (Results 1 – 2 of 2) sorted by relevance
271 unsigned int entries; in io_sqring_entries() local274 entries = smp_load_acquire(&rings->sq.tail) - ctx->cached_sq_head; in io_sqring_entries()275 return min(entries, ctx->sq_entries); in io_sqring_entries()
2431 unsigned int entries = io_sqring_entries(ctx); in io_submit_sqes() local2435 if (unlikely(!entries)) in io_submit_sqes()2438 ret = left = min(nr, entries); in io_submit_sqes()3860 static __cold int io_uring_create(unsigned entries, struct io_uring_params *p, in io_uring_create() argument3868 if (!entries) in io_uring_create()3870 if (entries > IORING_MAX_ENTRIES) { in io_uring_create()3873 entries = IORING_MAX_ENTRIES; in io_uring_create()3888 p->sq_entries = roundup_pow_of_two(entries); in io_uring_create()4071 static long io_uring_setup(u32 entries, struct io_uring_params __user *params) in io_uring_setup() argument4094 return io_uring_create(entries, &p, params); in io_uring_setup()[all …]