Home
last modified time | relevance | path

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

/linux/kernel/
H A Duser.c117 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() argument
119 hlist_add_head(&up->uidhash_node, hashent); in uid_hash_insert()
127 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument
131 hlist_for_each_entry(user, hashent, uidhash_node) { in uid_hash_find()
201 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid() local
205 up = uid_hash_find(uid, hashent); in alloc_uid()
227 up = uid_hash_find(uid, hashent); in alloc_uid()
232 uid_hash_insert(new, hashent); in alloc_uid()
H A Ducount.c137 struct hlist_nulls_head *hashent) in find_ucounts()
143 hlist_nulls_for_each_entry_rcu(ucounts, pos, hashent, node) { in find_ucounts()
154 struct hlist_nulls_head *hashent = ucounts_hashentry(ucounts->ns, ucounts->uid); in hlist_add_ucounts()
157 hlist_nulls_add_head_rcu(&ucounts->node, hashent); in alloc_ucounts()
163 struct hlist_nulls_head *hashent = ucounts_hashentry(ns, uid); in alloc_ucounts()
166 ucounts = find_ucounts(ns, uid, hashent); in alloc_ucounts()
179 ucounts = find_ucounts(ns, uid, hashent); in alloc_ucounts()
186 hlist_nulls_add_head_rcu(&new->node, hashent); in alloc_ucounts()
133 find_ucounts(struct user_namespace * ns,kuid_t uid,struct hlist_nulls_head * hashent) find_ucounts() argument
150 struct hlist_nulls_head *hashent = ucounts_hashentry(ucounts->ns, ucounts->uid); hlist_add_ucounts() local
159 struct hlist_nulls_head *hashent = ucounts_hashentry(ns, uid); alloc_ucounts() local
/linux/net/sctp/
H A Dinput.c740 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/fs/quota/
H A Ddquot.c302 static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, in find_dquot() argument
307 hlist_for_each_entry(dquot, dquot_hash+hashent, dq_hash) in find_dquot()
952 unsigned int hashent = hashfn(sb, qid); in dqget() local
971 dquot = find_dquot(hashent, sb, qid); in dqget()