Lines Matching defs:tb2
219 const struct inet_bind2_bucket *tb2,
226 sk_for_each_bound(sk2, &tb2->owners) {
239 /* This should be called only when the tb and tb2 hashbuckets' locks are held */
242 const struct inet_bind2_bucket *tb2, /* may be null */
262 return tb2 && inet_bhash2_conflict(sk, tb2, uid, relax,
267 * in tb->owners and tb2->owners list belong
270 sk_for_each_bound_bhash(sk2, tb2, tb) {
293 struct inet_bind2_bucket *tb2;
308 inet_bind_bucket_for_each(tb2, &head2->chain) {
309 if (!inet_bind2_bucket_match_addr_any(tb2, net, port, l3mdev, sk))
312 if (!inet_bhash2_conflict(sk, tb2, uid, relax, reuseport_cb_ok, reuseport_ok))
337 struct inet_bind2_bucket *tb2;
385 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk);
388 if (!inet_csk_bind_conflict(sk, tb, tb2,
420 *tb2_ret = tb2;
458 struct inet_bind2_bucket *tb2)
506 tb2->fastreuse = tb->fastreuse;
507 tb2->fastreuseport = tb->fastreuseport;
522 struct inet_bind2_bucket *tb2 = NULL;
530 head = inet_csk_find_open_port(sk, &tb, &tb2, &head2, &port);
536 if (tb && tb2)
572 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk);
575 if (!tb2) {
576 tb2 = inet_bind2_bucket_create(hinfo->bind2_bucket_cachep,
578 if (!tb2)
584 if (inet_csk_bind_conflict(sk, tb, tb2, true, true))
589 inet_csk_update_fastreuse(sk, tb, tb2);
592 inet_bind_hash(sk, tb, tb2, port);
594 WARN_ON(inet_csk(sk)->icsk_bind2_hash != tb2);
600 inet_bind2_bucket_destroy(hinfo->bind2_bucket_cachep, tb2);