Lines Matching refs:user_struct
99 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()
178 void free_uid(struct user_struct *up) in free_uid()
189 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid()
192 struct user_struct *up, *new; in alloc_uid()
235 uid_cachep = kmem_cache_create("uid_cache", sizeof(struct user_struct), in uid_cache_init()