• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/

Lines Matching refs:hslot

129 			       const struct udp_hslot *hslot,
139 sk_nulls_for_each(sk2, node, &hslot->head)
200 struct udp_hslot *hslot, *hslot2;
222 hslot = udp_hashslot(udptable, net, first);
224 spin_lock_bh(&hslot->lock);
225 udp_lib_lport_inuse(net, snum, hslot, bitmap, sk,
241 spin_unlock_bh(&hslot->lock);
245 hslot = udp_hashslot(udptable, net, snum);
246 spin_lock_bh(&hslot->lock);
247 if (hslot->count > 10) {
255 if (hslot->count < hslot2->count)
271 if (udp_lib_lport_inuse(net, snum, hslot, NULL, sk,
280 sk_nulls_add_node_rcu(sk, &hslot->head);
281 hslot->count++;
293 spin_unlock_bh(&hslot->lock);
455 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot];
459 if (hslot->count > 10) {
463 if (hslot->count < hslot2->count)
473 if (hslot->count < hslot2->count)
486 sk_nulls_for_each_rcu(sk, node, &hslot->head) {
1241 struct udp_hslot *hslot, *hslot2;
1243 hslot = udp_hashslot(udptable, sock_net(sk),
1247 spin_lock_bh(&hslot->lock);
1249 hslot->count--;
1258 spin_unlock_bh(&hslot->lock);
1270 struct udp_hslot *hslot, *hslot2, *nhslot2;
1276 hslot = udp_hashslot(udptable, sock_net(sk),
1279 spin_lock_bh(&hslot->lock);
1292 spin_unlock_bh(&hslot->lock);
1484 struct udp_hslot *hslot = udp_hashslot(udptable, net, ntohs(uh->dest));
1488 spin_lock(&hslot->lock);
1489 sk = sk_nulls_head(&hslot->head);
1509 spin_unlock(&hslot->lock);
1904 struct udp_hslot *hslot = &state->udp_table->hash[state->bucket];
1906 if (hlist_nulls_empty(&hslot->head))
1909 spin_lock_bh(&hslot->lock);
1910 sk_nulls_for_each(sk, node, &hslot->head) {
1916 spin_unlock_bh(&hslot->lock);