Lines Matching refs:tb2

219 				 const struct inet_bind2_bucket *tb2,  in inet_bhash2_conflict()  argument
226 sk_for_each_bound(sk2, &tb2->owners) { in inet_bhash2_conflict()
242 const struct inet_bind2_bucket *tb2, /* may be null */ in inet_csk_bind_conflict() argument
262 return tb2 && inet_bhash2_conflict(sk, tb2, uid, relax, in inet_csk_bind_conflict()
270 sk_for_each_bound_bhash(sk2, tb2, tb) { in inet_csk_bind_conflict()
293 struct inet_bind2_bucket *tb2; in inet_bhash2_addr_any_conflict() local
308 inet_bind_bucket_for_each(tb2, &head2->chain) { in inet_bhash2_addr_any_conflict()
309 if (!inet_bind2_bucket_match_addr_any(tb2, net, port, l3mdev, sk)) in inet_bhash2_addr_any_conflict()
312 if (!inet_bhash2_conflict(sk, tb2, uid, relax, reuseport_cb_ok, reuseport_ok)) in inet_bhash2_addr_any_conflict()
337 struct inet_bind2_bucket *tb2; in inet_csk_find_open_port() local
385 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_find_open_port()
388 if (!inet_csk_bind_conflict(sk, tb, tb2, in inet_csk_find_open_port()
420 *tb2_ret = tb2; in inet_csk_find_open_port()
518 struct inet_bind2_bucket *tb2 = NULL; in inet_csk_get_port() local
526 head = inet_csk_find_open_port(sk, &tb, &tb2, &head2, &port); in inet_csk_get_port()
532 if (tb && tb2) in inet_csk_get_port()
568 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_get_port()
571 if (!tb2) { in inet_csk_get_port()
572 tb2 = inet_bind2_bucket_create(hinfo->bind2_bucket_cachep, in inet_csk_get_port()
574 if (!tb2) in inet_csk_get_port()
580 if (inet_csk_bind_conflict(sk, tb, tb2, true, true)) in inet_csk_get_port()
588 inet_bind_hash(sk, tb, tb2, port); in inet_csk_get_port()
590 WARN_ON(inet_csk(sk)->icsk_bind2_hash != tb2); in inet_csk_get_port()
596 inet_bind2_bucket_destroy(hinfo->bind2_bucket_cachep, tb2); in inet_csk_get_port()