Searched refs:hslot (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/net/ipv4/ |
D | udp.c | 143 const struct udp_hslot *hslot, in udp_lib_lport_inuse() argument 150 sk_for_each(sk2, &hslot->head) { in udp_lib_lport_inuse() 209 static int udp_reuseport_add_sock(struct sock *sk, struct udp_hslot *hslot) in udp_reuseport_add_sock() argument 215 sk_for_each(sk2, &hslot->head) { in udp_reuseport_add_sock() 243 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local 265 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port() 267 spin_lock_bh(&hslot->lock); in udp_lib_get_port() 268 udp_lib_lport_inuse(net, snum, hslot, bitmap, sk, in udp_lib_get_port() 284 spin_unlock_bh(&hslot->lock); in udp_lib_get_port() 289 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() [all …]
|
D | udp_diag.c | 109 struct udp_hslot *hslot = &table->hash[slot]; in udp_dump() local 114 if (hlist_empty(&hslot->head)) in udp_dump() 117 spin_lock_bh(&hslot->lock); in udp_dump() 118 sk_for_each(sk, &hslot->head) { in udp_dump() 138 spin_unlock_bh(&hslot->lock); in udp_dump() 144 spin_unlock_bh(&hslot->lock); in udp_dump()
|
D | ping.c | 176 struct hlist_nulls_head *hslot = ping_hashslot(&ping_table, net, ident); in ping_lookup() local 194 ping_portaddr_for_each_entry(sk, hnode, hslot) { in ping_lookup() 1025 struct hlist_nulls_head *hslot; in ping_get_first() local 1027 hslot = &ping_table.hash[state->bucket]; in ping_get_first() 1029 if (hlist_nulls_empty(hslot)) in ping_get_first() 1032 sk_nulls_for_each(sk, node, hslot) { in ping_get_first()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwsignal.c | 838 u32 hslot; in brcmf_fws_bus_txq_cleanup() local 849 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_bus_txq_cleanup() 850 hi = &fws->hanger.items[hslot]; in brcmf_fws_bus_txq_cleanup() 1416 u32 hslot; in brcmf_fws_txstatus_suppressed() local 1419 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_txstatus_suppressed() 1443 brcmf_fws_hanger_poppkt(&fws->hanger, hslot, &skb, true); in brcmf_fws_txstatus_suppressed() 1446 brcmf_fws_hanger_mark_suppressed(&fws->hanger, hslot); in brcmf_fws_txstatus_suppressed() 1453 brcmf_fws_txs_process(struct brcmf_fws_info *fws, u8 flags, u32 hslot, in brcmf_fws_txs_process() argument 1481 ret = brcmf_fws_hanger_poppkt(&fws->hanger, hslot, &skb, in brcmf_fws_txs_process() 1484 brcmf_err("no packet in hanger slot: hslot=%d\n", hslot); in brcmf_fws_txs_process() [all …]
|
/Linux-v4.19/net/ipv6/ |
D | udp.c | 206 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; in __udp6_lib_lookup() local 211 if (hslot->count > 10) { in __udp6_lib_lookup() 215 if (hslot->count < hslot2->count) in __udp6_lib_lookup() 230 if (hslot->count < hslot2->count) in __udp6_lib_lookup() 245 sk_for_each_rcu(sk, &hslot->head) { in __udp6_lib_lookup() 686 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver() local 688 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver() 698 hslot = &udptable->hash2[hash2]; in __udp6_lib_mcast_deliver() 702 sk_for_each_entry_offset_rcu(sk, node, &hslot->head, offset) { in __udp6_lib_mcast_deliver()
|