| /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() 176 struct user_struct *find_user(kuid_t uid) in find_user() 178 struct user_struct *ret; in find_user() [all …]
|
| H A D | sys.c | 262 struct user_struct *user; in SYSCALL_DEFINE3() 332 struct user_struct *user; in SYSCALL_DEFINE2() 525 struct user_struct *new_user; in set_user()
|
| /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/include/linux/ |
| H A D | pipe_fs_i.h | 106 struct user_struct *user; 325 unsigned long account_pipe_buffers(struct user_struct *user,
|
| H A D | cred.h | 140 struct user_struct *user; /* real user ID subscription */ 339 struct user_struct *__u; \
|
| H A D | key.h | 98 struct user_struct;
|
| H A D | io_uring_types.h | 424 struct user_struct *user;
|
| H A D | hugetlb.h | 20 struct user_struct;
|
| H A D | mm.h | 43 struct user_struct;
|
| /linux/block/ |
| H A D | ioprio.c | 68 struct user_struct *user; in SYSCALL_DEFINE3() 183 struct user_struct *user; in SYSCALL_DEFINE2()
|
| /linux/io_uring/ |
| H A D | rsrc.h | 122 int __io_account_mem(struct user_struct *user, unsigned long nr_pages); 123 int io_account_mem(struct user_struct *user, struct mm_struct *mm_account, 125 void io_unaccount_mem(struct user_struct *user, struct mm_struct *mm_account, 128 static inline void __io_unaccount_mem(struct user_struct *user, in __io_unaccount_mem()
|
| H A D | zcrx.h | 44 struct user_struct *user;
|
| H A D | memmap.c | 91 void io_free_region(struct user_struct *user, struct io_mapped_region *mr) in io_free_region()
|
| H A D | rsrc.c | 39 int __io_account_mem(struct user_struct *user, unsigned long nr_pages) in __io_account_mem() 59 void io_unaccount_mem(struct user_struct *user, struct mm_struct *mm_account, in io_unaccount_mem() 69 int io_account_mem(struct user_struct *user, struct mm_struct *mm_account, in io_account_mem()
|
| /linux/Documentation/translations/zh_CN/security/ |
| H A D | credentials.rst | 277 struct user_struct *current_user(void) Current's user account 294 struct user_struct *get_current_user(void);
|
| /linux/include/net/ |
| H A D | scm.h | 40 struct user_struct *user;
|
| H A D | xdp_sock.h | 30 struct user_struct *user;
|
| /linux/kernel/events/ |
| H A D | internal.h | 40 struct user_struct *mmap_user;
|
| /linux/drivers/iommu/iommufd/ |
| H A D | io_pagetable.h | 230 struct user_struct *source_user;
|
| H A D | ioas.c | 496 struct user_struct *old_user = pages->source_user; in change_mm()
|
| /linux/arch/s390/kvm/ |
| H A D | pci.c | 196 struct user_struct *user = get_uid(current_user()); in unaccount_mem() 206 struct user_struct *user = get_uid(current_user()); in account_mem()
|
| /linux/Documentation/bpf/ |
| H A D | drgn.rst | 175 .user = (struct user_struct *)root_user+0x0 = 0xffffffff82444820,
|
| /linux/net/unix/ |
| H A D | garbage.c | 617 void unix_schedule_gc(struct user_struct *user) in unix_schedule_gc()
|
| /linux/fs/ |
| H A D | pipe.c | 767 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers() 796 struct user_struct *user = get_current_user(); in alloc_pipe_info()
|
| /linux/Documentation/security/ |
| H A D | credentials.rst | 326 struct user_struct *current_user(void) Current's user account 347 struct user_struct *get_current_user(void);
|