Searched refs:total_blocks (Results 1 – 10 of 10) sorted by relevance
/system/update_engine/payload_consumer/ |
D | file_descriptor_utils.cc | 43 auto total_blocks = utils::BlocksInExtents(src_extents); in CommonHashExtents() local 54 while (total_blocks > 0) { in CommonHashExtents() 55 auto read_blocks = std::min(total_blocks, buffer_blocks); in CommonHashExtents() 65 total_blocks -= read_blocks; in CommonHashExtents()
|
/system/update_engine/payload_generator/ |
D | mapfile_filesystem_unittest.cc | 47 void ExpectBlocksInRange(const vector<Extent>& extents, uint64_t total_blocks) { in ExpectBlocksInRange() argument 50 EXPECT_LE(extent.start_block() + extent.num_blocks(), total_blocks); in ExpectBlocksInRange()
|
D | ext2_filesystem_unittest.cc | 53 void ExpectBlocksInRange(const vector<Extent>& extents, uint64_t total_blocks) { in ExpectBlocksInRange() argument 56 EXPECT_LE(extent.start_block() + extent.num_blocks(), total_blocks); in ExpectBlocksInRange()
|
D | squashfs_filesystem_unittest.cc | 54 void ExpectBlocksInRange(const vector<Extent>& extents, uint64_t total_blocks) { in ExpectBlocksInRange() argument 57 EXPECT_LE(extent.start_block() + extent.num_blocks(), total_blocks); in ExpectBlocksInRange()
|
D | delta_diff_utils.cc | 583 uint64_t total_blocks = utils::BlocksInExtents(new_extents); in DeltaReadFile() local 590 chunk_blocks = total_blocks; in DeltaReadFile() 592 for (uint64_t block_offset = 0; block_offset < total_blocks; in DeltaReadFile() 624 if (static_cast<uint64_t>(chunk_blocks) < total_blocks) { in DeltaReadFile()
|
/system/vold/ |
D | EncryptInplace.cpp | 59 void InitFs(const std::string& fs_type, uint64_t blocks_to_encrypt, uint64_t total_blocks, 106 uint64_t total_blocks, unsigned int block_size) { in InitFs() argument 121 << " MB) of " << total_blocks << " blocks are in-use"; in InitFs() 292 InitFs("f2fs", get_num_blocks_used(fs_info.get()), fs_info->total_blocks, fs_info->block_size); in EncryptInPlaceF2fs()
|
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.h | 59 uint64_t total_blocks; member
|
D | f2fs_sparseblock.c | 154 SLOGV("total_blocks: %" PRIu64, info->total_blocks); in dbg_print_info_struct() 302 (info->total_blocks - info->main_blkaddr + info->blocks_per_segment - 1) / in gather_sit_info() 395 info->total_blocks = sb->block_count; in generate_f2fs_info() 475 while (block < info->total_blocks) { in run_on_used_blocks() 538 int pdone = (pos * 100) / d->info->total_blocks; in copy_used() 603 ftruncate64(outfd, info->total_blocks * F2FS_BLKSIZE); in main()
|
/system/nfc/src/nfc/tags/ |
D | rw_t2t_ndef.cc | 1078 uint16_t total_blocks = p_cc[2] * 2 + T2T_FIRST_DATA_BLOCK; in rw_t2t_write_ndef_first_block() local 1111 while (p_t2t->work_offset == 0 && block < total_blocks) { in rw_t2t_write_ndef_first_block() 1175 uint16_t total_blocks = p_cc[2] * 2 + T2T_FIRST_DATA_BLOCK; in rw_t2t_write_ndef_next_block() local 1193 while (p_t2t->work_offset == initial_offset && block < total_blocks) { in rw_t2t_write_ndef_next_block() 1232 while (p_t2t->work_offset == initial_offset && block < total_blocks) { in rw_t2t_write_ndef_next_block()
|
/system/update_engine/scripts/update_payload/ |
D | checker.py | 693 def _CheckLength(self, length, total_blocks, op_name, length_name): argument 710 self._CheckBlocksFitLength(length, total_blocks, self.block_size,
|