Lines Matching defs:num_blocks
59 uint64_t to_write = std::min(extent.num_blocks() * block_size,
63 offset += extent.num_blocks() * block_size;
89 size_t num_blocks = part.size / block_size;
91 for (size_t i = 0; i < num_blocks; ++i) {
221 uint64_t num_blocks = BlocksInExtents(old_extents);
222 EXPECT_EQ(num_blocks, BlocksInExtents(new_extents));
227 for (uint64_t i = 0; i < num_blocks; ++i) {
261 num_blocks = BlocksInExtents(old_extents);
263 EXPECT_EQ(num_blocks * kBlockSize, op.src_length());
264 EXPECT_EQ(num_blocks * kBlockSize, op.dst_length());
270 EXPECT_EQ(old_extents[i].num_blocks(), op.src_extents(i).num_blocks())
278 EXPECT_EQ(new_extents[i].num_blocks(), op.dst_extents(i).num_blocks())