Home
last modified time | relevance | path

Searched refs:user_struct (Results 1 – 20 of 20) sorted by relevance

/linux/kernel/
H A Duser.c108 struct user_struct root_user = {
117 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert()
122 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove()
127 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find()
129 struct user_struct *user; in uid_hash_find()
141 static int user_epoll_alloc(struct user_struct *up) in user_epoll_alloc()
150 static void user_epoll_free(struct user_struct *up) in user_epoll_free()
161 static void free_user(struct user_struct *up, unsigned long flags) in free_user()
171 * Locate the user_struct for the passed UID. If found, take a ref on it. The
174 * If the user_struct coul
[all...]
/linux/include/linux/sched/
H A Duser.h14 struct user_struct { struct
41 extern struct user_struct *find_user(kuid_t); argument
43 extern struct user_struct root_user;
48 extern struct user_struct * alloc_uid(kuid_t);
49 static inline struct user_struct *get_uid(struct user_struct *u) in get_uid()
54 extern void free_uid(struct user_struct *);
/linux/io_uring/
H A Drsrc.h127 int __io_account_mem(struct user_struct *user, unsigned long nr_pages); in io_reset_rsrc_node()
128 int io_account_mem(struct user_struct *user, struct mm_struct *mm_account,
130 void io_unaccount_mem(struct user_struct *user, struct mm_struct *mm_account,
133 static inline void __io_unaccount_mem(struct user_struct *user,
H A Dmemmap.c20 struct user_struct *user) in io_mem_alloc_compound()
106 void io_free_region(struct user_struct *user, struct io_mapped_region *mr) in io_free_region()
177 struct user_struct *user) in io_region_allocate_pages()
H A Dzcrx.h66 struct user_struct *user;
H A Drsrc.c84 int __io_account_mem(struct user_struct *user, unsigned long nr_pages) in __io_account_mem()
104 void io_unaccount_mem(struct user_struct *user, struct mm_struct *mm_account, in io_unaccount_mem()
114 int io_account_mem(struct user_struct *user, struct mm_struct *mm_account, in io_account_mem()
/linux/include/linux/
H A Dpipe_fs_i.h124 struct user_struct *user;
343 unsigned long account_pipe_buffers(struct user_struct *user,
H A Dkey.h98 struct user_struct;
H A Dbpf.h1812 struct user_struct *user;
/linux/block/
H A Dioprio.c68 struct user_struct *user; in SYSCALL_DEFINE3()
183 struct user_struct *user; in SYSCALL_DEFINE2()
/linux/net/unix/
H A Daf_unix.h33 void unix_schedule_gc(struct user_struct *user);
H A Dgarbage.c643 void unix_schedule_gc(struct user_struct *user) in unix_schedule_gc()
H A Daf_unix.c1936 struct user_struct *user = current_user(); in too_many_unix_fds()
/linux/include/net/
H A Dxdp_sock.h30 struct user_struct *user;
H A Dscm.h40 struct user_struct *user;
/linux/kernel/events/
H A Dinternal.h40 struct user_struct *mmap_user;
H A Dcore.c7031 struct user_struct *mmap_user = rb->mmap_user; in perf_mmap_close()
7229 struct user_struct *user = current_user(); in perf_mmap_calc_limits()
7263 struct user_struct *user = current_user(); in perf_mmap_account()
7271 struct user_struct *user = rb->mmap_user; in perf_mmap_unaccount()
/linux/fs/
H A Dpipe.c850 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers()
879 struct user_struct *user = get_current_user(); in alloc_pipe_info()
H A Deventpoll.c333 struct user_struct *user;
/linux/net/core/
H A Dskbuff.c1688 struct user_struct *user; in mm_account_pinned_pages()