Lines Matching refs:uid
13 .uid = GLOBAL_ROOT_UID,
21 #define ucounts_hashfn(ns, uid) \
22 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
24 #define ucounts_hashentry(ns, uid) \
25 (ucounts_hashtable + ucounts_hashfn(ns, uid))
131 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent)
136 if (uid_eq(ucounts->uid, uid) && (ucounts->ns == ns))
144 struct hlist_head *hashent = ucounts_hashentry(ucounts->ns, ucounts->uid);
165 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid)
167 struct hlist_head *hashent = ucounts_hashentry(ns, uid);
172 ucounts = find_ucounts(ns, uid, hashent);
181 new->uid = uid;
185 ucounts = find_ucounts(ns, uid, hashent);
230 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid,
235 ucounts = alloc_ucounts(ns, uid);