Lines Matching refs:uid
15 #define ucounts_hashfn(ns, uid) \ argument
16 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
18 #define ucounts_hashentry(ns, uid) \ argument
19 (ucounts_hashtable + ucounts_hashfn(ns, uid))
114 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashe… in find_ucounts() argument
119 if (uid_eq(ucounts->uid, uid) && (ucounts->ns == ns)) in find_ucounts()
125 static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) in get_ucounts() argument
127 struct hlist_head *hashent = ucounts_hashentry(ns, uid); in get_ucounts()
131 ucounts = find_ucounts(ns, uid, hashent); in get_ucounts()
140 new->uid = uid; in get_ucounts()
144 ucounts = find_ucounts(ns, uid, hashent); in get_ucounts()
189 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount() argument
194 ucounts = get_ucounts(ns, uid); in inc_ucount()