Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/linux/sched/
Duser.h13 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/
Duser.c99 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 …]
Dsys.c199 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/
Dscm.c47 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/
Daf_unix.h11 void unix_inflight(struct user_struct *user, struct file *fp);
12 void unix_notinflight(struct user_struct *user, struct file *fp);
Dscm.h27 struct user_struct *user;
Dxdp_sock.h52 struct user_struct *user;
/Linux-v5.4/block/
Dioprio.c97 struct user_struct *user; in SYSCALL_DEFINE3()
189 struct user_struct *user; in SYSCALL_DEFINE2()
/Linux-v5.4/include/linux/
Dsignal_types.h24 struct user_struct *user;
Dcred.h145 struct user_struct *user; /* real user ID subscription */
340 struct user_struct *__u; \
Dbpf.h71 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()
Dpipe_fs_i.h62 struct user_struct *user;
Dhugetlb.h15 struct user_struct;
290 struct user_struct **user, int creat_flags,
307 struct user_struct **user, int creat_flags, in hugetlb_file_setup()
Dshmem_fs.h64 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
Dkey.h75 struct user_struct;
Dfsnotify_backend.h210 struct user_struct *user;
Dmm.h35 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/
Dinternal.h40 struct user_struct *mmap_user;
/Linux-v5.4/mm/
Dmemfd.c300 struct user_struct *user = NULL; in SYSCALL_DEFINE2()
Dmlock.c845 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/
Dsyscall.c186 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/
Dpipe.c626 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()
Deventpoll.c216 struct user_struct *user;
1016 struct user_struct *user; in ep_alloc()
/Linux-v5.4/ipc/
Dmqueue.c86 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/
Dfanotify.c466 struct user_struct *user; in fanotify_free_group_priv()

12