Home
last modified time | relevance | path

Searched refs:hslot2 (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/net/ipv4/
H A Dudp.c185 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2()
340 &hslot2->head); in udp_lib_get_port()
343 &hslot2->head); in udp_lib_get_port()
344 hslot2->count++; in udp_lib_get_port()
616 udp_hash4_dec(hslot2); in udp_unhash4()
649 spin_lock(&hslot2->lock); in udp_lib_hash4()
650 udp_hash4_inc(hslot2); in udp_lib_hash4()
699 hslot2, skb); in __udp4_lib_lookup()
725 hslot2, skb); in __udp4_lib_lookup()
2216 hslot2->count--; in udp_lib_unhash()
[all …]
/linux-6.15/include/net/
H A Dudp.h147 static inline bool udp_has_hash4(const struct udp_hslot *hslot2) in udp_has_hash4() argument
152 static inline void udp_hash4_inc(struct udp_hslot *hslot2) in udp_hash4_inc() argument
156 static inline void udp_hash4_dec(struct udp_hslot *hslot2) in udp_hash4_dec() argument
190 static inline bool udp_has_hash4(const struct udp_hslot *hslot2) in udp_has_hash4() argument
192 return UDP_HSLOT_MAIN(hslot2)->hash4_cnt; in udp_has_hash4()
195 static inline void udp_hash4_inc(struct udp_hslot *hslot2) in udp_hash4_inc() argument
197 UDP_HSLOT_MAIN(hslot2)->hash4_cnt++; in udp_hash4_inc()
200 static inline void udp_hash4_dec(struct udp_hslot *hslot2) in udp_hash4_dec() argument
202 UDP_HSLOT_MAIN(hslot2)->hash4_cnt--; in udp_hash4_dec()
/linux-6.15/net/ipv6/
H A Dudp.c220 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument
229 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in udp6_lib_lookup2()
349 struct udp_hslot *hslot2; in __udp6_lib_lookup() local
354 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup()
356 if (udp_has_hash4(hslot2)) { in __udp6_lib_lookup()
366 hslot2, skb); in __udp6_lib_lookup()
388 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup()
392 hslot2, skb); in __udp6_lib_lookup()
1202 struct udp_hslot *hslot2; in __udp6_lib_demux_lookup() local
1208 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_demux_lookup()
[all …]