Home
last modified time | relevance | path

Searched refs:tn_info (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/net/ipv4/
Dfib_trie.c187 static inline struct tnode *tn_info(struct key_vector *kv) in tn_info() function
193 #define node_parent(tn) rtnl_dereference(tn_info(tn)->parent)
197 #define node_parent_rcu(tn) rcu_dereference_rtnl(tn_info(tn)->parent)
204 rcu_assign_pointer(tn_info(n)->parent, tp); in node_set_parent()
207 #define NODE_INIT_PARENT(n, p) RCU_INIT_POINTER(tn_info(n)->parent, p)
317 #define node_free(n) call_rcu(&tn_info(n)->rcu, __node_free_rcu)
338 tn_info(n)->empty_children++; in empty_child_inc()
340 if (!tn_info(n)->empty_children) in empty_child_inc()
341 tn_info(n)->full_children++; in empty_child_inc()
346 if (!tn_info(n)->empty_children) in empty_child_dec()
[all …]