Searched refs:block_count (Results 1 – 16 of 16) sorted by relevance
31 uint64_t block_count) { in Create() argument35 result->block_count_ = block_count; in Create()
23 FakeFilesystem::FakeFilesystem(uint64_t block_size, uint64_t block_count) in FakeFilesystem() argument24 : block_size_(block_size), block_count_(block_count) {} in FakeFilesystem()
121 uint64_t block_count) { in ExtentsSublist() argument124 if (block_count == 0) in ExtentsSublist()126 uint64_t end_block_offset = block_offset + block_count; in ExtentsSublist()
35 uint64_t block_count);
34 FakeFilesystem(uint64_t block_size, uint64_t block_count);
82 uint64_t block_count);
923 uint32_t block_count = in IsExtFilesystem() local934 block_count = le32toh(block_count); in IsExtFilesystem()944 TEST_AND_RETURN_FALSE(block_count > 0); in IsExtFilesystem()
169 uint16_t block_count = s->cmd_count; in rpmb_dev_data_write() local195 for (int i = 0; i < block_count; i++) { in rpmb_dev_data_write()224 uint16_t block_count; in rpmb_dev_data_read() local228 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() local341 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 …]
56 struct rpmb_u16 block_count; member
147 const int block_count = 4; in TEST_F() local158 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()
86 auto block_count = image_size / block_size; in GenerateHashTree() local88 while (block_count-- > 0) { in GenerateHashTree()
1961 uint8_t block_count = 0; in rw_t1t_update_lock_attributes() local1969 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 …]
2193 uint8_t block_count = 0; in rw_t2t_update_lock_attributes() local2205 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 …]
53 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()
53 auto block_count = 1 + (fileSize - 1) / kBlockSize; in verity_tree_blocks_for_file() local54 auto hash_block_count = block_count; in verity_tree_blocks_for_file()
193 u32 block_count = std::min(info.blocks_per_group, (u32)(aux_info.len_blocks - first_block)); in encrypt_groups() local207 for (block = 0; block < block_count; block++) { in encrypt_groups()