Searched refs:hslot2 (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ipv4/ |
| H A D | udp.c | 178 struct udp_hslot *hslot2, in udp_lib_lport_inuse2() argument 185 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2() 186 udp_portaddr_for_each_entry(sk2, &hslot2->head) { in udp_lib_lport_inuse2() 204 spin_unlock(&hslot2->lock); in udp_lib_lport_inuse2() 243 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local 297 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port() 298 if (hslot->count < hslot2->count) in udp_lib_get_port() 301 exist = udp_lib_lport_inuse2(net, snum, hslot2, sk); in udp_lib_get_port() 303 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port() 304 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port() [all …]
|
| /linux/include/net/ |
| H A D | udp.h | 147 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/net/ipv6/ |
| H A D | udp.c | 222 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 231 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in udp6_lib_lookup2() 351 struct udp_hslot *hslot2; in __udp6_lib_lookup() local 356 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup() 358 if (udp_has_hash4(hslot2)) { in __udp6_lib_lookup() 368 hslot2, skb); in __udp6_lib_lookup() 390 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup() 394 hslot2, skb); in __udp6_lib_lookup() 1204 struct udp_hslot *hslot2; in __udp6_lib_demux_lookup() local 1210 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_demux_lookup() [all …]
|