Lines Matching refs:root_node
93 FTNODE root_node; in test_split_merge() local
98 &bfe, PL_WRITE_EXPENSIVE, &root_node, true); in test_split_merge()
100 invariant(root_node->blocknum.b == ft->h->root_blocknum.b); in test_split_merge()
102 invariant(root_node->n_children > 1); in test_split_merge()
103 invariant(root_node->height == 1); in test_split_merge()
107 invariant(BP_BLOCKNUM(root_node, root_node->n_children - 1).b == ft->rightmost_blocknum.b); in test_split_merge()
110 const int num_children_before_merge = root_node->n_children; in test_split_merge()
116 toku_unpin_ftnode(ft, root_node); in test_split_merge()
124 &bfe, PL_WRITE_EXPENSIVE, &root_node, true); in test_split_merge()
135 toku_ft_merge_child(ft, root_node, root_node->n_children - 1); in test_split_merge()
138 &bfe, PL_WRITE_EXPENSIVE, &root_node, true); in test_split_merge()
141 invariant(root_node->n_children < num_children_before_merge); in test_split_merge()
142 invariant(root_node->height == 1); in test_split_merge()
144 invariant(BP_BLOCKNUM(root_node, root_node->n_children - 1).b == ft->rightmost_blocknum.b); in test_split_merge()
149 toku_unpin_ftnode(ft, root_node); in test_split_merge()