Searched refs:hslot (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/net/ipv4/ |
D | udp_diag.c | 108 struct udp_hslot *hslot = &table->hash[slot]; in udp_dump() local 112 if (hlist_nulls_empty(&hslot->head)) in udp_dump() 115 spin_lock_bh(&hslot->lock); in udp_dump() 116 sk_nulls_for_each(sk, node, &hslot->head) { in udp_dump() 136 spin_unlock_bh(&hslot->lock); in udp_dump() 142 spin_unlock_bh(&hslot->lock); in udp_dump()
|
D | udp.c | 137 const struct udp_hslot *hslot, in udp_lib_lport_inuse() argument 148 sk_nulls_for_each(sk2, node, &hslot->head) { in udp_lib_lport_inuse() 214 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local 236 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port() 238 spin_lock_bh(&hslot->lock); in udp_lib_get_port() 239 udp_lib_lport_inuse(net, snum, hslot, bitmap, sk, in udp_lib_get_port() 255 spin_unlock_bh(&hslot->lock); in udp_lib_get_port() 259 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 260 spin_lock_bh(&hslot->lock); in udp_lib_get_port() 261 if (hslot->count > 10) { in udp_lib_get_port() [all …]
|
D | ping.c | 173 struct hlist_nulls_head *hslot = ping_hashslot(&ping_table, net, ident); in ping_lookup() local 191 ping_portaddr_for_each_entry(sk, hnode, hslot) { in ping_lookup() 1024 struct hlist_nulls_head *hslot; in ping_get_first() local 1026 hslot = &ping_table.hash[state->bucket]; in ping_get_first() 1028 if (hlist_nulls_empty(hslot)) in ping_get_first() 1031 sk_nulls_for_each(sk, node, hslot) { in ping_get_first()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fwsignal.c | 827 u32 hslot; in brcmf_fws_bus_txq_cleanup() local 838 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_bus_txq_cleanup() 839 hi = &fws->hanger.items[hslot]; in brcmf_fws_bus_txq_cleanup() 1405 u32 hslot; in brcmf_fws_txstatus_suppressed() local 1408 hslot = brcmf_skb_htod_tag_get_field(skb, HSLOT); in brcmf_fws_txstatus_suppressed() 1432 brcmf_fws_hanger_poppkt(&fws->hanger, hslot, &skb, true); in brcmf_fws_txstatus_suppressed() 1435 brcmf_fws_hanger_mark_suppressed(&fws->hanger, hslot); in brcmf_fws_txstatus_suppressed() 1442 brcmf_fws_txs_process(struct brcmf_fws_info *fws, u8 flags, u32 hslot, in brcmf_fws_txs_process() argument 1470 ret = brcmf_fws_hanger_poppkt(&fws->hanger, hslot, &skb, in brcmf_fws_txs_process() 1473 brcmf_err("no packet in hanger slot: hslot=%d\n", hslot); in brcmf_fws_txs_process() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | udp.c | 293 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; in __udp6_lib_lookup() local 298 if (hslot->count > 10) { in __udp6_lib_lookup() 302 if (hslot->count < hslot2->count) in __udp6_lib_lookup() 312 if (hslot->count < hslot2->count) in __udp6_lib_lookup() 325 sk_nulls_for_each_rcu(sk, node, &hslot->head) { in __udp6_lib_lookup() 790 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver() local 793 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver() 801 hslot = &udp_table.hash2[hash2]; in __udp6_lib_mcast_deliver() 805 spin_lock(&hslot->lock); in __udp6_lib_mcast_deliver() 806 sk_nulls_for_each_entry_offset(sk, node, &hslot->head, offset) { in __udp6_lib_mcast_deliver() [all …]
|