Lines Matching refs:reqs
89 struct percpu_ref reqs; member
579 percpu_ref_exit(&ctx->reqs); in free_ioctx()
586 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs()
618 percpu_ref_kill(&ctx->reqs); in free_ioctx_users()
619 percpu_ref_put(&ctx->reqs); in free_ioctx_users()
736 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc()
764 percpu_ref_get(&ctx->reqs); /* free_ioctx_users() will drop this */ in ioctx_alloc()
787 percpu_ref_exit(&ctx->reqs); in ioctx_alloc()
1011 percpu_ref_get(&ctx->reqs); in aio_get_req()
1155 percpu_ref_put(&ctx->reqs); in aio_complete()
1567 percpu_ref_put(&ctx->reqs); in io_submit_one()