Lines Matching refs:uid
81 #define __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) argument
82 #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid)))) argument
101 .uid = GLOBAL_ROOT_UID,
118 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument
123 if (uid_eq(user->uid, uid)) { in uid_hash_find()
167 struct user_struct *find_user(kuid_t uid) in find_user() argument
173 ret = uid_hash_find(uid, uidhashentry(uid)); in find_user()
189 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid() argument
191 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid()
195 up = uid_hash_find(uid, hashent); in alloc_uid()
203 new->uid = uid; in alloc_uid()
217 up = uid_hash_find(uid, hashent); in alloc_uid()