Lines Matching refs:tn_info
164 static inline struct tnode *tn_info(struct key_vector *kv) in tn_info() function
170 #define node_parent(tn) rtnl_dereference(tn_info(tn)->parent)
174 #define node_parent_rcu(tn) rcu_dereference_rtnl(tn_info(tn)->parent)
181 rcu_assign_pointer(tn_info(n)->parent, tp); in node_set_parent()
184 #define NODE_INIT_PARENT(n, p) RCU_INIT_POINTER(tn_info(n)->parent, p)
298 #define node_free(n) call_rcu(&tn_info(n)->rcu, __node_free_rcu)
319 ++tn_info(n)->empty_children ? : ++tn_info(n)->full_children; in empty_child_inc()
324 tn_info(n)->empty_children-- ? : tn_info(n)->full_children--; in empty_child_dec()
410 tn_info(tn)->full_children--; in put_child()
412 tn_info(tn)->full_children++; in put_child()
453 tn_info(tn)->rcu.next = NULL; in tnode_free_init()
459 tn_info(n)->rcu.next = tn_info(tn)->rcu.next; in tnode_free_append()
460 tn_info(tn)->rcu.next = &tn_info(n)->rcu; in tnode_free_append()
465 struct callback_head *head = &tn_info(tn)->rcu; in tnode_free()
781 used -= tn_info(tn)->empty_children; in should_inflate()
782 used += tn_info(tn)->full_children; in should_inflate()
796 used -= tn_info(tn)->empty_children; in should_halve()
807 used -= tn_info(tn)->empty_children; in should_collapse()
810 if ((tn->bits == KEYLENGTH) && tn_info(tn)->full_children) in should_collapse()
2121 s->nullpointers += tn_info(n)->empty_children; in trie_collect_stats()
2396 tn_info(n)->full_children, in fib_trie_seq_show()
2397 tn_info(n)->empty_children); in fib_trie_seq_show()