Searched refs:block_nodes (Results 1 – 2 of 2) sorted by relevance
34 const size_t block_nodes = TEST_BLOCK_SIZE / (node_size * 2); in test_get_offs_size() local75 pbn = 1 + ((idx / block_nodes) * block_nodes * 2); in test_get_offs_size()77 2 * node_size * (idx % block_nodes) + in test_get_offs_size()83 pbn = 2 + bidx + bidx / (block_nodes * 2 - 1); in test_get_offs_size()
136 const size_t block_nodes = BLOCK_SIZE / (node_size * 2); in get_offs_size() local198 pbn = 1 + ((idx / block_nodes) * block_nodes * 2); in get_offs_size()200 2 * node_size * (idx % block_nodes) + in get_offs_size()206 pbn = 2 + bidx + bidx / (block_nodes * 2 - 1); in get_offs_size()
Completed in 4 milliseconds