Searched refs:user_struct (Results 1 - 30 of 30) sorted by relevance

/linux-4.1.27/kernel/
H A Duser.c91 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 Dsys.c178 struct user_struct *user; SYSCALL_DEFINE3()
248 struct user_struct *user; SYSCALL_DEFINE2()
423 struct user_struct *new_user; set_user()
H A Dsignal.c364 struct user_struct *user; __sigqueue_alloc()
/linux-4.1.27/include/net/
H A Daf_unix.h9 void unix_inflight(struct user_struct *user, struct file *fp);
10 void unix_notinflight(struct user_struct *user, struct file *fp);
H A Dscm.h24 struct user_struct *user;
/linux-4.1.27/include/linux/
H A Dshm.h20 struct user_struct *mlock_user;
H A Dshmem_fs.h55 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
H A Dcred.h22 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 Dhugetlb.h13 struct user_struct;
255 struct user_struct **user, int creat_flags,
274 struct user_struct **user, int creat_flags, hugetlb_file_setup()
H A Dsched.h786 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 Dfsnotify_backend.h174 struct user_struct *user;
188 struct user_struct *user;
H A Dsignal.h20 struct user_struct *user;
H A Dkey.h77 struct user_struct;
H A Dmm.h28 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 Dioprio.c66 struct user_struct *user; SYSCALL_DEFINE3()
181 struct user_struct *user; SYSCALL_DEFINE2()
/linux-4.1.27/security/keys/
H A Dinternal.h45 * 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 Dprocess_keys.c45 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 Dinternal.h38 struct user_struct *mmap_user;
H A Dcore.c4466 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 Dgarbage.c119 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 Daf_unix.c1492 struct user_struct *user = current_user(); too_many_unix_fds()
/linux-4.1.27/mm/
H A Dmlock.c726 * 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 Dshmem.c1366 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 Dmmap.c1421 struct user_struct *user = NULL; SYSCALL_DEFINE6()
/linux-4.1.27/fs/notify/fanotify/
H A Dfanotify.c242 struct user_struct *user; fanotify_free_group_priv()
H A Dfanotify_user.c694 struct user_struct *user; SYSCALL_DEFINE2()
/linux-4.1.27/ipc/
H A Dmqueue.c78 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 Dshm.c1045 struct user_struct *user = current_user(); SYSCALL_DEFINE3()
/linux-4.1.27/fs/hugetlbfs/
H A Dinode.c969 vm_flags_t acctflag, struct user_struct **user, hugetlb_file_setup()
/linux-4.1.27/fs/
H A Deventpoll.c215 struct user_struct *user;
938 struct user_struct *user; ep_alloc()

Completed in 1125 milliseconds