Home
last modified time | relevance | path

Searched refs:total_blocks (Results 1 – 9 of 9) sorted by relevance

/system/update_engine/payload_consumer/
Dfile_descriptor_utils.cc43 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/
Dmapfile_filesystem_unittest.cc47 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()
Dext2_filesystem_unittest.cc53 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()
Dsquashfs_filesystem_unittest.cc54 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()
Ddelta_diff_utils.cc706 uint64_t total_blocks = utils::BlocksInExtents(new_extents); in DeltaReadFile() local
708 chunk_blocks = total_blocks; in DeltaReadFile()
710 for (uint64_t block_offset = 0; block_offset < total_blocks; in DeltaReadFile()
747 if (static_cast<uint64_t>(chunk_blocks) < total_blocks) { in DeltaReadFile()
/system/extras/f2fs_utils/
Df2fs_sparseblock.h59 uint64_t total_blocks; member
Df2fs_sparseblock.c156 SLOGD("total_blocks: %" PRIu64, info->total_blocks); in dbg_print_info_struct()
313 uint64_t num_segments = (info->total_blocks - info->main_blkaddr in gather_sit_info()
411 info->total_blocks = sb->block_count; in generate_f2fs_info()
492 while (block < info->total_blocks) { in run_on_used_blocks()
558 int pdone = (pos * 100) / d->info->total_blocks; in copy_used()
625 ftruncate64(outfd, info->total_blocks * F2FS_BLKSIZE); in main()
/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc1111 uint16_t total_blocks = p_cc[2] * 2 + T2T_FIRST_DATA_BLOCK; in rw_t2t_write_ndef_first_block() local
1144 while (p_t2t->work_offset == 0 && block < total_blocks) { in rw_t2t_write_ndef_first_block()
1208 uint16_t total_blocks = p_cc[2] * 2 + T2T_FIRST_DATA_BLOCK; in rw_t2t_write_ndef_next_block() local
1226 while (p_t2t->work_offset == initial_offset && block < total_blocks) { in rw_t2t_write_ndef_next_block()
1265 while (p_t2t->work_offset == initial_offset && block < total_blocks) { in rw_t2t_write_ndef_next_block()
/system/update_engine/scripts/update_payload/
Dchecker.py707 def _CheckLength(self, length, total_blocks, op_name, length_name): argument
724 self._CheckBlocksFitLength(length, total_blocks, self.block_size,