Lines Matching refs:users
91 struct percpu_ref users; member
593 percpu_ref_exit(&ctx->users); in free_ioctx()
617 struct kioctx *ctx = container_of(ref, struct kioctx, users); in free_ioctx_users()
752 if (percpu_ref_init(&ctx->users, free_ioctx_users, 0, GFP_KERNEL)) in ioctx_alloc()
782 percpu_ref_get(&ctx->users); /* io_setup() will drop this ref */ in ioctx_alloc()
807 percpu_ref_exit(&ctx->users); in ioctx_alloc()
850 percpu_ref_kill(&ctx->users); in kill_ioctx()
1064 if (percpu_ref_tryget_live(&ctx->users)) in lookup_ioctx()
1332 percpu_ref_put(&ioctx->users); in SYSCALL_DEFINE2()
1364 percpu_ref_put(&ioctx->users); in COMPAT_SYSCALL_DEFINE2()
1393 percpu_ref_put(&ioctx->users); in SYSCALL_DEFINE1()
2081 percpu_ref_put(&ctx->users); in SYSCALL_DEFINE3()
2121 percpu_ref_put(&ctx->users); in COMPAT_SYSCALL_DEFINE3()
2174 percpu_ref_put(&ctx->users); in SYSCALL_DEFINE3()
2192 percpu_ref_put(&ioctx->users); in do_io_getevents()