Lines Matching refs: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;
125 hlist_for_each_entry(user, hashent, uidhash_node) {
126 if (uid_eq(user->uid, uid)) {
127 refcount_inc(&user->__count);
128 return user;
196 * on adding the same user already..
222 /* Insert the root user immediately (init already runs as root) */