Home
last modified time | relevance | path

Searched refs:block_count (Results 1 – 15 of 15) 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.h84 uint64_t block_count);
Ddelta_diff_utils.cc919 uint32_t block_count = in IsExtFilesystem() local
930 block_count = le32toh(block_count); in IsExtFilesystem()
940 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()
305 uint16_t block_count = 0; in rpmb_dev_process_cmd() local
342 block_count = s->cmd_count; in rpmb_dev_process_cmd()
345 block_count = s->res_count; in rpmb_dev_process_cmd()
348 if (cmd->check_addr && (addr + block_count > s->header.max_block + 1)) { in rpmb_dev_process_cmd()
352 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.cc144 const int block_count = 4; in TEST_F() local
154 while (bytes_written < (block_count * kBlockSize)) { in TEST_F()
156 min(block_count * kBlockSize - bytes_written, data.size()); in TEST_F()
170 brillo::Blob big(block_count * kBlockSize); in TEST_F()
/system/apex/apexd/
Dapexd_verity.cpp90 auto block_count = image_size / block_size; in GenerateHashTree() local
92 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.cc2227 uint8_t block_count = 0; in rw_t2t_update_lock_attributes() local
2239 block_count = 0; in rw_t2t_update_lock_attributes()
2244 block_count = 0; in rw_t2t_update_lock_attributes()
2252 p_t2t->lock_attr[block_count] = 0x00; in rw_t2t_update_lock_attributes()
2257 p_t2t->lock_attr[block_count] = 0x0F; in rw_t2t_update_lock_attributes()
2263 p_t2t->lock_attr[block_count] |= 0xF0; in rw_t2t_update_lock_attributes()
2265 block_count++; in rw_t2t_update_lock_attributes()
2285 p_t2t->lock_attr[block_count] = 0; in rw_t2t_update_lock_attributes()
2310 if (block_count < RW_T2T_SEGMENT_SIZE) in rw_t2t_update_lock_attributes()
2311 p_t2t->lock_attr[block_count] |= 0x01 << bits_covered; in rw_t2t_update_lock_attributes()
[all …]
/system/vold/
DEncryptInplace.cpp270 uint32_t block_count = uninit ? NumBaseMetaBlocksInGroup(group) : NumBlocksInGroup(group); in EncryptInPlaceExt4() local
273 for (uint32_t i = 0; i < block_count; i++) { in EncryptInPlaceExt4()
/system/extras/f2fs_utils/
Df2fs_sparseblock.c54 D_DISP_u64(sb, block_count); in dbg_print_raw_sb_info()
203 return (unsigned int)(le64_to_cpu(sb.block_count) * F2FS_BLKSIZE / DEFAULT_SECTOR_SIZE); in get_f2fs_filesystem_size_sec()
395 info->total_blocks = sb->block_count; in generate_f2fs_info()