Home
last modified time | relevance | path

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

/Linux-v4.19/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()
178 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid() local
182 up = uid_hash_find(uid, hashent); in alloc_uid()
200 up = uid_hash_find(uid, hashent); in alloc_uid()
206 uid_hash_insert(new, hashent); in alloc_uid()
Ducount.c121 …tic struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent) in find_ucounts() argument
125 hlist_for_each_entry(ucounts, hashent, node) { in find_ucounts()
134 struct hlist_head *hashent = ucounts_hashentry(ns, uid); in get_ucounts() local
138 ucounts = find_ucounts(ns, uid, hashent); in get_ucounts()
151 ucounts = find_ucounts(ns, uid, hashent); in get_ucounts()
155 hlist_add_head(&new->node, hashent); in get_ucounts()
/Linux-v4.19/net/sctp/
Dinput.c731 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); in __sctp_hash_endpoint()
732 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_hash_endpoint()
756 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); in __sctp_unhash_endpoint()
758 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_unhash_endpoint()
/Linux-v4.19/fs/quota/
Ddquot.c282 static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, in find_dquot() argument
288 hlist_for_each (node, dquot_hash+hashent) { in find_dquot()
843 unsigned int hashent = hashfn(sb, qid); in dqget() local
862 dquot = find_dquot(hashent, sb, qid); in dqget()
/Linux-v4.19/include/net/sctp/
Dstructs.h1235 int hashent; member