Lines Matching defs:uid
14 .uid = GLOBAL_ROOT_UID,
25 #define ucounts_hashfn(ns, uid) \
26 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
28 #define ucounts_hashentry(ns, uid) \
29 (ucounts_hashtable + ucounts_hashfn(ns, uid))
136 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid,
144 if (uid_eq(ucounts->uid, uid) && (ucounts->ns == ns)) {
154 struct hlist_nulls_head *hashent = ucounts_hashentry(ucounts->ns, ucounts->uid);
161 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid)
163 struct hlist_nulls_head *hashent = ucounts_hashentry(ns, uid);
166 ucounts = find_ucounts(ns, uid, hashent);
175 new->uid = uid;
179 ucounts = find_ucounts(ns, uid, hashent);
218 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid,
223 ucounts = alloc_ucounts(ns, uid);