Searched refs:user_struct (Results 1 – 20 of 20) sorted by relevance
| /linux/kernel/ |
| H A D | user.c | 108 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 D | user.h | 14 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 D | rsrc.h | 127 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 D | memmap.c | 20 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 D | zcrx.h | 66 struct user_struct *user;
|
| H A D | rsrc.c | 84 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 D | pipe_fs_i.h | 124 struct user_struct *user; 343 unsigned long account_pipe_buffers(struct user_struct *user,
|
| H A D | key.h | 98 struct user_struct;
|
| H A D | bpf.h | 1812 struct user_struct *user;
|
| /linux/block/ |
| H A D | ioprio.c | 68 struct user_struct *user; in SYSCALL_DEFINE3() 183 struct user_struct *user; in SYSCALL_DEFINE2()
|
| /linux/net/unix/ |
| H A D | af_unix.h | 33 void unix_schedule_gc(struct user_struct *user);
|
| H A D | garbage.c | 643 void unix_schedule_gc(struct user_struct *user) in unix_schedule_gc()
|
| H A D | af_unix.c | 1936 struct user_struct *user = current_user(); in too_many_unix_fds()
|
| /linux/include/net/ |
| H A D | xdp_sock.h | 30 struct user_struct *user;
|
| H A D | scm.h | 40 struct user_struct *user;
|
| /linux/kernel/events/ |
| H A D | internal.h | 40 struct user_struct *mmap_user;
|
| H A D | core.c | 7031 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 D | pipe.c | 850 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 D | eventpoll.c | 333 struct user_struct *user;
|
| /linux/net/core/ |
| H A D | skbuff.c | 1688 struct user_struct *user; in mm_account_pinned_pages()
|