Lines Matching refs:partition
112 SparsePartitionInfo partition; in SparseContainer() local
113 memcpy(&partition.descriptor, reinterpret_cast<void*>(partition_ptr), in SparseContainer()
115 partitions_.push_back(std::move(partition)); in SparseContainer()
265 fvm::partition_descriptor_t partition = partitions_[i].descriptor; in Commit() local
268 if (write(fd_.get(), &partition, sizeof(fvm::partition_descriptor_t)) in Commit()
274 for (unsigned j = 0; j < partition.extent_count; j++) { in Commit()
297 fvm::partition_descriptor_t partition = partitions_[i].descriptor; in Commit() local
302 for (unsigned j = 0; j < partition.extent_count; j++) { in Commit()
436 SparsePartitionInfo partition; in AllocatePartition() local
437 format->GetPartitionInfo(&partition.descriptor); in AllocatePartition()
438 partition.descriptor.magic = fvm::kPartitionDescriptorMagic; in AllocatePartition()
439 partition.descriptor.extent_count = 0; in AllocatePartition()
448 partitions_.push_back(std::move(partition)); in AllocatePartition()
482 SparsePartitionInfo* partition = &partitions_[part_index]; in AllocateExtent() local
488 partition->extents.push_back(extent); in AllocateExtent()
490 if (partition->extents.size() != ++partition->descriptor.extent_count) { in AllocateExtent()