/aosp12/system/core/trusty/utils/rpmb_dev/ |
H A D | rpmb_dev.c | 169 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 …]
|
H A D | rpmb_protocol.h | 56 struct rpmb_u16 block_count; member
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | extent_writer_unittest.cc | 144 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()
|
/aosp12/system/update_engine/payload_generator/ |
H A D | raw_filesystem.cc | 31 uint64_t block_count) { in Create() argument 35 result->block_count_ = block_count; in Create()
|
H A D | fake_filesystem.cc | 23 FakeFilesystem::FakeFilesystem(uint64_t block_size, uint64_t block_count) in FakeFilesystem() argument 24 : block_size_(block_size), block_count_(block_count) {} in FakeFilesystem()
|
H A D | extent_utils.cc | 121 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()
|
H A D | raw_filesystem.h | 35 uint64_t block_count);
|
H A D | fake_filesystem.h | 34 FakeFilesystem(uint64_t block_size, uint64_t block_count);
|
H A D | extent_utils.h | 84 uint64_t block_count);
|
H A D | delta_diff_utils.cc | 919 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()
|
/aosp12/system/nfc/src/nfc/tags/ |
H A D | rw_t1t_ndef.cc | 1961 uint8_t block_count = 0; in rw_t1t_update_lock_attributes() local 1969 block_count = 0; 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() 2013 p_t1t->lock_attr[block_count] = 0; in rw_t1t_update_lock_attributes() [all …]
|
H A D | rw_t2t_ndef.cc | 2227 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() 2318 block_count++; in rw_t2t_update_lock_attributes() [all …]
|
/aosp12/frameworks/base/tools/obbtool/ |
H A D | mkobb.sh | 214 block_count=`du -s --apparent-size --block-size=512 ${directory} | awk '{ print $1; }'` 221 ${DDBIN} if=/dev/zero of=${tempfile} bs=${BLOCK_SIZE} count=$((${block_count} + ${SLOP})) > /dev/nu…
|
/aosp12/bootable/recovery/update_verifier/ |
H A D | update_verifier.cpp | 157 size_t block_count = 0; in ReadBlocks() local 173 block_count += (range_end - range_start); in ReadBlocks() 175 LOG(INFO) << "Finished reading " << block_count << " blocks on " << dm_block_device; in ReadBlocks()
|
/aosp12/system/apex/apexd/ |
H A D | apexd_verity.cpp | 90 auto block_count = image_size / block_size; in GenerateHashTree() local 92 while (block_count-- > 0) { in GenerateHashTree()
|
/aosp12/system/vold/ |
H A D | EncryptInplace.cpp | 270 uint32_t block_count = uninit ? NumBaseMetaBlocksInGroup(group) : NumBlocksInGroup(group); in EncryptInPlaceExt4() local 273 for (uint32_t i = 0; i < block_count; i++) { in EncryptInPlaceExt4()
|
/aosp12/system/extras/f2fs_utils/ |
H A D | f2fs_sparseblock.c | 54 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()
|
/aosp12/packages/modules/adb/client/ |
H A D | incremental_utils.cpp | 53 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()
|
/aosp12/build/make/tools/releasetools/ |
H A D | build_image.py | 529 block_count = int(fs_dict.get("block_count", "0")) 531 size = block_count << log_blocksize
|
/aosp12/frameworks/base/services/core/jni/ |
H A D | com_android_server_pm_PackageManagerShellCommandDataLoader.cpp | 183 auto block_count = 1 + (fileSize - 1) / INCFS_DATA_FILE_BLOCK_SIZE; in verityTreeSizeForFile() local 184 auto hash_block_count = block_count; in verityTreeSizeForFile()
|
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_v4l2.cpp | 6996 unsigned int last_block_buf_count = 0, block_count = 1; in allocate_output_buffer() local 7001 block_count = (drv_ctx.op_buf.actualcount + block_buf_count - 1) / block_buf_count; in allocate_output_buffer() 7005 block_count, block_buf_count, last_block_buf_count); in allocate_output_buffer() 7009 for (; idx < block_count; idx++) { in allocate_output_buffer() 7010 int cnt = ((idx == block_count - 1) && last_block_buf_count) ? in allocate_output_buffer() 7030 if (idx != block_count) { in allocate_output_buffer() 7039 for (idx = 0; idx < block_count; idx++) { in allocate_output_buffer() 7047 int cnt = ((idx == block_count - 1) && last_block_buf_count) ? in allocate_output_buffer() 7056 if (idx != block_count) { in allocate_output_buffer() 7065 for (; idx < block_count; idx++) { in allocate_output_buffer() [all …]
|