Searched refs:data_blocks (Results 1 – 5 of 5) sorted by relevance
/system/core/libsparse/ |
D | backed_block.cpp | 50 struct backed_block* data_blocks; member 56 return bbl->data_blocks; in backed_block_iter_new() 120 if (bbl->data_blocks) { in backed_block_list_destroy() 121 struct backed_block* bb = bbl->data_blocks; in backed_block_list_destroy() 137 start = from->data_blocks; in backed_block_list_move() 151 if (from->data_blocks == start) { in backed_block_list_move() 152 from->data_blocks = end->next; in backed_block_list_move() 154 for (bb = from->data_blocks; bb; bb = bb->next) { in backed_block_list_move() 162 if (!to->data_blocks) { in backed_block_list_move() 163 to->data_blocks = start; in backed_block_list_move() [all …]
|
/system/extras/verity/ |
D | build_verity_metadata.py | 63 def build_verity_table(block_device, data_blocks, root_hash, salt): argument 69 data_blocks, 70 data_blocks, 75 def build_verity_metadata(data_blocks, metadata_image, root_hash, salt, argument 79 verity_table = build_verity_table(block_device, data_blocks, root_hash, salt)
|
/system/extras/libfec/ |
D | fec_verity.cpp | 141 int hashtree_info::initialize(uint64_t hash_start, uint64_t data_blocks, in initialize() argument 146 this->data_blocks = data_blocks; in initialize() 173 check(index < data_blocks) in check_block_hash_with_index() 213 uint64_t hash_size = verity_get_size(data_blocks * FEC_BLOCKSIZE, &levels, in verify_tree() 243 verity_get_size(data_blocks * FEC_BLOCKSIZE, NULL, hashes, in verify_tree() 369 uint64_t data_blocks = 0; in parse_table() local 391 &data_blocks) == -1) { in parse_table() 447 check(data_blocks == v->metadata_start / FEC_BLOCKSIZE); in parse_table() 449 check(data_blocks == hash_start / FEC_BLOCKSIZE); in parse_table() 454 v->hashtree.initialize(hash_start, data_blocks, salt, NID_sha256); in parse_table()
|
D | fec_private.h | 80 uint64_t data_blocks; member 90 int initialize(uint64_t hash_start, uint64_t data_blocks,
|
/system/extras/libfec/test/ |
D | fec_unittest.cpp | 154 verity_get_size(handle->hashtree().data_blocks * FEC_BLOCKSIZE, nullptr, in TEST_F() 242 verity_get_size(handle->hashtree().data_blocks * FEC_BLOCKSIZE, nullptr, in TEST_F()
|