Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Duser.c111 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() argument
113 hlist_add_head(&up->uidhash_node, hashent); in uid_hash_insert()
121 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument
125 hlist_for_each_entry(user, hashent, uidhash_node) { in uid_hash_find()
177 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid() local
181 up = uid_hash_find(uid, hashent); in alloc_uid()
199 up = uid_hash_find(uid, hashent); in alloc_uid()
203 uid_hash_insert(new, hashent); in alloc_uid()
Ducount.c114 …tic struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent) in find_ucounts() argument
118 hlist_for_each_entry(ucounts, hashent, node) { in find_ucounts()
127 struct hlist_head *hashent = ucounts_hashentry(ns, uid); in get_ucounts() local
131 ucounts = find_ucounts(ns, uid, hashent); in get_ucounts()
144 ucounts = find_ucounts(ns, uid, hashent); in get_ucounts()
148 hlist_add_head(&new->node, hashent); in get_ucounts()
/Linux-v5.4/net/sctp/
Dinput.c726 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); in __sctp_hash_endpoint()
727 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_hash_endpoint()
792 epb->hashent = sctp_ep_hashfn(sock_net(sk), epb->bind_addr.port); in __sctp_unhash_endpoint()
794 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_unhash_endpoint()
/Linux-v5.4/fs/quota/
Ddquot.c287 static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, in find_dquot() argument
293 hlist_for_each (node, dquot_hash+hashent) { in find_dquot()
849 unsigned int hashent = hashfn(sb, qid); in dqget() local
868 dquot = find_dquot(hashent, sb, qid); in dqget()
/Linux-v5.4/include/net/sctp/
Dstructs.h1227 int hashent; member