Home
last modified time | relevance | path

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

12

/Linux-v5.10/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 …]
/Linux-v5.10/include/linux/sched/
Duser.h13 struct user_struct { struct
49 extern struct user_struct *find_user(kuid_t); argument
51 extern struct user_struct root_user;
56 extern struct user_struct * alloc_uid(kuid_t);
57 static inline struct user_struct *get_uid(struct user_struct *u) in get_uid()
62 extern void free_uid(struct user_struct *);
/Linux-v5.10/net/unix/
Dscm.c48 void unix_inflight(struct user_struct *user, struct file *fp) in unix_inflight()
69 void unix_notinflight(struct user_struct *user, struct file *fp) in unix_notinflight()
97 struct user_struct *user = current_user(); in too_many_unix_fds()
/Linux-v5.10/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.h27 struct user_struct *user;
Dscm.h27 struct user_struct *user;
/Linux-v5.10/include/linux/
Dpipe_fs_i.h77 struct user_struct *user;
258 unsigned long account_pipe_buffers(struct user_struct *user,
Dsignal_types.h24 struct user_struct *user;
Dcred.h145 struct user_struct *user; /* real user ID subscription */
340 struct user_struct *__u; \
Dhugetlb.h16 struct user_struct;
437 struct user_struct **user, int creat_flags,
457 struct user_struct **user, int creat_flags, in hugetlb_file_setup()
Dshmem_fs.h68 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
Dbpf.h138 struct user_struct *user;
798 struct user_struct *user;
1202 int __bpf_prog_charge(struct user_struct *user, u32 pages);
1203 void __bpf_prog_uncharge(struct user_struct *user, u32 pages);
1485 static inline int __bpf_prog_charge(struct user_struct *user, u32 pages) in __bpf_prog_charge()
1490 static inline void __bpf_prog_uncharge(struct user_struct *user, u32 pages) in __bpf_prog_uncharge()
Dkey.h92 struct user_struct;
Dfsnotify_backend.h242 struct user_struct *user;
Dmm.h39 struct user_struct;
1628 extern int user_shm_lock(size_t, struct user_struct *);
1629 extern void user_shm_unlock(size_t, struct user_struct *);
/Linux-v5.10/block/
Dioprio.c97 struct user_struct *user; in SYSCALL_DEFINE3()
189 struct user_struct *user; in SYSCALL_DEFINE2()
/Linux-v5.10/fs/
Dio-wq.h113 struct user_struct *user;
Dpipe.c741 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers()
770 struct user_struct *user = get_current_user(); in alloc_pipe_info()
/Linux-v5.10/kernel/events/
Dinternal.h40 struct user_struct *mmap_user;
/Linux-v5.10/mm/
Dmemfd.c300 struct user_struct *user = NULL; in SYSCALL_DEFINE2()
Dmlock.c850 int user_shm_lock(size_t size, struct user_struct *user) in user_shm_lock()
872 void user_shm_unlock(size_t size, struct user_struct *user) in user_shm_unlock()
/Linux-v5.10/ipc/
Dmqueue.c147 struct user_struct *user; /* user who created, for accounting */
295 struct user_struct *u = current_user(); in mqueue_get_inode()
500 struct user_struct *user; in mqueue_evict_inode()
/Linux-v5.10/Documentation/bpf/
Ddrgn.rst175 .user = (struct user_struct *)root_user+0x0 = 0xffffffff82444820,
/Linux-v5.10/kernel/bpf/
Dsyscall.c344 static int bpf_charge_memlock(struct user_struct *user, u32 pages) in bpf_charge_memlock()
355 static void bpf_uncharge_memlock(struct user_struct *user, u32 pages) in bpf_uncharge_memlock()
364 struct user_struct *user; in bpf_map_charge_init()
1631 int __bpf_prog_charge(struct user_struct *user, u32 pages) in __bpf_prog_charge()
1647 void __bpf_prog_uncharge(struct user_struct *user, u32 pages) in __bpf_prog_uncharge()
1655 struct user_struct *user = get_current_user(); in bpf_prog_charge_memlock()
1670 struct user_struct *user = prog->aux->user; in bpf_prog_uncharge_memlock()
/Linux-v5.10/fs/notify/fanotify/
Dfanotify.c740 struct user_struct *user; in fanotify_free_group_priv()

12