Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Draw_filesystem.cc31 uint64_t block_count) { in Create() argument
35 result->block_count_ = block_count; in Create()
Dfake_filesystem.cc23 FakeFilesystem::FakeFilesystem(uint64_t block_size, uint64_t block_count) in FakeFilesystem() argument
24 : block_size_(block_size), block_count_(block_count) {} in FakeFilesystem()
Dextent_utils.cc121 uint64_t block_count) { in ExtentsSublist() argument
124 if (block_count == 0) in ExtentsSublist()
126 uint64_t end_block_offset = block_offset + block_count; in ExtentsSublist()
Draw_filesystem.h35 uint64_t block_count);
Dfake_filesystem.h34 FakeFilesystem(uint64_t block_size, uint64_t block_count);
Dextent_utils.h82 uint64_t block_count);
Ddelta_diff_utils.cc923 uint32_t block_count = in IsExtFilesystem() local
934 block_count = le32toh(block_count); in IsExtFilesystem()
944 TEST_AND_RETURN_FALSE(block_count > 0); in IsExtFilesystem()
/system/core/trusty/utils/rpmb_dev/
Drpmb_dev.c169 uint16_t block_count = s->cmd_count; in rpmb_dev_data_write() local
195 for (int i = 0; i < block_count; i++) { in rpmb_dev_data_write()
224 uint16_t block_count; in rpmb_dev_data_read() local
228 block_count = s->res_count; in rpmb_dev_data_read()
232 for (int i = 0; i < block_count; i++) { in rpmb_dev_data_read()
304 uint16_t block_count = 0; in rpmb_dev_process_cmd() local
341 block_count = s->cmd_count; in rpmb_dev_process_cmd()
344 block_count = s->res_count; in rpmb_dev_process_cmd()
347 if (cmd->check_addr && (addr + block_count > s->header.max_block + 1)) { in rpmb_dev_process_cmd()
351 req_resp, addr, block_count, s->header.max_block + 1); in rpmb_dev_process_cmd()
[all …]
Drpmb_protocol.h56 struct rpmb_u16 block_count; member
/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc147 const int block_count = 4; in TEST_F() local
158 while (bytes_written < (block_count * kBlockSize)) { in TEST_F()
160 min(block_count * kBlockSize - bytes_written, data.size()); in TEST_F()
174 brillo::Blob big(block_count * kBlockSize); in TEST_F()
/system/apex/apexd/
Dapexd_verity.cpp86 auto block_count = image_size / block_size; in GenerateHashTree() local
88 while (block_count-- > 0) { in GenerateHashTree()
/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc1961 uint8_t block_count = 0; in rw_t1t_update_lock_attributes() local
1969 block_count = 0; in rw_t1t_update_lock_attributes()
1970 while (block_count < T1T_BLOCKS_PER_SEGMENT) { in rw_t1t_update_lock_attributes()
1971 p_t1t->lock_attr[block_count] = 0x00; in rw_t1t_update_lock_attributes()
1972 block_count++; in rw_t1t_update_lock_attributes()
1979 block_count = 0; in rw_t1t_update_lock_attributes()
1985 p_t1t->lock_attr[block_count] = 0x00; in rw_t1t_update_lock_attributes()
1990 p_t1t->lock_attr[block_count] = 0xFF; in rw_t1t_update_lock_attributes()
1993 block_count++; in rw_t1t_update_lock_attributes()
2010 block_count = 0; in rw_t1t_update_lock_attributes()
[all …]
Drw_t2t_ndef.cc2193 uint8_t block_count = 0; in rw_t2t_update_lock_attributes() local
2205 block_count = 0; in rw_t2t_update_lock_attributes()
2210 block_count = 0; in rw_t2t_update_lock_attributes()
2218 p_t2t->lock_attr[block_count] = 0x00; in rw_t2t_update_lock_attributes()
2223 p_t2t->lock_attr[block_count] = 0x0F; in rw_t2t_update_lock_attributes()
2229 p_t2t->lock_attr[block_count] |= 0xF0; in rw_t2t_update_lock_attributes()
2231 block_count++; in rw_t2t_update_lock_attributes()
2251 p_t2t->lock_attr[block_count] = 0; in rw_t2t_update_lock_attributes()
2276 if (block_count < RW_T2T_SEGMENT_SIZE) in rw_t2t_update_lock_attributes()
2277 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()
411 info->total_blocks = sb->block_count; in generate_f2fs_info()
/system/core/adb/client/
Dincremental_utils.cpp53 auto block_count = 1 + (fileSize - 1) / kBlockSize; in verity_tree_blocks_for_file() local
54 auto hash_block_count = block_count; in verity_tree_blocks_for_file()
/system/vold/
DEncryptInplace.cpp193 u32 block_count = std::min(info.blocks_per_group, (u32)(aux_info.len_blocks - first_block)); in encrypt_groups() local
207 for (block = 0; block < block_count; block++) { in encrypt_groups()