/packages/modules/Virtualization/microdroid/initrd/src/ |
D | main.rs | 35 initrd: PathBuf, 49 initrd: PathBuf, 74 fn detach_bootconfig(initrd_bc: PathBuf, initrd: PathBuf, bootconfig: PathBuf) -> Result<()> { in detach_bootconfig() 77 let mut initrd = File::create(initrd)?; in detach_bootconfig() localVariable 94 copyfile2file(&mut initrd_bc, &mut initrd, initrd_size)?; in detach_bootconfig() 101 fn attach_bootconfig(initrd: PathBuf, bootconfigs: Vec<PathBuf>, output: PathBuf) -> Result<()> { in attach_bootconfig() 103 let mut initrd_file = File::open(initrd)?; in attach_bootconfig() 129 Opt::Attach { initrd, bootconfigs, output } => { in try_main() 130 attach_bootconfig(initrd, bootconfigs, output)? in try_main() 132 Opt::Detach { initrd_with_bootconfigs, initrd, bootconfigs } => { in try_main() [all …]
|
/packages/modules/Virtualization/pvmfw/avb/tests/ |
D | utils.rs | 42 initrd: &[u8], in assert_payload_verification_with_initrd_fails() 46 assert_payload_verification_fails(kernel, Some(initrd), trusted_public_key, expected_error) in assert_payload_verification_with_initrd_fails() 51 initrd: Option<&[u8]>, in assert_payload_verification_fails() 55 assert_eq!(expected_error, verify_payload(kernel, initrd, trusted_public_key).unwrap_err()); in assert_payload_verification_fails() 103 initrd: &[u8], in assert_latest_payload_verification_passes() 109 let verified_boot_data = verify_payload(&kernel, Some(initrd), &public_key) in assert_latest_payload_verification_passes() 117 let initrd_digest = Some(hash(&[&hash(&[initrd_salt]), initrd])); in assert_latest_payload_verification_passes()
|
D | api_test.rs | 298 let mut initrd = load_latest_initrd_normal()?; in extended_initrd_fails_verification() localVariable 299 initrd.extend(b"androidboot.vbmeta.digest=1111"); in extended_initrd_fails_verification() 303 &initrd, in extended_initrd_fails_verification()
|
/packages/modules/Virtualization/pvmfw/avb/src/ |
D | verify.rs | 251 initrd: Option<&[u8]>, in verify_payload() 254 let payload = Payload::new(kernel, initrd, trusted_public_key); in verify_payload() 270 if initrd.is_none() { in verify_payload() 282 let initrd = initrd.unwrap(); in verify_payload() localVariable 284 if verify_initrd(&mut ops, PartitionName::InitrdNormal, initrd).is_ok() { in verify_payload() 286 } else if verify_initrd(&mut ops, PartitionName::InitrdDebug, initrd).is_ok() { in verify_payload()
|
D | ops.rs | 26 initrd: Option<&'a [u8]>, field 33 initrd: Option<&'a [u8]>, in new() 36 Self { kernel, initrd, trusted_public_key } in new() 43 self.initrd.ok_or(IoError::NoSuchPartition) in get_partition()
|
/packages/modules/Virtualization/libs/vmconfig/src/ |
D | lib.rs | 44 pub initrd: Option<PathBuf>, field 79 if self.bootloader.is_some() && (self.kernel.is_some() || self.initrd.is_some()) { in validate() 114 initrd: maybe_open_parcel_file(&self.initrd, false)?, in to_parcelable()
|
/packages/modules/Virtualization/apex/ |
D | sign_virt_apex.py | 351 def detach_bootconfigs(initrd_bc, initrd, bc): argument 352 cmd = ['initrd_bootconfig', 'detach', initrd_bc, initrd, bc] 355 def attach_bootconfigs(initrd_bc, initrd, bc): argument 357 initrd, bc, '--output', initrd_bc] 411 for initrd in initrds: 412 detach_bootconfigs(initrd, tmp_initrd, tmp_bc) 423 attach_bootconfigs(initrd, tmp_initrd, tmp_bc)
|
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/ |
D | VirtualMachineRawConfig.aidl | 36 @nullable ParcelFileDescriptor initrd;
|
/packages/modules/Virtualization/pvmfw/testdata/ |
D | test_crosvm_dt_base.dtsi | 14 linux,initrd-end = <0x811d6cb8>; 15 linux,initrd-start = <0x81000000>;
|
/packages/modules/Virtualization/pvmfw/ |
D | README.md | 374 linux,initrd-start = <0x82000000>; 375 linux,initrd-end = <0x82800000>; 430 cp <initrd.bin> /tmp/ 431 avbtool add_hash_footer --image /tmp/<initrd.bin> \ 438 --include_descriptor_from_image /tmp/<initrd.bin> \ 442 Note that the `/tmp/<initrd.bin>` file is only created to temporarily hold the 444 `<initrd.bin>` should be passed to the VMM when booting a pVM.
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | crosvm.rs | 111 pub initrd: Option<File>, field 1016 if let Some(initrd) = &config.initrd { in run_vm() 1017 command.arg("--initrd").arg(add_preserved_fd(&mut preserved_fds, initrd)); in run_vm() 1162 if config.bootloader.is_some() && (config.kernel.is_some() || config.initrd.is_some()) { in validate_config()
|
D | payload.rs | 435 let initrd = format!("/apex/com.android.virt/etc/{os_name}_initrd_{debug_suffix}.img"); in add_microdroid_system_images() localVariable 436 vm_config.initrd = Some(open_parcel_file(Path::new(&initrd), false)?); in add_microdroid_system_images()
|
D | aidl.rs | 466 let initrd = maybe_clone_file(&config.initrd)?; in create_vm_internal() localVariable 470 check_label_for_kernel_files(&kernel, &initrd).or_service_specific_exception(-1)?; in create_vm_internal() 587 initrd, in create_vm_internal() 1021 config.initrd.as_ref().map_or(Ok(()), check_partition_for_file)?; in check_partitions_for_files() 1153 fn check_label_for_kernel_files(kernel: &Option<File>, initrd: &Option<File>) -> Result<()> { in check_label_for_kernel_files() 1157 if let Some(f) = initrd { in check_label_for_kernel_files()
|
/packages/modules/Virtualization/vmbase/example/tests/ |
D | test.rs | 97 initrd: None, in test_run_example_vm()
|
/packages/modules/Virtualization/docs/ |
D | custom_vm.md | 14 "initrd": "/data/local/tmp/ramdisk",
|
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/ |
D | VirtualMachineConfig.java | 677 config.initrd = in toVsRawConfig()
|
/packages/modules/Virtualization/microdroid/kernel/android15-6.1/x86_64/ |
D | System.map | 61967 ffffffff82461080 d initrd
|
/packages/modules/Virtualization/microdroid/kernel/android14-6.1/x86_64/ |
D | System.map | 63523 ffffffff82463e00 d initrd
|
/packages/modules/Virtualization/microdroid/kernel/android15-6.6/x86_64/ |
D | System.map | 91333 ffffffff82484a70 d initrd
|