Home
last modified time | relevance | path

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

/trusty/user/app/storage/
Dblock_tree.c872 int depth; in block_tree_check_sub_tree() local
887 depth = 1; in block_tree_check_sub_tree()
988 if (depth == 1) { in block_tree_check_sub_tree()
989 depth = -2; in block_tree_check_sub_tree()
991 } else if (depth == 1 || depth == -2) { in block_tree_check_sub_tree()
992 depth = sub_tree_depth + 1; in block_tree_check_sub_tree()
993 } else if (sub_tree_depth != depth - 1) { in block_tree_check_sub_tree()
996 sub_tree_depth, depth - 1); in block_tree_check_sub_tree()
1024 if (depth == 1) { in block_tree_check_sub_tree()
1025 depth = -2; in block_tree_check_sub_tree()
[all …]
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c2491 unsigned int depth) { in select_files_block() argument
2494 assert(path.count > depth); in select_files_block()
2495 return block_mac_to_block(tr, &path.entry[depth].block_mac); in select_files_block()
2499 unsigned int depth) { in select_free_block() argument
2502 assert(path.count > depth); in select_free_block()
2503 return block_mac_to_block(tr, &path.entry[depth].block_mac); in select_free_block()