Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/sched/
Duser.h15 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/
Duser.c98 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 …]
Dsys.c196 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/
Daf_unix.h11 void unix_inflight(struct user_struct *user, struct file *fp);
12 void unix_notinflight(struct user_struct *user, struct file *fp);
Dxdp_sock.h36 struct user_struct *user;
Dscm.h27 struct user_struct *user;
/Linux-v4.19/include/linux/
Dbpf.h82 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()
Dsignal_types.h20 struct user_struct *user;
Dcred.h150 struct user_struct *user; /* real user ID subscription */
323 struct user_struct *__u; \
Dpipe_fs_i.h62 struct user_struct *user;
Dhugetlb.h15 struct user_struct;
304 struct user_struct **user, int creat_flags,
321 struct user_struct **user, int creat_flags, in hugetlb_file_setup()
Dshmem_fs.h62 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
Dkey.h79 struct user_struct;
Dfsnotify_backend.h194 struct user_struct *user;
Dmm.h34 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/
Dioprio.c96 struct user_struct *user; in SYSCALL_DEFINE3()
188 struct user_struct *user; in SYSCALL_DEFINE2()
/Linux-v4.19/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()
/Linux-v4.19/kernel/bpf/
Dsyscall.c174 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/
Dinternal.h39 struct user_struct *mmap_user;
/Linux-v4.19/mm/
Dmemfd.c316 struct user_struct *user = NULL; in SYSCALL_DEFINE2()
Dmlock.c840 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/
Dfanotify.c258 struct user_struct *user; in fanotify_free_group_priv()
/Linux-v4.19/fs/
Dpipe.c600 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/
Dmqueue.c80 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/
Dprocess_keys.c46 struct user_struct *user; in install_user_keyrings()

12