Searched refs:hashent (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/kernel/ |
D | user.c | 121 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() argument 123 hlist_add_head(&up->uidhash_node, hashent); in uid_hash_insert() 131 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument 135 hlist_for_each_entry(user, hashent, uidhash_node) { in uid_hash_find() 205 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid() local 209 up = uid_hash_find(uid, hashent); in alloc_uid() 231 up = uid_hash_find(uid, hashent); in alloc_uid() 236 uid_hash_insert(new, hashent); in alloc_uid()
|
D | ucount.c | 130 …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()
|
/linux-6.12.1/net/sctp/ |
D | input.c | 740 ep->hashent = sctp_ep_hashfn(net, ep->base.bind_addr.port); in __sctp_hash_endpoint() 741 head = &sctp_ep_hashtable[ep->hashent]; in __sctp_hash_endpoint() 806 ep->hashent = sctp_ep_hashfn(sock_net(sk), ep->base.bind_addr.port); in __sctp_unhash_endpoint() 808 head = &sctp_ep_hashtable[ep->hashent]; in __sctp_unhash_endpoint()
|
/linux-6.12.1/fs/quota/ |
D | dquot.c | 300 static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, in find_dquot() argument 305 hlist_for_each_entry(dquot, dquot_hash+hashent, dq_hash) in find_dquot() 924 unsigned int hashent = hashfn(sb, qid); in dqget() local 943 dquot = find_dquot(hashent, sb, qid); in dqget()
|
/linux-6.12.1/include/net/sctp/ |
D | structs.h | 1295 int hashent; member
|