Home
last modified time | relevance | path

Searched refs:block_nodes (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/pta/tests/
A Dfs_htree.c34 const size_t block_nodes = TEST_BLOCK_SIZE / (node_size * 2); in test_get_offs_size() local
75 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()
/optee_os/core/tee/
A Dtee_ree_fs.c136 const size_t block_nodes = BLOCK_SIZE / (node_size * 2); in get_offs_size() local
198 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 5 milliseconds