Home
last modified time | relevance | path

Searched refs:hashent (Results 1 – 2 of 2) sorted by relevance

/kernel/
Duser.c110 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() argument
112 hlist_add_head(&up->uidhash_node, hashent); in uid_hash_insert()
120 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument
124 hlist_for_each_entry(user, hashent, uidhash_node) { in uid_hash_find()
196 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid() local
200 up = uid_hash_find(uid, hashent); in alloc_uid()
223 up = uid_hash_find(uid, hashent); in alloc_uid()
228 uid_hash_insert(new, hashent); in alloc_uid()
Ducount.c130 …tic struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent) in find_ucounts() argument
134 hlist_for_each_entry(ucounts, hashent, node) { in find_ucounts()
143 struct hlist_head *hashent = ucounts_hashentry(ucounts->ns, ucounts->uid); in hlist_add_ucounts() local
145 hlist_add_head(&ucounts->node, hashent); in hlist_add_ucounts()
166 struct hlist_head *hashent = ucounts_hashentry(ns, uid); in alloc_ucounts() local
171 ucounts = find_ucounts(ns, uid, hashent); in alloc_ucounts()
184 ucounts = find_ucounts(ns, uid, hashent); in alloc_ucounts()
188 hlist_add_head(&new->node, hashent); in alloc_ucounts()