Home
last modified time | relevance | path

Searched refs:block_count (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/payload_generator/
Draw_filesystem.cc28 const std::string& filename, uint64_t block_size, uint64_t block_count) { in Create() argument
32 result->block_count_ = block_count; in Create()
Dfake_filesystem.cc23 FakeFilesystem::FakeFilesystem(uint64_t block_size, uint64_t block_count) : in FakeFilesystem() argument
25 block_count_(block_count) { in FakeFilesystem()
Dextent_utils.cc129 uint64_t block_offset, uint64_t block_count) { in ExtentsSublist() argument
132 if (block_count == 0) in ExtentsSublist()
134 uint64_t end_block_offset = block_offset + block_count; in ExtentsSublist()
Draw_filesystem.h33 const std::string& filename, uint64_t block_size, uint64_t block_count);
Dfake_filesystem.h34 FakeFilesystem(uint64_t block_size, uint64_t block_count);
Dextent_utils.h99 uint64_t block_offset, uint64_t block_count);
Ddelta_diff_utils.cc878 uint32_t block_count = in IsExtFilesystem() local
889 block_count = le32toh(block_count); in IsExtFilesystem()
899 TEST_AND_RETURN_FALSE(block_count > 0); in IsExtFilesystem()
Dinplace_generator.cc60 vector<Extent> Allocate(const uint64_t block_count) { in Allocate() argument
63 ret[0].set_num_blocks(block_count); in Allocate()
64 next_block_ += block_count; in Allocate()
/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc230 const int block_count = 4; in TEST_F() local
240 while (bytes_written < (block_count * kBlockSize)) { in TEST_F()
241 size_t bytes_to_write = min(block_count * kBlockSize - bytes_written, in TEST_F()
257 brillo::Blob big(block_count * kBlockSize); in TEST_F()
/system/nfc/src/nfc/tags/
Drw_t1t_ndef.c1939 uint8_t block_count = 0; in rw_t1t_update_lock_attributes() local
1947 block_count = 0; in rw_t1t_update_lock_attributes()
1948 while (block_count < T1T_BLOCKS_PER_SEGMENT) { in rw_t1t_update_lock_attributes()
1949 p_t1t->lock_attr[block_count] = 0x00; in rw_t1t_update_lock_attributes()
1950 block_count++; in rw_t1t_update_lock_attributes()
1957 block_count = 0; in rw_t1t_update_lock_attributes()
1963 p_t1t->lock_attr[block_count] = 0x00; in rw_t1t_update_lock_attributes()
1968 p_t1t->lock_attr[block_count] = 0xFF; in rw_t1t_update_lock_attributes()
1971 block_count++; in rw_t1t_update_lock_attributes()
1988 block_count = 0; in rw_t1t_update_lock_attributes()
[all …]
Drw_t2t_ndef.c2181 uint8_t block_count = 0; in rw_t2t_update_lock_attributes() local
2193 block_count = 0; in rw_t2t_update_lock_attributes()
2198 block_count = 0; in rw_t2t_update_lock_attributes()
2206 p_t2t->lock_attr[block_count] = 0x00; in rw_t2t_update_lock_attributes()
2211 p_t2t->lock_attr[block_count] = 0x0F; in rw_t2t_update_lock_attributes()
2217 p_t2t->lock_attr[block_count] |= 0xF0; in rw_t2t_update_lock_attributes()
2219 block_count++; in rw_t2t_update_lock_attributes()
2239 p_t2t->lock_attr[block_count] = 0; in rw_t2t_update_lock_attributes()
2264 if (block_count < RW_T2T_SEGMENT_SIZE) in rw_t2t_update_lock_attributes()
2265 p_t2t->lock_attr[block_count] |= 0x01 << bits_covered; in rw_t2t_update_lock_attributes()
[all …]
/system/extras/f2fs_utils/
Df2fs_sparseblock.c53 D_DISP_u64(sb, block_count); in dbg_print_raw_sb_info()
211 return (unsigned int)(le64_to_cpu(sb.block_count)*F2FS_BLKSIZE/DEFAULT_SECTOR_SIZE); in get_f2fs_filesystem_size_sec()
414 info->total_blocks = sb->block_count; in generate_f2fs_info()
/system/vold/
DEncryptInplace.cpp208 u32 block_count = std::min(info.blocks_per_group, in encrypt_groups() local
224 for (block = 0; block < block_count; block++) { in encrypt_groups()