Home
last modified time | relevance | path

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

12

/linux/kernel/
H A Duser.c108 struct user_struct root_user = {
117 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert()
122 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove()
127 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find()
129 struct user_struct *user; in uid_hash_find()
141 static int user_epoll_alloc(struct user_struct *up) in user_epoll_alloc()
150 static void user_epoll_free(struct user_struct *up) in user_epoll_free()
161 static void free_user(struct user_struct *up, unsigned long flags) in free_user()
176 struct user_struct *find_user(kuid_t uid) in find_user()
178 struct user_struct *ret; in find_user()
[all …]
H A Dsys.c262 struct user_struct *user; in SYSCALL_DEFINE3()
332 struct user_struct *user; in SYSCALL_DEFINE2()
525 struct user_struct *new_user; in set_user()
/linux/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/include/linux/
H A Dpipe_fs_i.h106 struct user_struct *user;
325 unsigned long account_pipe_buffers(struct user_struct *user,
H A Dcred.h140 struct user_struct *user; /* real user ID subscription */
339 struct user_struct *__u; \
H A Dkey.h98 struct user_struct;
H A Dio_uring_types.h424 struct user_struct *user;
H A Dhugetlb.h20 struct user_struct;
H A Dmm.h43 struct user_struct;
/linux/block/
H A Dioprio.c68 struct user_struct *user; in SYSCALL_DEFINE3()
183 struct user_struct *user; in SYSCALL_DEFINE2()
/linux/io_uring/
H A Drsrc.h122 int __io_account_mem(struct user_struct *user, unsigned long nr_pages);
123 int io_account_mem(struct user_struct *user, struct mm_struct *mm_account,
125 void io_unaccount_mem(struct user_struct *user, struct mm_struct *mm_account,
128 static inline void __io_unaccount_mem(struct user_struct *user, in __io_unaccount_mem()
H A Dzcrx.h44 struct user_struct *user;
H A Dmemmap.c91 void io_free_region(struct user_struct *user, struct io_mapped_region *mr) in io_free_region()
H A Drsrc.c39 int __io_account_mem(struct user_struct *user, unsigned long nr_pages) in __io_account_mem()
59 void io_unaccount_mem(struct user_struct *user, struct mm_struct *mm_account, in io_unaccount_mem()
69 int io_account_mem(struct user_struct *user, struct mm_struct *mm_account, in io_account_mem()
/linux/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/include/net/
H A Dscm.h40 struct user_struct *user;
H A Dxdp_sock.h30 struct user_struct *user;
/linux/kernel/events/
H A Dinternal.h40 struct user_struct *mmap_user;
/linux/drivers/iommu/iommufd/
H A Dio_pagetable.h230 struct user_struct *source_user;
H A Dioas.c496 struct user_struct *old_user = pages->source_user; in change_mm()
/linux/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/Documentation/bpf/
H A Ddrgn.rst175 .user = (struct user_struct *)root_user+0x0 = 0xffffffff82444820,
/linux/net/unix/
H A Dgarbage.c617 void unix_schedule_gc(struct user_struct *user) in unix_schedule_gc()
/linux/fs/
H A Dpipe.c767 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers()
796 struct user_struct *user = get_current_user(); in alloc_pipe_info()
/linux/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