Lines Matching refs:reqs
89 struct percpu_ref reqs; member
570 percpu_ref_exit(&ctx->reqs); in free_ioctx()
577 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs()
609 percpu_ref_kill(&ctx->reqs); in free_ioctx_users()
610 percpu_ref_put(&ctx->reqs); in free_ioctx_users()
727 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc()
755 percpu_ref_get(&ctx->reqs); /* free_ioctx_users() will drop this */ in ioctx_alloc()
778 percpu_ref_exit(&ctx->reqs); in ioctx_alloc()
1002 percpu_ref_get(&ctx->reqs); in aio_get_req()
1146 percpu_ref_put(&ctx->reqs); in aio_complete()
1558 percpu_ref_put(&ctx->reqs); in io_submit_one()