Searched refs:user (Results 1 – 5 of 5) sorted by relevance
/io_uring/ |
D | notif.h | 36 if (ctx->user) { in io_notif_account_mem() 37 ret = __io_account_mem(ctx->user, nr_pages); in io_notif_account_mem()
|
D | rsrc.h | 160 int __io_account_mem(struct user_struct *user, unsigned long nr_pages); 162 static inline void __io_unaccount_mem(struct user_struct *user, in __io_unaccount_mem() argument 165 atomic_long_sub(nr_pages, &user->locked_vm); in __io_unaccount_mem()
|
D | notif.c | 17 if (nd->account_pages && ctx->user) { in __io_notif_complete_tw() 18 __io_unaccount_mem(ctx->user, nd->account_pages); in __io_notif_complete_tw()
|
D | rsrc.c | 45 int __io_account_mem(struct user_struct *user, unsigned long nr_pages) in __io_account_mem() argument 55 cur_pages = atomic_long_read(&user->locked_vm); in __io_account_mem() 60 } while (!atomic_long_try_cmpxchg(&user->locked_vm, in __io_account_mem() 67 if (ctx->user) in io_unaccount_mem() 68 __io_unaccount_mem(ctx->user, nr_pages); in io_unaccount_mem() 78 if (ctx->user) { in io_account_mem() 79 ret = __io_account_mem(ctx->user, nr_pages); in io_account_mem() 850 fpl->user = get_uid(current_user()); in __io_scm_file_account() 863 unix_inflight(fpl->user, file); in __io_scm_file_account() 901 unix_notinflight(fp->user, fp->fp[i]); in io_rsrc_file_put()
|
D | io_uring.c | 2660 free_uid(ctx->user); in io_ring_ctx_free() 3542 ctx->user = get_uid(current_user()); in io_uring_create()
|