Lines Matching refs:put_child

161 static void put_child(struct trie *t, struct tnode *tn, int i, struct rt_trie_node *n);
492 static inline void put_child(struct trie *t, struct tnode *tn, int i, in put_child() function
756 put_child(t, tn, 2*i, (struct rt_trie_node *) left); in inflate()
757 put_child(t, tn, 2*i+1, (struct rt_trie_node *) right); in inflate()
778 put_child(t, tn, 2*i, node); in inflate()
780 put_child(t, tn, 2*i+1, node); in inflate()
788 put_child(t, tn, 2*i, rtnl_dereference(inode->child[0])); in inflate()
789 put_child(t, tn, 2*i+1, rtnl_dereference(inode->child[1])); in inflate()
819 put_child(t, tn, 2*i, NULL); in inflate()
824 put_child(t, tn, 2*i+1, NULL); in inflate()
830 put_child(t, left, j, rtnl_dereference(inode->child[j])); in inflate()
831 put_child(t, right, j, rtnl_dereference(inode->child[j + size])); in inflate()
833 put_child(t, tn, 2*i, resize(t, left)); in inflate()
834 put_child(t, tn, 2*i+1, resize(t, right)); in inflate()
879 put_child(t, tn, i/2, (struct rt_trie_node *)newn); in halve()
894 put_child(t, tn, i/2, right); in halve()
899 put_child(t, tn, i/2, left); in halve()
905 put_child(t, tn, i/2, NULL); in halve()
906 put_child(t, newBinNode, 0, left); in halve()
907 put_child(t, newBinNode, 1, right); in halve()
908 put_child(t, tn, i/2, resize(t, newBinNode)); in halve()
1127 put_child(t, (struct tnode *)tp, cindex, (struct rt_trie_node *)l); in fib_insert_node()
1157 put_child(t, tn, missbit, (struct rt_trie_node *)l); in fib_insert_node()
1158 put_child(t, tn, 1-missbit, n); in fib_insert_node()
1162 put_child(t, (struct tnode *)tp, cindex, in fib_insert_node()
1622 put_child(t, (struct tnode *)tp, cindex, NULL); in trie_leaf_remove()