Home
last modified time | relevance | path

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

12

/linux-6.6.21/kernel/
Duser.c99 struct user_struct root_user = {
108 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert()
113 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove()
118 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find()
120 struct user_struct *user; in uid_hash_find()
132 static int user_epoll_alloc(struct user_struct *up) in user_epoll_alloc()
141 static void user_epoll_free(struct user_struct *up) in user_epoll_free()
152 static void free_user(struct user_struct *up, unsigned long flags) in free_user()
167 struct user_struct *find_user(kuid_t uid) in find_user()
169 struct user_struct *ret; in find_user()
[all …]
Dsys.c221 struct user_struct *user; in SYSCALL_DEFINE3()
291 struct user_struct *user; in SYSCALL_DEFINE2()
484 struct user_struct *new_user; in set_user()
/linux-6.6.21/include/linux/sched/
Duser.h14 struct user_struct { struct
41 extern struct user_struct *find_user(kuid_t); argument
43 extern struct user_struct root_user;
48 extern struct user_struct * alloc_uid(kuid_t);
49 static inline struct user_struct *get_uid(struct user_struct *u) in get_uid()
54 extern void free_uid(struct user_struct *);
/linux-6.6.21/net/unix/
Dscm.c49 void unix_inflight(struct user_struct *user, struct file *fp) in unix_inflight()
71 void unix_notinflight(struct user_struct *user, struct file *fp) in unix_notinflight()
100 struct user_struct *user = current_user(); in too_many_unix_fds()
/linux-6.6.21/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.h30 struct user_struct *user;
Dscm.h28 struct user_struct *user;
/linux-6.6.21/include/linux/
Dpipe_fs_i.h79 struct user_struct *user;
280 unsigned long account_pipe_buffers(struct user_struct *user,
Dcred.h137 struct user_struct *user; /* real user ID subscription */
290 struct user_struct *__u; \
Dio_uring_types.h357 struct user_struct *user;
Dkey.h98 struct user_struct;
Dhugetlb.h19 struct user_struct;
Dbpf.h1435 struct user_struct *user;
Dmm.h37 struct user_struct;
Dskbuff.h557 struct user_struct *user;
/linux-6.6.21/io_uring/
Drsrc.h152 int __io_account_mem(struct user_struct *user, unsigned long nr_pages);
154 static inline void __io_unaccount_mem(struct user_struct *user, in __io_unaccount_mem()
Drsrc.c42 int __io_account_mem(struct user_struct *user, unsigned long nr_pages) in __io_account_mem()
/linux-6.6.21/block/
Dioprio.c72 struct user_struct *user; in SYSCALL_DEFINE3()
213 struct user_struct *user; in SYSCALL_DEFINE2()
/linux-6.6.21/kernel/events/
Dinternal.h40 struct user_struct *mmap_user;
/linux-6.6.21/drivers/iommu/iommufd/
Dio_pagetable.h197 struct user_struct *source_user;
/linux-6.6.21/arch/s390/kvm/
Dpci.c196 struct user_struct *user = get_uid(current_user()); in unaccount_mem()
206 struct user_struct *user = get_uid(current_user()); in account_mem()
/linux-6.6.21/Documentation/bpf/
Ddrgn.rst175 .user = (struct user_struct *)root_user+0x0 = 0xffffffff82444820,
/linux-6.6.21/fs/
Dpipe.c756 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers()
785 struct user_struct *user = get_current_user(); in alloc_pipe_info()
Deventpoll.c213 struct user_struct *user;
/linux-6.6.21/Documentation/security/
Dcredentials.rst326 struct user_struct *current_user(void) Current's user account
347 struct user_struct *get_current_user(void);

12