Home
last modified time | relevance | path

Searched refs:partition_type (Results 1 – 5 of 5) sorted by relevance

/system/uapp/disk-pave/
A Ddevice-partitioner.h61 virtual zx_status_t AddPartition(Partition partition_type, fbl::unique_fd* out_fd) = 0;
64 virtual zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const = 0;
68 virtual zx_status_t FinalizePartition(Partition partition_type) = 0;
153 zx_status_t AddPartition(Partition partition_type, fbl::unique_fd* out_fd) override;
155 zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const override;
180 zx_status_t AddPartition(Partition partition_type, fbl::unique_fd* out_fd) override;
182 zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const override;
210 zx_status_t AddPartition(Partition partition_type, fbl::unique_fd* out_fd) override { in AddPartition() argument
214 zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const override;
243 zx_status_t AddPartition(Partition partition_type, fbl::unique_fd* out_fd) override { in AddPartition() argument
[all …]
A Ddevice-partitioner.cpp51 const uint8_t partition_type[GPT_GUID_LEN] = GUID_FVM_VALUE; in FvmFilterCallback() local
52 return memcmp(part.type, partition_type, GPT_GUID_LEN) == 0; in FvmFilterCallback()
627 switch (partition_type) { in AddPartition()
672 zx_status_t EfiDevicePartitioner::FindPartition(Partition partition_type, in FindPartition() argument
674 switch (partition_type) { in FindPartition()
757 zx_status_t CrosDevicePartitioner::AddPartition(Partition partition_type, in AddPartition() argument
764 switch (partition_type) { in AddPartition()
789 switch (partition_type) { in FindPartition()
808 if (partition_type != Partition::kKernelC) { in FinalizePartition()
904 switch (partition_type) { in FindPartition()
[all …]
A Dpave-lib.h47 fbl::unique_fd payload_fd, Partition partition_type, Arch arch);
A Dpave-lib.cpp346 Partition partition_type, Arch arch) { in ValidateKernelPayload() argument
352 switch (partition_type) { in ValidateKernelPayload()
857 fbl::unique_fd payload_fd, Partition partition_type, Arch arch) { in PartitionPave() argument
862 if ((status = partitioner->FindPartition(partition_type, &partition_fd)) != ZX_OK) { in PartitionPave()
867 if ((status = partitioner->AddPartition(partition_type, &partition_fd)) != ZX_OK) { in PartitionPave()
875 if (partition_type == Partition::kFuchsiaVolumeManager) { in PartitionPave()
913 if ((status = ValidateKernelPayload(mapper, payload_size, partition_type, arch)) != ZX_OK) { in PartitionPave()
929 if ((status = partitioner->FinalizePartition(partition_type)) != ZX_OK) { in PartitionPave()
/system/host/fvm/
A Dmain.cpp55 char* partition_type = argv[i] + 2; in add_partitions() local
57 if ((container->AddPartition(partition_path, partition_type)) != ZX_OK) { in add_partitions()

Completed in 11 milliseconds