Lines Matching full:user
3 * The "user cache".
7 * We have a per-user structure to keep track of how many
8 * processes, files etc the user has claimed, in order to be
9 * able to have per-user limits for system resources.
17 #include <linux/sched/user.h>
24 * userns count is 1 for root user, 1 for init_uts_ns,
74 * UID task count cache, to get fast user lookup in "alloc_uid"
75 * when changing user ID's (ie setuid() and friends).
123 struct user_struct *user; in uid_hash_find() local
125 hlist_for_each_entry(user, hashent, uidhash_node) { in uid_hash_find()
126 if (uid_eq(user->uid, uid)) { in uid_hash_find()
127 refcount_inc(&user->__count); in uid_hash_find()
128 return user; in uid_hash_find()
196 * on adding the same user already.. in alloc_uid()
222 /* Insert the root user immediately (init already runs as root) */ in uid_cache_init()