Home
last modified time | relevance | path

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

/Linux-v6.1/net/ipv4/
Dudp_diag.c105 struct udp_hslot *hslot = &table->hash[slot]; in udp_dump() local
110 if (hlist_empty(&hslot->head)) in udp_dump()
113 spin_lock_bh(&hslot->lock); in udp_dump()
114 sk_for_each(sk, &hslot->head) { in udp_dump()
134 spin_unlock_bh(&hslot->lock); in udp_dump()
140 spin_unlock_bh(&hslot->lock); in udp_dump()
Dudp.c135 const struct udp_hslot *hslot, in udp_lib_lport_inuse() argument
142 sk_for_each(sk2, &hslot->head) { in udp_lib_lport_inuse()
201 static int udp_reuseport_add_sock(struct sock *sk, struct udp_hslot *hslot) in udp_reuseport_add_sock() argument
207 sk_for_each(sk2, &hslot->head) { in udp_reuseport_add_sock()
235 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local
257 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
259 spin_lock_bh(&hslot->lock); in udp_lib_get_port()
260 udp_lib_lport_inuse(net, snum, hslot, bitmap, sk, in udp_lib_get_port()
276 spin_unlock_bh(&hslot->lock); in udp_lib_get_port()
281 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port()
[all …]
Dping.c178 struct hlist_nulls_head *hslot = ping_hashslot(&ping_table, net, ident); in ping_lookup() local
200 ping_portaddr_for_each_entry_rcu(sk, hnode, hslot) { in ping_lookup()
1049 struct hlist_nulls_head *hslot; in ping_get_first() local
1051 hslot = &ping_table.hash[state->bucket]; in ping_get_first()
1053 if (hlist_nulls_empty(hslot)) in ping_get_first()
1056 sk_nulls_for_each(sk, node, hslot) { in ping_get_first()
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c628 u32 hslot; in brcmf_fws_psq_flush() local
635 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_psq_flush()
636 hi = &fws->hanger.items[hslot]; in brcmf_fws_psq_flush()
639 brcmf_fws_hanger_poppkt(&fws->hanger, hslot, &skb, in brcmf_fws_psq_flush()
814 u32 hslot; in brcmf_fws_bus_txq_cleanup() local
825 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_bus_txq_cleanup()
826 hi = &fws->hanger.items[hslot]; in brcmf_fws_bus_txq_cleanup()
1399 u32 hslot; in brcmf_fws_txstatus_suppressed() local
1402 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_txstatus_suppressed()
1426 brcmf_fws_hanger_poppkt(&fws->hanger, hslot, &skb, true); in brcmf_fws_txstatus_suppressed()
[all …]
/Linux-v6.1/net/ipv6/
Dudp.c850 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver() local
852 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver()
863 hslot = &udptable->hash2[hash2]; in __udp6_lib_mcast_deliver()
867 sk_for_each_entry_offset_rcu(sk, node, &hslot->head, offset) { in __udp6_lib_mcast_deliver()
/Linux-v6.1/net/netfilter/
Dnf_conntrack_core.c2379 struct hlist_nulls_head *hslot = &nf_conntrack_hash[*bucket]; in get_next_corpse() local
2381 if (hlist_nulls_empty(hslot)) in get_next_corpse()
2387 hlist_nulls_for_each_entry(h, n, hslot, hnnode) { in get_next_corpse()