Home
last modified time | relevance | path

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

12

/linux-6.15/kernel/
H A Duser.c112 struct user_struct root_user = {
126 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove()
133 struct user_struct *user; in uid_hash_find()
145 static int user_epoll_alloc(struct user_struct *up) in user_epoll_alloc()
154 static void user_epoll_free(struct user_struct *up) in user_epoll_free()
165 static void free_user(struct user_struct *up, unsigned long flags) in free_user()
180 struct user_struct *find_user(kuid_t uid) in find_user()
182 struct user_struct *ret; in find_user()
191 void free_uid(struct user_struct *up) in free_uid()
203 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid()
[all …]
H A Dsys.c232 struct user_struct *user; in SYSCALL_DEFINE3()
302 struct user_struct *user; in SYSCALL_DEFINE2()
495 struct user_struct *new_user; in set_user()
/linux-6.15/include/linux/sched/
H A 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.15/include/linux/
H A Dpipe_fs_i.h115 struct user_struct *user;
334 unsigned long account_pipe_buffers(struct user_struct *user,
H A Dcred.h138 struct user_struct *user; /* real user ID subscription */
315 struct user_struct *__u; \
H A Dkey.h98 struct user_struct;
H A Dio_uring_types.h406 struct user_struct *user;
H A Dhugetlb.h19 struct user_struct;
H A Dmm.h40 struct user_struct;
H A Dbpf.h1585 struct user_struct *user;
H A Dskbuff.h573 struct user_struct *user;
/linux-6.15/block/
H A Dioprio.c68 struct user_struct *user; in SYSCALL_DEFINE3()
183 struct user_struct *user; in SYSCALL_DEFINE2()
/linux-6.15/io_uring/
H A Drsrc.h147 int __io_account_mem(struct user_struct *user, unsigned long nr_pages);
149 static inline void __io_unaccount_mem(struct user_struct *user, in __io_unaccount_mem()
H A Drsrc.c38 int __io_account_mem(struct user_struct *user, unsigned long nr_pages) in __io_account_mem()
/linux-6.15/Documentation/translations/zh_CN/security/
H A Dcredentials.rst277 struct user_struct *current_user(void) Current's user account
294 struct user_struct *get_current_user(void);
/linux-6.15/include/net/
H A Dxdp_sock.h30 struct user_struct *user;
H A Dscm.h40 struct user_struct *user;
/linux-6.15/kernel/events/
H A Dinternal.h40 struct user_struct *mmap_user;
/linux-6.15/drivers/iommu/iommufd/
H A Dio_pagetable.h203 struct user_struct *source_user;
H A Dioas.c498 struct user_struct *old_user = pages->source_user; in change_mm()
/linux-6.15/arch/s390/kvm/
H A 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.15/Documentation/bpf/
H A Ddrgn.rst175 .user = (struct user_struct *)root_user+0x0 = 0xffffffff82444820,
/linux-6.15/fs/
H A Dpipe.c766 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers()
795 struct user_struct *user = get_current_user(); in alloc_pipe_info()
H A Deventpoll.c214 struct user_struct *user;
/linux-6.15/Documentation/security/
H A Dcredentials.rst326 struct user_struct *current_user(void) Current's user account
347 struct user_struct *get_current_user(void);

12