• Home
  • Raw
  • Download

Lines Matching defs:tn

194 #define node_parent(tn) rtnl_dereference(tn_info(tn)->parent)  argument
195 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) argument
198 #define node_parent_rcu(tn) rcu_dereference_rtnl(tn_info(tn)->parent) argument
199 #define get_child_rcu(tn, i) rcu_dereference_rtnl((tn)->tnode[i]) argument
213 static inline unsigned long child_length(const struct key_vector *tn) in child_length()
381 struct key_vector *tn; in tnode_new() local
411 static inline int tnode_full(struct key_vector *tn, struct key_vector *n) in tnode_full()
419 static void put_child(struct key_vector *tn, unsigned long i, in put_child()
448 static void update_children(struct key_vector *tn) in update_children()
479 static inline void tnode_free_init(struct key_vector *tn) in tnode_free_init()
484 static inline void tnode_free_append(struct key_vector *tn, in tnode_free_append()
491 static void tnode_free(struct key_vector *tn) in tnode_free()
511 struct key_vector *tn) in replace()
541 struct key_vector *tn; in inflate() local
637 struct key_vector *tn; in halve() local
710 static unsigned char update_suffix(struct key_vector *tn) in update_suffix()
805 static inline bool should_inflate(struct key_vector *tp, struct key_vector *tn) in should_inflate()
820 static inline bool should_halve(struct key_vector *tp, struct key_vector *tn) in should_halve()
834 static inline bool should_collapse(struct key_vector *tn) in should_collapse()
849 static struct key_vector *resize(struct trie *t, struct key_vector *tn) in resize()
914 static void node_pull_suffix(struct key_vector *tn, unsigned char slen) in node_pull_suffix()
928 static void node_push_suffix(struct key_vector *tn, unsigned char slen) in node_push_suffix()
1008 static void trie_rebalance(struct trie *t, struct key_vector *tn) in trie_rebalance()
1033 struct key_vector *tn; in fib_insert_node() local
1619 static struct key_vector *leaf_walk_rcu(struct key_vector **tn, t_key key) in leaf_walk_rcu()