Searched refs:hslot (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/net/ipv4/ |
| H A D | udp.c | 266 spin_lock_bh(&hslot->lock); in udp_lib_get_port() 289 spin_lock_bh(&hslot->lock); in udp_lib_get_port() 290 if (hslot->count > 10) { in udp_lib_get_port() 332 hslot->count++; in udp_lib_get_port() 350 spin_unlock_bh(&hslot->lock); in udp_lib_get_port() 639 spin_lock_bh(&hslot->lock); in udp_lib_hash4() 653 spin_unlock_bh(&hslot->lock); in udp_lib_hash4() 2210 hslot->count--; in udp_lib_unhash() 2521 hslot = &udptable->hash2[hash2].hslot; in __udp4_lib_mcast_deliver() 2757 struct udp_hslot *hslot; in __udp4_lib_mcast_demux_lookup() local [all …]
|
| H A D | udp_diag.c | 105 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()
|
| H A D | ping.c | 169 struct hlist_head *hslot = ping_hashslot(&ping_table, net, ident); in ping_lookup() local 190 sk_for_each_rcu(sk, hslot) { in ping_lookup() 1023 struct hlist_head *hslot; in ping_get_first() local 1025 hslot = &ping_table.hash[state->bucket]; in ping_get_first() 1027 if (hlist_empty(hslot)) in ping_get_first() 1030 sk_for_each(sk, hslot) { in ping_get_first()
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | fwsignal.c | 628 u32 hslot; in brcmf_fws_psq_flush() local 814 u32 hslot; in brcmf_fws_bus_txq_cleanup() local 1399 u32 hslot; in brcmf_fws_txstatus_suppressed() local 1475 hslot); in brcmf_fws_txs_process() 1514 hslot = (hslot + 1) & (BRCMF_FWS_TXSTAT_HSLOT_MASK >> in brcmf_fws_txs_process() 1552 u32 hslot; in brcmf_fws_txstatus_indicate() local 1987 int qidx, hslot; in brcmf_fws_rollback_toq() local 2010 hslot, 0, 0, 1); in brcmf_fws_rollback_toq() 2093 int rc, hslot; in brcmf_fws_assign_htod() local 2202 u32 hslot; in brcmf_fws_dequeue_worker() local [all …]
|
| /linux-6.15/net/ipv6/ |
| H A D | udp.c | 200 struct udp_hslot *hslot = &udptable->hash[slot]; in udp6_lib_lookup1() local 204 sk_for_each_rcu(sk, &hslot->head) { in udp6_lib_lookup1() 983 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver() local 985 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver() 996 hslot = &udptable->hash2[hash2].hslot; in __udp6_lib_mcast_deliver() 1000 sk_for_each_entry_offset_rcu(sk, node, &hslot->head, offset) { in __udp6_lib_mcast_deliver()
|
| /linux-6.15/include/net/ |
| H A D | udp.h | 80 struct udp_hslot hslot; /* must be the first member */ member 122 return &table->hash2[hash & table->mask].hslot; in udp_hashslot2()
|
| /linux-6.15/arch/powerpc/mm/book3s64/ |
| H A D | hash_utils.c | 309 unsigned long hash, hslot, slot; in kernel_unmap_linear_page() local 319 hslot = slots[idx] & 0x7f; in kernel_unmap_linear_page() 322 if (hslot & _PTEIDX_SECONDARY) in kernel_unmap_linear_page() 325 slot += hslot & _PTEIDX_GROUP_IX; in kernel_unmap_linear_page()
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_conntrack_core.c | 2305 struct hlist_nulls_head *hslot = &nf_conntrack_hash[*bucket]; in get_next_corpse() local 2307 if (hlist_nulls_empty(hslot)) in get_next_corpse() 2313 hlist_nulls_for_each_entry(h, n, hslot, hnnode) { in get_next_corpse()
|