Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/
Dudp.c129 const struct udp_hslot *hslot, in udp_lib_lport_inuse() argument
136 sk_for_each(sk2, &hslot->head) { in udp_lib_lport_inuse()
195 static int udp_reuseport_add_sock(struct sock *sk, struct udp_hslot *hslot) in udp_reuseport_add_sock() argument
201 sk_for_each(sk2, &hslot->head) { in udp_reuseport_add_sock()
229 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local
251 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
253 spin_lock_bh(&hslot->lock); in udp_lib_get_port()
254 udp_lib_lport_inuse(net, snum, hslot, bitmap, sk, in udp_lib_get_port()
270 spin_unlock_bh(&hslot->lock); in udp_lib_get_port()
275 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port()
[all …]
Dudp_diag.c106 struct udp_hslot *hslot = &table->hash[slot]; in udp_dump() local
111 if (hlist_empty(&hslot->head)) in udp_dump()
114 spin_lock_bh(&hslot->lock); in udp_dump()
115 sk_for_each(sk, &hslot->head) { in udp_dump()
135 spin_unlock_bh(&hslot->lock); in udp_dump()
141 spin_unlock_bh(&hslot->lock); in udp_dump()
Dping.c171 struct hlist_nulls_head *hslot = ping_hashslot(&ping_table, net, ident); in ping_lookup() local
189 ping_portaddr_for_each_entry(sk, hnode, hslot) { in ping_lookup()
1020 struct hlist_nulls_head *hslot; in ping_get_first() local
1022 hslot = &ping_table.hash[state->bucket]; in ping_get_first()
1024 if (hlist_nulls_empty(hslot)) in ping_get_first()
1027 sk_nulls_for_each(sk, node, hslot) { in ping_get_first()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c649 u32 hslot; in brcmf_fws_psq_flush() local
656 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_psq_flush()
657 brcmf_fws_hanger_poppkt(&fws->hanger, hslot, &skb, in brcmf_fws_psq_flush()
832 u32 hslot; in brcmf_fws_bus_txq_cleanup() local
843 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_bus_txq_cleanup()
844 hi = &fws->hanger.items[hslot]; in brcmf_fws_bus_txq_cleanup()
1414 u32 hslot; in brcmf_fws_txstatus_suppressed() local
1417 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_txstatus_suppressed()
1441 brcmf_fws_hanger_poppkt(&fws->hanger, hslot, &skb, true); in brcmf_fws_txstatus_suppressed()
1444 brcmf_fws_hanger_mark_suppressed(&fws->hanger, hslot); in brcmf_fws_txstatus_suppressed()
[all …]
/Linux-v5.4/net/ipv6/
Dudp.c750 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver() local
752 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver()
763 hslot = &udptable->hash2[hash2]; in __udp6_lib_mcast_deliver()
767 sk_for_each_entry_offset_rcu(sk, node, &hslot->head, offset) { in __udp6_lib_mcast_deliver()