/kernel/linux/linux-5.10/kernel/ |
H A D | user.c | 111 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()
|
H A D | ucount.c | 117 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent) in find_ucounts() argument 121 hlist_for_each_entry(ucounts, hashent, node) { in find_ucounts() 130 struct hlist_head *hashent = ucounts_hashentry(ns, uid); in get_ucounts() local 134 ucounts = find_ucounts(ns, uid, hashent); in get_ucounts() 147 ucounts = find_ucounts(ns, uid, hashent); in get_ucounts() 151 hlist_add_head(&new->node, hashent); in get_ucounts()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | user.c | 108 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() argument 110 hlist_add_head(&up->uidhash_node, hashent); in uid_hash_insert() 118 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument 122 hlist_for_each_entry(user, hashent, uidhash_node) { in uid_hash_find() 192 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid() local 196 up = uid_hash_find(uid, hashent); in alloc_uid() 218 up = uid_hash_find(uid, hashent); in alloc_uid() 223 uid_hash_insert(new, hashent); in alloc_uid()
|
H A D | ucount.c | 131 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent) in find_ucounts() argument 135 hlist_for_each_entry(ucounts, hashent, node) { in find_ucounts() 144 struct hlist_head *hashent = ucounts_hashentry(ucounts->ns, ucounts->uid); in hlist_add_ucounts() local 146 hlist_add_head(&ucounts->node, hashent); in hlist_add_ucounts() 167 struct hlist_head *hashent = ucounts_hashentry(ns, uid); in alloc_ucounts() local 172 ucounts = find_ucounts(ns, uid, hashent); in alloc_ucounts() 185 ucounts = find_ucounts(ns, uid, hashent); in alloc_ucounts() 189 hlist_add_head(&new->node, hashent); in alloc_ucounts()
|
/kernel/linux/linux-5.10/net/sctp/ |
H A D | input.c | 729 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); in __sctp_hash_endpoint() 730 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_hash_endpoint() 795 epb->hashent = sctp_ep_hashfn(sock_net(sk), epb->bind_addr.port); in __sctp_unhash_endpoint() 797 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_unhash_endpoint()
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | input.c | 739 ep->hashent = sctp_ep_hashfn(net, ep->base.bind_addr.port); in __sctp_hash_endpoint() 740 head = &sctp_ep_hashtable[ep->hashent]; in __sctp_hash_endpoint() 802 ep->hashent = sctp_ep_hashfn(sock_net(sk), ep->base.bind_addr.port); in __sctp_unhash_endpoint() 804 head = &sctp_ep_hashtable[ep->hashent]; in __sctp_unhash_endpoint()
|
/kernel/linux/linux-5.10/fs/quota/ |
H A D | dquot.c | 301 static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, in find_dquot() argument 307 hlist_for_each (node, dquot_hash+hashent) { in find_dquot() 936 unsigned int hashent = hashfn(sb, qid); in dqget() local 955 dquot = find_dquot(hashent, sb, qid); in dqget()
|
/kernel/linux/linux-6.6/fs/quota/ |
H A D | dquot.c | 301 static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, in find_dquot() argument 306 hlist_for_each_entry(dquot, dquot_hash+hashent, dq_hash) in find_dquot() 934 unsigned int hashent = hashfn(sb, qid); in dqget() local 953 dquot = find_dquot(hashent, sb, qid); in dqget()
|
/kernel/linux/linux-5.10/include/net/sctp/ |
H A D | structs.h | 1223 int hashent; member
|
/kernel/linux/linux-6.6/include/net/sctp/ |
H A D | structs.h | 1298 int hashent; member
|