Searched refs:user_struct (Results 1 – 25 of 36) sorted by relevance
12
| /Linux-v5.4/include/linux/sched/ |
| D | user.h | 13 struct user_struct { struct 46 extern struct user_struct *find_user(kuid_t); argument 48 extern struct user_struct root_user; 53 extern struct user_struct * alloc_uid(kuid_t); 54 static inline struct user_struct *get_uid(struct user_struct *u) in get_uid() 59 extern void free_uid(struct user_struct *);
|
| /Linux-v5.4/kernel/ |
| D | user.c | 99 struct user_struct root_user = { 111 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() 116 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove() 121 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() 123 struct user_struct *user; in uid_hash_find() 139 static void free_user(struct user_struct *up, unsigned long flags) in free_user() 153 struct user_struct *find_user(kuid_t uid) in find_user() 155 struct user_struct *ret; in find_user() 164 void free_uid(struct user_struct *up) in free_uid() 175 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid() [all …]
|
| D | sys.c | 199 struct user_struct *user; in SYSCALL_DEFINE3() 269 struct user_struct *user; in SYSCALL_DEFINE2() 454 struct user_struct *new_user; in set_user()
|
| /Linux-v5.4/net/unix/ |
| D | scm.c | 47 void unix_inflight(struct user_struct *user, struct file *fp) in unix_inflight() 68 void unix_notinflight(struct user_struct *user, struct file *fp) in unix_notinflight() 96 struct user_struct *user = current_user(); in too_many_unix_fds()
|
| /Linux-v5.4/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 | scm.h | 27 struct user_struct *user;
|
| D | xdp_sock.h | 52 struct user_struct *user;
|
| /Linux-v5.4/block/ |
| D | ioprio.c | 97 struct user_struct *user; in SYSCALL_DEFINE3() 189 struct user_struct *user; in SYSCALL_DEFINE2()
|
| /Linux-v5.4/include/linux/ |
| D | signal_types.h | 24 struct user_struct *user;
|
| D | cred.h | 145 struct user_struct *user; /* real user ID subscription */ 340 struct user_struct *__u; \
|
| D | bpf.h | 71 struct user_struct *user; 387 struct user_struct *user; 644 int __bpf_prog_charge(struct user_struct *user, u32 pages); 645 void __bpf_prog_uncharge(struct user_struct *user, u32 pages); 788 static inline int __bpf_prog_charge(struct user_struct *user, u32 pages) in __bpf_prog_charge() 793 static inline void __bpf_prog_uncharge(struct user_struct *user, u32 pages) in __bpf_prog_uncharge()
|
| D | pipe_fs_i.h | 62 struct user_struct *user;
|
| D | hugetlb.h | 15 struct user_struct; 290 struct user_struct **user, int creat_flags, 307 struct user_struct **user, int creat_flags, in hugetlb_file_setup()
|
| D | shmem_fs.h | 64 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
|
| D | key.h | 75 struct user_struct;
|
| D | fsnotify_backend.h | 210 struct user_struct *user;
|
| D | mm.h | 35 struct user_struct; 1427 extern int user_shm_lock(size_t, struct user_struct *); 1428 extern void user_shm_unlock(size_t, struct user_struct *);
|
| /Linux-v5.4/kernel/events/ |
| D | internal.h | 40 struct user_struct *mmap_user;
|
| /Linux-v5.4/mm/ |
| D | memfd.c | 300 struct user_struct *user = NULL; in SYSCALL_DEFINE2()
|
| D | mlock.c | 845 int user_shm_lock(size_t size, struct user_struct *user) in user_shm_lock() 867 void user_shm_unlock(size_t size, struct user_struct *user) in user_shm_unlock()
|
| /Linux-v5.4/kernel/bpf/ |
| D | syscall.c | 186 static int bpf_charge_memlock(struct user_struct *user, u32 pages) in bpf_charge_memlock() 197 static void bpf_uncharge_memlock(struct user_struct *user, u32 pages) in bpf_uncharge_memlock() 206 struct user_struct *user; in bpf_map_charge_init() 1240 int __bpf_prog_charge(struct user_struct *user, u32 pages) in __bpf_prog_charge() 1256 void __bpf_prog_uncharge(struct user_struct *user, u32 pages) in __bpf_prog_uncharge() 1264 struct user_struct *user = get_current_user(); in bpf_prog_charge_memlock() 1279 struct user_struct *user = prog->aux->user; in bpf_prog_uncharge_memlock()
|
| /Linux-v5.4/fs/ |
| D | pipe.c | 626 static unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers() 655 struct user_struct *user = get_current_user(); in alloc_pipe_info()
|
| D | eventpoll.c | 216 struct user_struct *user; 1016 struct user_struct *user; in ep_alloc()
|
| /Linux-v5.4/ipc/ |
| D | mqueue.c | 86 struct user_struct *user; /* user who created, for accounting */ 235 struct user_struct *u = current_user(); in mqueue_get_inode() 440 struct user_struct *user; in mqueue_evict_inode()
|
| /Linux-v5.4/fs/notify/fanotify/ |
| D | fanotify.c | 466 struct user_struct *user; in fanotify_free_group_priv()
|
12