Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 15 of 15) sorted by relevance

/system/fidl/fuchsia-hardware-nand/
A Dram-nand.fidl13 // GUID specifying the format and use of data stored in the partition.
16 // GUID unique to this partition.
19 // First and last block occupied by this partition.
30 bool hidden; // Not a user-visible partition.
57 bool export_nand_config; // If true, export "extra" partition configuration as metadata.
58 bool export_partition_map; // if true, export a boot partition map as metadata.
A Dnand.fidl13 FTL = 2; // NAND device is a FTL partition.
14 BBS = 3; // NAND device is a bad block skip partition.
26 array<uint8>:GUID_LEN partition_guid; // Partition type GUID from partition map.
/system/ulib/fvm-host/container/
A Dsparse.cpp112 SparsePartitionInfo partition; in SparseContainer() local
115 partitions_.push_back(std::move(partition)); in SparseContainer()
274 for (unsigned j = 0; j < partition.extent_count; j++) { in Commit()
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()
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()
[all …]
A Dfvm.cpp431 FvmPartitionInfo partition; in AddPartition() local
432 partition.format = std::move(format); in AddPartition()
433 partition.vpart_index = vpart_index; in AddPartition()
434 partition.pslice_start = pslice_start; in AddPartition()
435 partition.slice_count = slice_count; in AddPartition()
436 partitions_.push_back(std::move(partition)); in AddPartition()
472 FvmPartitionInfo* partition = &partitions_[part_index]; in WritePartition() local
473 Format* format = partition->format.get(); in WritePartition()
474 uint32_t pslice_start = partition->pslice_start; in WritePartition()
/system/dev/block/mbr/
A Dmbr.c53 mbr_partition_entry_t partition[MBR_NUM_PARTITIONS]; member
63 mbr_partition_entry_t partition; member
88 if (device->partition.type == PARTITION_TYPE_DATA) { in mbr_ioctl()
92 } else if (device->partition.type == PARTITION_TYPE_SYS) { in mbr_ioctl()
116 return offset + (uint64_t)(dev->partition.start_sector_lba) * in to_parent_offset()
135 size_t max = mbr->partition.sector_partition_length; in mbr_queue()
145 bop->rw.offset_dev += mbr->partition.start_sector_lba; in mbr_queue()
264 mbr_partition_entry_t* entry = &mbr->partition[partition_count]; in mbr_bind_thread()
290 memcpy(&pdev->partition, entry, sizeof(*entry)); in mbr_bind_thread()
291 block_info.block_count = pdev->partition.sector_partition_length; in mbr_bind_thread()
/system/ulib/ftl/ftln/
A Dndm-driver.cpp133 NDMPartition partition = {}; in CreateNdmVolume() local
134 partition.num_blocks = ndmGetNumVBlocks(ndm_) - partition.first_block; in CreateNdmVolume()
135 partition.type = XFS_VOL; in CreateNdmVolume()
137 if (ndmWritePartition(ndm_, &partition, 0, "ftl")) { in CreateNdmVolume()
/system/dev/nand/ram-nand/
A Dram-nand.cpp54 const auto& partition = info.partition_map.partitions[i]; in ExtractNandConfig() local
55 if (partition.hidden && partition.bbt) { in ExtractNandConfig()
56 config->bad_block_config.aml.table_start_block = partition.first_block; in ExtractNandConfig()
57 config->bad_block_config.aml.table_end_block = partition.last_block; in ExtractNandConfig()
58 } else if (!partition.hidden) { in ExtractNandConfig()
59 if (partition.copy_count > 1) { in ExtractNandConfig()
62 memcpy(extra->type_guid, partition.unique_guid, ZBI_PARTITION_GUID_LEN); in ExtractNandConfig()
63 extra->copy_count = partition.copy_count; in ExtractNandConfig()
64 extra->copy_byte_offset = partition.copy_byte_offset; in ExtractNandConfig()
/system/ulib/fvm-host/
A Dfvm-info.cpp202 zx_status_t FvmInfo::AllocatePartition(const fvm::partition_descriptor_t* partition, uint8_t* guid, in AllocatePartition() argument
215 vpart->init(partition->type, guid, 0, reinterpret_cast<const char*>(partition->name), in AllocatePartition()
216 partition->flags); in AllocatePartition()
246 fvm::vpart_entry_t* partition; in AllocateSlice() local
247 if ((status = GetPartition(vpart, &partition)) != ZX_OK) { in AllocateSlice()
253 partition->slices++; in AllocateSlice()
A Dsparse-paver.cpp22 zx_status_t SparsePaver::AddPartition(const SparsePartitionInfo* partition, in AddPartition() argument
34 const fvm::partition_descriptor_t* descriptor = &partition->descriptor; in AddPartition()
42 status = AddExtent(vpart_index, &partition->extents[i], reader); in AddPartition()
/system/ulib/fvm-host/include/fvm-host/
A Dformat.h83 void GetPartitionInfo(fvm::partition_descriptor_t* partition) const { in GetPartitionInfo() argument
84 memcpy(partition->type, type_, sizeof(type_)); in GetPartitionInfo()
85 strncpy(reinterpret_cast<char*>(partition->name), Name(), FVM_NAME_LEN); in GetPartitionInfo()
86 partition->flags = flags_; in GetPartitionInfo()
A Dsparse-paver.h26 zx_status_t AddPartition(const SparsePartitionInfo* partition, fvm::SparseReader* reader);
A Dfvm-info.h37 zx_status_t AllocatePartition(const fvm::partition_descriptor_t* partition, uint8_t* guid,
/system/fidl/fuchsia-hardware-skipblock/
A Dskip-block.fidl17 /// Describes size of partition in terms of blocks.
34 /// Returns information about the skip-block partition.
45 /// In the event that bad block is grown, the partition will shrink and
/system/banjo/zircon-device-nand/
A Dnand.banjo21 /// Partition type GUID from partition map.
/system/uapp/disk-pave/
A Ddevice-partitioner.cpp840 gpt_partition_t* partition; in FinalizePartition() local
841 if ((status = gpt_->FindPartition(filter_zircona, &partition, nullptr)) != ZX_OK) { in FinalizePartition()
855 if (gpt_cros_attr_set_priority(&partition->flags, ++top_priority) != 0) { in FinalizePartition()
861 gpt_cros_attr_set_successful(&partition->flags, true); in FinalizePartition()
864 if (gpt_cros_attr_set_tries(&partition->flags, 15) != 0) { in FinalizePartition()

Completed in 20 milliseconds