Home
last modified time | relevance | path

Searched refs:part_index (Results 1 – 3 of 3) sorted by relevance

/system/ulib/fvm-host/container/
A Dsparse.cpp441 uint32_t part_index = image_.partition_count; in AllocatePartition() local
444 if ((status = format->MakeFvmReady(SliceSize(), part_index)) != ZX_OK) { in AllocatePartition()
458 if ((status = AllocateExtent(part_index, in AllocatePartition()
471 partitions_[part_index].format = std::move(format); in AllocatePartition()
475 zx_status_t SparseContainer::AllocateExtent(uint32_t part_index, uint64_t slice_start, in AllocateExtent() argument
477 if (part_index >= image_.partition_count) { in AllocateExtent()
482 SparsePartitionInfo* partition = &partitions_[part_index]; in AllocateExtent()
A Dfvm.cpp463 zx_status_t FvmContainer::WritePartition(unsigned part_index) { in WritePartition() argument
465 if (part_index > partitions_.size()) { in WritePartition()
467 part_index, partitions_.size()); in WritePartition()
472 FvmPartitionInfo* partition = &partitions_[part_index]; in WritePartition()
/system/ulib/fvm-host/include/fvm-host/
A Dcontainer.h109 zx_status_t WritePartition(unsigned part_index);
189 zx_status_t AllocateExtent(uint32_t part_index, uint64_t slice_start, uint64_t slice_count,

Completed in 6 milliseconds