Home
last modified time | relevance | path

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

/packages/modules/Virtualization/pvmfw/avb/src/
Dverify.rs18 use crate::partition::PartitionName;
115 Ok(PartitionName::Kernel) => Ok(()), in verify_vbmeta_is_from_kernel_partition()
122 partition_name: PartitionName, in verify_loaded_partition_has_expected_length() argument
130 if !PartitionName::try_from(loaded_partition.partition_name()) in verify_loaded_partition_has_expected_length()
194 PartitionName::Kernel => &mut kernel, in get()
195 PartitionName::InitrdNormal => &mut initrd_normal, in get()
196 PartitionName::InitrdDebug => &mut initrd_debug, in get()
236 partition_name: PartitionName, in verify_initrd() argument
256 let kernel_verify_result = ops.verify_partition(PartitionName::Kernel.as_cstr())?; in verify_payload()
284 if verify_initrd(&mut ops, PartitionName::InitrdNormal, initrd).is_ok() { in verify_payload()
[all …]
Dpartition.rs21 pub(crate) enum PartitionName { enum
29 impl PartitionName { impl
52 impl TryFrom<&CStr> for PartitionName { implementation
65 impl TryFrom<&[u8]> for PartitionName { implementation
Dops.rs17 use crate::partition::PartitionName;
41 PartitionName::Kernel => Ok(self.kernel), in get_partition()
42 PartitionName::InitrdNormal | PartitionName::InitrdDebug => { in get_partition()