Home
last modified time | relevance | path

Searched refs:nr_reqs (Results 1 – 2 of 2) sorted by relevance

/linux/io_uring/
H A Dio_uring.c973 int nr_reqs = ARRAY_SIZE(reqs); in __io_alloc_req_refill() local
979 if (!kmem_cache_alloc_bulk(req_cachep, gfp, nr_reqs, reqs)) { in __io_alloc_req_refill()
983 nr_reqs = 1; in __io_alloc_req_refill()
986 percpu_ref_get_many(&ctx->refs, nr_reqs); in __io_alloc_req_refill()
987 ctx->nr_req_allocated += nr_reqs; in __io_alloc_req_refill()
989 while (nr_reqs--) in __io_alloc_req_refill()
990 io_req_add_to_cache(reqs[nr_reqs], ctx); in __io_alloc_req_refill()
/linux/include/linux/
H A Dcompat.h573 asmlinkage long compat_sys_io_setup(unsigned nr_reqs, u32 __user *ctx32p);