Lines Matching refs:pd
101 : pd(nullptr) {} in PartitionInfo()
103 fvm::partition_descriptor_t* pd; member
107 inline fvm::extent_descriptor_t* GetExtent(fvm::partition_descriptor_t* pd, size_t extent) { in GetExtent() argument
109 reinterpret_cast<uintptr_t>(pd) + sizeof(fvm::partition_descriptor_t) + in GetExtent()
140 for (size_t e = 0; e < part->pd->extent_count; e++) { in StreamFvmPartition()
142 fvm::extent_descriptor_t* ext = GetExtent(part->pd, e); in StreamFvmPartition()
489 fvm::extent_descriptor_t* ext = GetExtent(part->pd, 0); in ZxcryptCreate()
597 parts[p].pd = part; in PreProcessPartitions()
598 if (parts[p].pd->magic != fvm::kPartitionDescriptorMagic) { in PreProcessPartitions()
603 zx_status_t status = WipeAllFvmPartitionsWithGUID(fvm_fd, parts[p].pd->type); in PreProcessPartitions()
609 fvm::extent_descriptor_t* ext = GetExtent(parts[p].pd, 0); in PreProcessPartitions()
628 if ((parts[p].pd->flags & fvm::kSparseFlagZxcrypt) != 0) { in PreProcessPartitions()
632 for (size_t e = 1; e < parts[p].pd->extent_count; e++) { in PreProcessPartitions()
633 ext = GetExtent(parts[p].pd, e); in PreProcessPartitions()
662 fvm::extent_descriptor_t* ext = GetExtent(parts[p].pd, 0); in AllocatePartitions()
668 memcpy(&alloc.type, parts[p].pd->type, sizeof(alloc.type)); in AllocatePartitions()
670 memcpy(&alloc.name, parts[p].pd->name, sizeof(alloc.name)); in AllocatePartitions()
679 if ((parts[p].pd->flags & fvm::kSparseFlagZxcrypt) != 0) { in AllocatePartitions()
689 for (size_t e = 1; e < parts[p].pd->extent_count; e++) { in AllocatePartitions()
690 ext = GetExtent(parts[p].pd, e); in AllocatePartitions()