Lines Matching refs:uid
83 #define __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) argument
84 #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid)))) argument
103 .uid = GLOBAL_ROOT_UID,
120 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument
125 if (uid_eq(user->uid, uid)) { in uid_hash_find()
170 struct user_struct *find_user(kuid_t uid) in find_user() argument
176 ret = uid_hash_find(uid, uidhashentry(uid)); in find_user()
194 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid() argument
196 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid()
200 up = uid_hash_find(uid, hashent); in alloc_uid()
208 new->uid = uid; in alloc_uid()
223 up = uid_hash_find(uid, hashent); in alloc_uid()