Home
last modified time | relevance | path

Searched refs:total_blocks (Results 1 – 10 of 10) 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.cc583 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/
DEncryptInplace.cpp59 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/
Df2fs_sparseblock.h59 uint64_t total_blocks; member
Df2fs_sparseblock.c154 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/
Drw_t2t_ndef.cc1078 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/
Dchecker.py693 def _CheckLength(self, length, total_blocks, op_name, length_name): argument
710 self._CheckBlocksFitLength(length, total_blocks, self.block_size,