Lines Matching full:uid
13 .uid = GLOBAL_ROOT_UID,
21 #define ucounts_hashfn(ns, uid) \ argument
22 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
24 #define ucounts_hashentry(ns, uid) \ argument
25 (ucounts_hashtable + ucounts_hashfn(ns, uid))
130 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashe… in find_ucounts() argument
135 if (uid_eq(ucounts->uid, uid) && (ucounts->ns == ns)) in find_ucounts()
143 struct hlist_head *hashent = ucounts_hashentry(ucounts->ns, ucounts->uid); in hlist_add_ucounts()
164 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid) in alloc_ucounts() argument
166 struct hlist_head *hashent = ucounts_hashentry(ns, uid); in alloc_ucounts()
171 ucounts = find_ucounts(ns, uid, hashent); in alloc_ucounts()
180 new->uid = uid; in alloc_ucounts()
184 ucounts = find_ucounts(ns, uid, hashent); in alloc_ucounts()
229 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount() argument
234 ucounts = alloc_ucounts(ns, uid); in inc_ucount()