Lines Matching refs:reqs
93 struct percpu_ref reqs; member
575 percpu_ref_exit(&ctx->reqs); in free_ioctx()
582 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs()
614 percpu_ref_kill(&ctx->reqs); in free_ioctx_users()
615 percpu_ref_put(&ctx->reqs); in free_ioctx_users()
738 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc()
766 percpu_ref_get(&ctx->reqs); /* free_ioctx_users() will drop this */ in ioctx_alloc()
789 percpu_ref_exit(&ctx->reqs); in ioctx_alloc()
1014 percpu_ref_get(&ctx->reqs); in aio_get_req()
1055 percpu_ref_put(&iocb->ki_ctx->reqs); in iocb_put()
1868 percpu_ref_put(&ctx->reqs); in io_submit_one()