Lines Matching refs:KEYS_PER_NODE
31 #define KEYS_PER_NODE (NODE_SIZE / sizeof(sector_t)) macro
32 #define CHILDREN_PER_NODE (KEYS_PER_NODE + 1)
63 return t->index[l] + (n * KEYS_PER_NODE); in get_node()
78 return get_node(t, l, n)[KEYS_PER_NODE - 1]; in high()
93 for (k = 0U; k < KEYS_PER_NODE; k++) in setup_btree_index()
146 num_targets = KEYS_PER_NODE; in dm_table_create()
148 num_targets = dm_round_up(num_targets, KEYS_PER_NODE); in dm_table_create()
1092 indexes += (KEYS_PER_NODE * t->counts[i]); in setup_indexes()
1108 leaf_nodes = dm_div_up(t->num_targets, KEYS_PER_NODE); in dm_table_build_index()
1487 for (k = 0; k < KEYS_PER_NODE; k++) in dm_table_find_target()
1492 return &t->targets[(KEYS_PER_NODE * n) + k]; in dm_table_find_target()