Searched refs:block_count (Results 1 – 15 of 15) 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);
84 uint64_t block_count);
919 uint32_t block_count = in IsExtFilesystem() local930 block_count = le32toh(block_count); in IsExtFilesystem()940 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()305 uint16_t block_count = 0; in rpmb_dev_process_cmd() local342 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 …]
56 struct rpmb_u16 block_count; member
144 const int block_count = 4; in TEST_F() local154 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()
90 auto block_count = image_size / block_size; in GenerateHashTree() local92 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 …]
2227 uint8_t block_count = 0; in rw_t2t_update_lock_attributes() local2239 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 …]
270 uint32_t block_count = uninit ? NumBaseMetaBlocksInGroup(group) : NumBlocksInGroup(group); in EncryptInPlaceExt4() local273 for (uint32_t i = 0; i < block_count; i++) { in EncryptInPlaceExt4()
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()