/linux-4.1.27/kernel/ |
H A D | user.c | 91 struct user_struct root_user = { 102 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) uid_hash_insert() 107 static void uid_hash_remove(struct user_struct *up) uid_hash_remove() 112 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) uid_hash_find() 114 struct user_struct *user; uid_hash_find() 130 static void free_user(struct user_struct *up, unsigned long flags) 141 * Locate the user_struct for the passed UID. If found, take a ref on it. The 144 * If the user_struct could not be found, return NULL. 146 struct user_struct *find_user(kuid_t uid) find_user() 148 struct user_struct *ret; find_user() 157 void free_uid(struct user_struct *up) free_uid() 171 struct user_struct *alloc_uid(kuid_t uid) alloc_uid() 174 struct user_struct *up, *new; alloc_uid() 215 uid_cachep = kmem_cache_create("uid_cache", sizeof(struct user_struct), uid_cache_init()
|
H A D | sys.c | 178 struct user_struct *user; SYSCALL_DEFINE3() 248 struct user_struct *user; SYSCALL_DEFINE2() 423 struct user_struct *new_user; set_user()
|
H A D | signal.c | 364 struct user_struct *user; __sigqueue_alloc()
|
/linux-4.1.27/include/net/ |
H A D | af_unix.h | 9 void unix_inflight(struct user_struct *user, struct file *fp); 10 void unix_notinflight(struct user_struct *user, struct file *fp);
|
H A D | scm.h | 24 struct user_struct *user;
|
/linux-4.1.27/include/linux/ |
H A D | shm.h | 20 struct user_struct *mlock_user;
|
H A D | shmem_fs.h | 55 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
|
H A D | cred.h | 22 struct user_struct; 151 struct user_struct *user; /* real user ID subscription */ 310 * get_current_user - Get the current task's user_struct 317 struct user_struct *__u; \
|
H A D | hugetlb.h | 13 struct user_struct; 255 struct user_struct **user, int creat_flags, 274 struct user_struct **user, int creat_flags, hugetlb_file_setup()
|
H A D | sched.h | 786 struct user_struct { struct 823 extern struct user_struct *find_user(kuid_t); 825 extern struct user_struct root_user; 2344 extern struct user_struct * alloc_uid(kuid_t); get_uid() 2345 static inline struct user_struct *get_uid(struct user_struct *u) get_uid() 2350 extern void free_uid(struct user_struct *); 3022 extern int task_can_switch_user(struct user_struct *up,
|
H A D | fsnotify_backend.h | 174 struct user_struct *user; 188 struct user_struct *user;
|
H A D | signal.h | 20 struct user_struct *user;
|
H A D | key.h | 77 struct user_struct;
|
H A D | mm.h | 28 struct user_struct; 1090 extern int user_shm_lock(size_t, struct user_struct *); 1091 extern void user_shm_unlock(size_t, struct user_struct *);
|
/linux-4.1.27/block/ |
H A D | ioprio.c | 66 struct user_struct *user; SYSCALL_DEFINE3() 181 struct user_struct *user; SYSCALL_DEFINE2()
|
/linux-4.1.27/security/keys/ |
H A D | internal.h | 45 * This needs to be separate to user_struct to avoid a refcount-loop 46 * (user_struct pins some keyrings which pin this struct).
|
H A D | process_keys.c | 45 struct user_struct *user; install_user_keyrings() 71 * pinned by a session, but the user_struct pointing to it install_user_keyrings()
|
/linux-4.1.27/kernel/events/ |
H A D | internal.h | 38 struct user_struct *mmap_user;
|
H A D | core.c | 4466 struct user_struct *mmap_user = rb->mmap_user; perf_mmap_close() 4569 struct user_struct *user = current_user(); perf_mmap()
|
/linux-4.1.27/net/unix/ |
H A D | garbage.c | 119 void unix_inflight(struct user_struct *user, struct file *fp) unix_inflight() 140 void unix_notinflight(struct user_struct *user, struct file *fp) unix_notinflight()
|
H A D | af_unix.c | 1492 struct user_struct *user = current_user(); too_many_unix_fds()
|
/linux-4.1.27/mm/ |
H A D | mlock.c | 726 * shm segments) get accounted against the user_struct instead. 730 int user_shm_lock(size_t size, struct user_struct *user) user_shm_lock() 752 void user_shm_unlock(size_t size, struct user_struct *user) user_shm_unlock()
|
H A D | shmem.c | 1366 int shmem_lock(struct file *file, int lock, struct user_struct *user) shmem_lock() 3283 int shmem_lock(struct file *file, int lock, struct user_struct *user) shmem_lock()
|
H A D | mmap.c | 1421 struct user_struct *user = NULL; SYSCALL_DEFINE6()
|
/linux-4.1.27/fs/notify/fanotify/ |
H A D | fanotify.c | 242 struct user_struct *user; fanotify_free_group_priv()
|
H A D | fanotify_user.c | 694 struct user_struct *user; SYSCALL_DEFINE2()
|
/linux-4.1.27/ipc/ |
H A D | mqueue.c | 78 struct user_struct *user; /* user who created, for accounting */ 217 struct user_struct *u = current_user(); mqueue_get_inode() 374 struct user_struct *user; mqueue_evict_inode()
|
H A D | shm.c | 1045 struct user_struct *user = current_user(); SYSCALL_DEFINE3()
|
/linux-4.1.27/fs/hugetlbfs/ |
H A D | inode.c | 969 vm_flags_t acctflag, struct user_struct **user, hugetlb_file_setup()
|
/linux-4.1.27/fs/ |
H A D | eventpoll.c | 215 struct user_struct *user; 938 struct user_struct *user; ep_alloc()
|