Lines Matching refs:user
450 struct user_struct *user; member
8364 fpl->user = get_uid(current_user()); in __io_sqe_files_scm()
8371 unix_inflight(fpl->user, fpl->fp[nr_files]); in __io_sqe_files_scm()
8391 free_uid(fpl->user); in __io_sqe_files_scm()
8466 unix_notinflight(fp->user, fp->fp[i]); in io_rsrc_file_put()
8977 static inline void __io_unaccount_mem(struct user_struct *user, in __io_unaccount_mem() argument
8980 atomic_long_sub(nr_pages, &user->locked_vm); in __io_unaccount_mem()
8983 static inline int __io_account_mem(struct user_struct *user, in __io_account_mem() argument
8992 cur_pages = atomic_long_read(&user->locked_vm); in __io_account_mem()
8996 } while (atomic_long_cmpxchg(&user->locked_vm, cur_pages, in __io_account_mem()
9004 if (ctx->user) in io_unaccount_mem()
9005 __io_unaccount_mem(ctx->user, nr_pages); in io_unaccount_mem()
9015 if (ctx->user) { in io_account_mem()
9016 ret = __io_account_mem(ctx->user, nr_pages); in io_account_mem()
9590 free_uid(ctx->user); in io_ring_ctx_free()
10587 ctx->user = get_uid(current_user()); in io_uring_create()