/Linux-v4.19/include/linux/sched/ |
D | user.h | 15 struct user_struct { struct 53 extern struct user_struct *find_user(kuid_t); argument 55 extern struct user_struct root_user; 60 extern struct user_struct * alloc_uid(kuid_t); 61 static inline struct user_struct *get_uid(struct user_struct *u) in get_uid() 66 extern void free_uid(struct user_struct *);
|
/Linux-v4.19/kernel/ |
D | user.c | 98 struct user_struct root_user = { 110 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() 115 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove() 120 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() 122 struct user_struct *user; in uid_hash_find() 138 static void free_user(struct user_struct *up, unsigned long flags) in free_user() 154 struct user_struct *find_user(kuid_t uid) in find_user() 156 struct user_struct *ret; in find_user() 165 void free_uid(struct user_struct *up) in free_uid() 176 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid() [all …]
|
D | sys.c | 196 struct user_struct *user; in SYSCALL_DEFINE3() 266 struct user_struct *user; in SYSCALL_DEFINE2() 451 struct user_struct *new_user; in set_user()
|
/Linux-v4.19/include/net/ |
D | af_unix.h | 11 void unix_inflight(struct user_struct *user, struct file *fp); 12 void unix_notinflight(struct user_struct *user, struct file *fp);
|
D | xdp_sock.h | 36 struct user_struct *user;
|
D | scm.h | 27 struct user_struct *user;
|
/Linux-v4.19/include/linux/ |
D | bpf.h | 82 struct user_struct *user ____cacheline_aligned; 289 struct user_struct *user; 440 int __bpf_prog_charge(struct user_struct *user, u32 pages); 441 void __bpf_prog_uncharge(struct user_struct *user, u32 pages); 572 static inline int __bpf_prog_charge(struct user_struct *user, u32 pages) in __bpf_prog_charge() 577 static inline void __bpf_prog_uncharge(struct user_struct *user, u32 pages) in __bpf_prog_uncharge()
|
D | signal_types.h | 20 struct user_struct *user;
|
D | cred.h | 150 struct user_struct *user; /* real user ID subscription */ 323 struct user_struct *__u; \
|
D | pipe_fs_i.h | 62 struct user_struct *user;
|
D | hugetlb.h | 15 struct user_struct; 304 struct user_struct **user, int creat_flags, 321 struct user_struct **user, int creat_flags, in hugetlb_file_setup()
|
D | shmem_fs.h | 62 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
|
D | key.h | 79 struct user_struct;
|
D | fsnotify_backend.h | 194 struct user_struct *user;
|
D | mm.h | 34 struct user_struct; 1311 extern int user_shm_lock(size_t, struct user_struct *); 1312 extern void user_shm_unlock(size_t, struct user_struct *);
|
/Linux-v4.19/block/ |
D | ioprio.c | 96 struct user_struct *user; in SYSCALL_DEFINE3() 188 struct user_struct *user; in SYSCALL_DEFINE2()
|
/Linux-v4.19/net/unix/ |
D | garbage.c | 119 void unix_inflight(struct user_struct *user, struct file *fp) in unix_inflight() 140 void unix_notinflight(struct user_struct *user, struct file *fp) in unix_notinflight()
|
/Linux-v4.19/kernel/bpf/ |
D | syscall.c | 174 struct user_struct *user = get_current_user(); in bpf_map_precharge_memlock() 185 static int bpf_charge_memlock(struct user_struct *user, u32 pages) in bpf_charge_memlock() 196 static void bpf_uncharge_memlock(struct user_struct *user, u32 pages) in bpf_uncharge_memlock() 203 struct user_struct *user = get_current_user(); in bpf_map_init_memlock() 217 struct user_struct *user = map->user; in bpf_map_release_memlock() 1003 int __bpf_prog_charge(struct user_struct *user, u32 pages) in __bpf_prog_charge() 1019 void __bpf_prog_uncharge(struct user_struct *user, u32 pages) in __bpf_prog_uncharge() 1027 struct user_struct *user = get_current_user(); in bpf_prog_charge_memlock() 1042 struct user_struct *user = prog->aux->user; in bpf_prog_uncharge_memlock()
|
/Linux-v4.19/kernel/events/ |
D | internal.h | 39 struct user_struct *mmap_user;
|
/Linux-v4.19/mm/ |
D | memfd.c | 316 struct user_struct *user = NULL; in SYSCALL_DEFINE2()
|
D | mlock.c | 840 int user_shm_lock(size_t size, struct user_struct *user) in user_shm_lock() 862 void user_shm_unlock(size_t size, struct user_struct *user) in user_shm_unlock()
|
/Linux-v4.19/fs/notify/fanotify/ |
D | fanotify.c | 258 struct user_struct *user; in fanotify_free_group_priv()
|
/Linux-v4.19/fs/ |
D | pipe.c | 600 static unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers() 629 struct user_struct *user = get_current_user(); in alloc_pipe_info()
|
/Linux-v4.19/ipc/ |
D | mqueue.c | 80 struct user_struct *user; /* user who created, for accounting */ 219 struct user_struct *u = current_user(); in mqueue_get_inode() 391 struct user_struct *user; in mqueue_evict_inode()
|
/Linux-v4.19/security/keys/ |
D | process_keys.c | 46 struct user_struct *user; in install_user_keyrings()
|