Home
last modified time | relevance | path

Searched refs:user_struct (Results 1 – 35 of 35) sorted by relevance

/linux-4.4.14/kernel/
Duser.c91 struct user_struct root_user = {
102 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert()
107 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove()
112 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find()
114 struct user_struct *user; in uid_hash_find()
130 static void free_user(struct user_struct *up, unsigned long flags) in free_user()
146 struct user_struct *find_user(kuid_t uid) in find_user()
148 struct user_struct *ret; in find_user()
157 void free_uid(struct user_struct *up) in free_uid()
171 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid()
[all …]
Dsys.c178 struct user_struct *user; in SYSCALL_DEFINE3()
248 struct user_struct *user; in SYSCALL_DEFINE2()
423 struct user_struct *new_user; in set_user()
Dsignal.c364 struct user_struct *user; in __sigqueue_alloc()
/linux-4.4.14/include/net/
Daf_unix.h9 void unix_inflight(struct user_struct *user, struct file *fp);
10 void unix_notinflight(struct user_struct *user, struct file *fp);
Dscm.h24 struct user_struct *user;
/linux-4.4.14/include/linux/
Dcred.h22 struct user_struct;
152 struct user_struct *user; /* real user ID subscription */
325 struct user_struct *__u; \
Dbpf.h40 struct user_struct *user;
134 struct user_struct *user;
Dshm.h20 struct user_struct *mlock_user;
Dpipe_fs_i.h61 struct user_struct *user;
Dshmem_fs.h52 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
Dfsnotify_backend.h172 struct user_struct *user;
186 struct user_struct *user;
Dhugetlb.h13 struct user_struct;
265 struct user_struct **user, int creat_flags,
284 struct user_struct **user, int creat_flags, in hugetlb_file_setup()
Dsched.h814 struct user_struct { struct
852 extern struct user_struct *find_user(kuid_t); argument
854 extern struct user_struct root_user;
2442 extern struct user_struct * alloc_uid(kuid_t);
2443 static inline struct user_struct *get_uid(struct user_struct *u) in get_uid()
2448 extern void free_uid(struct user_struct *);
3120 extern int task_can_switch_user(struct user_struct *up,
Dkey.h77 struct user_struct;
Dsignal.h20 struct user_struct *user;
Dmm.h29 struct user_struct;
1073 extern int user_shm_lock(size_t, struct user_struct *);
1074 extern void user_shm_unlock(size_t, struct user_struct *);
/linux-4.4.14/block/
Dioprio.c66 struct user_struct *user; in SYSCALL_DEFINE3()
182 struct user_struct *user; in SYSCALL_DEFINE2()
/linux-4.4.14/net/unix/
Dgarbage.c119 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()
Daf_unix.c1524 struct user_struct *user = current_user(); in too_many_unix_fds()
/linux-4.4.14/kernel/bpf/
Dsyscall.c51 struct user_struct *user = get_current_user(); in bpf_map_charge_memlock()
69 struct user_struct *user = map->user; in bpf_map_uncharge_memlock()
514 struct user_struct *user = get_current_user(); in bpf_prog_charge_memlock()
531 struct user_struct *user = prog->aux->user; in bpf_prog_uncharge_memlock()
/linux-4.4.14/kernel/events/
Dinternal.h38 struct user_struct *mmap_user;
Dcore.c4632 struct user_struct *mmap_user = rb->mmap_user; in perf_mmap_close()
4735 struct user_struct *user = current_user(); in perf_mmap()
/linux-4.4.14/mm/
Dmlock.c767 int user_shm_lock(size_t size, struct user_struct *user) in user_shm_lock()
789 void user_shm_unlock(size_t size, struct user_struct *user) in user_shm_unlock()
Dshmem.c1382 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock()
3294 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock()
Dmmap.c1432 struct user_struct *user = NULL; in SYSCALL_DEFINE6()
/linux-4.4.14/fs/notify/fanotify/
Dfanotify.c242 struct user_struct *user; in fanotify_free_group_priv()
Dfanotify_user.c698 struct user_struct *user; in SYSCALL_DEFINE2()
/linux-4.4.14/fs/
Dpipe.c598 static bool too_many_pipe_buffers_soft(struct user_struct *user) in too_many_pipe_buffers_soft()
604 static bool too_many_pipe_buffers_hard(struct user_struct *user) in too_many_pipe_buffers_hard()
617 struct user_struct *user = get_current_user(); in alloc_pipe_info()
Deventpoll.c215 struct user_struct *user;
938 struct user_struct *user; in ep_alloc()
/linux-4.4.14/ipc/
Dmqueue.c77 struct user_struct *user; /* user who created, for accounting */
216 struct user_struct *u = current_user(); in mqueue_get_inode()
373 struct user_struct *user; in mqueue_evict_inode()
Dshm.c1045 struct user_struct *user = current_user(); in SYSCALL_DEFINE3()
/linux-4.4.14/security/keys/
Dprocess_keys.c45 struct user_struct *user; in install_user_keyrings()
/linux-4.4.14/Documentation/security/
Dcredentials.txt354 struct user_struct *current_user(void) Current's user account
375 struct user_struct *get_current_user(void);
/linux-4.4.14/Documentation/
Dkmemcheck.txt427 191 struct user_struct *user;
460 18 struct user_struct *user;
/linux-4.4.14/fs/hugetlbfs/
Dinode.c1236 vm_flags_t acctflag, struct user_struct **user, in hugetlb_file_setup()