Lines Matching defs:tb
171 static void fib6_link_table(struct net *net, struct fib6_table *tb)
179 rwlock_init(&tb->tb6_lock);
181 h = tb->tb6_id & (FIB6_TABLE_HASHSZ - 1);
187 hlist_add_head_rcu(&tb->tb6_hlist, &net->ipv6.fib_table_hash[h]);
208 struct fib6_table *tb;
212 tb = fib6_get_table(net, id);
213 if (tb)
214 return tb;
216 tb = fib6_alloc_table(net, id);
217 if (tb != NULL)
218 fib6_link_table(net, tb);
220 return tb;
225 struct fib6_table *tb;
235 hlist_for_each_entry_rcu(tb, node, head, tb6_hlist) {
236 if (tb->tb6_id == id) {
238 return tb;
365 struct fib6_table *tb;
400 hlist_for_each_entry(tb, node, head, tb6_hlist) {
403 res = fib6_dump_table(tb, skb, cb);