Searched refs:hslot (Results 1 – 5 of 5) sorted by relevance
| /linux-4.4.14/net/ipv4/ |
| D | udp.c | 136 const struct udp_hslot *hslot, in udp_lib_lport_inuse() argument 147 sk_nulls_for_each(sk2, node, &hslot->head) { in udp_lib_lport_inuse() 213 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local 235 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port() 237 spin_lock_bh(&hslot->lock); in udp_lib_get_port() 238 udp_lib_lport_inuse(net, snum, hslot, bitmap, sk, in udp_lib_get_port() 254 spin_unlock_bh(&hslot->lock); in udp_lib_get_port() 258 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 259 spin_lock_bh(&hslot->lock); in udp_lib_get_port() 260 if (hslot->count > 10) { in udp_lib_get_port() [all …]
|
| 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 | 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() 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-4.4.14/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.4.14/net/ipv6/ |
| D | udp.c | 296 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; in __udp6_lib_lookup() local 301 if (hslot->count > 10) { in __udp6_lib_lookup() 305 if (hslot->count < hslot2->count) in __udp6_lib_lookup() 315 if (hslot->count < hslot2->count) in __udp6_lib_lookup() 328 sk_nulls_for_each_rcu(sk, node, &hslot->head) { in __udp6_lib_lookup() 793 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver() local 796 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver() 804 hslot = &udp_table.hash2[hash2]; in __udp6_lib_mcast_deliver() 808 spin_lock(&hslot->lock); in __udp6_lib_mcast_deliver() 809 sk_nulls_for_each_entry_offset(sk, node, &hslot->head, offset) { in __udp6_lib_mcast_deliver() [all …]
|