Home
last modified time | relevance | path

Searched refs:ProtectionType (Results 1 – 16 of 16) sorted by relevance

/external/crosvm/devices/src/
Dserial_device.rs7 use crate::ProtectionType;
14 protected_vm: ProtectionType, in new() argument
Dserial.rs15 use crate::{BusDevice, ProtectionType, SerialDevice};
87 _protected_vm: ProtectionType, in new() argument
422 ProtectionType::Unprotected, in serial_output()
444 ProtectionType::Unprotected, in serial_input()
Dlib.rs62 pub enum ProtectionType { enum
/external/crosvm/devices/src/virtio/
Dmod.rs59 use crate::ProtectionType;
160 pub fn base_features(protected_vm: ProtectionType) -> u64 { in base_features()
163 if protected_vm == ProtectionType::Protected { in base_features()
Dblock.rs876 use crate::ProtectionType;
885 let features = base_features(ProtectionType::Unprotected); in read_size()
902 let features = base_features(ProtectionType::Unprotected); in read_block_size()
915 let features = base_features(ProtectionType::Unprotected); in read_features()
926 let features = base_features(ProtectionType::Unprotected); in read_features()
937 let features = base_features(ProtectionType::Unprotected); in read_features()
Dblock_async.rs985 use crate::ProtectionType;
997 let features = base_features(ProtectionType::Unprotected); in read_size()
1017 let features = base_features(ProtectionType::Unprotected); in read_block_size()
1034 let features = base_features(ProtectionType::Unprotected); in read_features()
1045 let features = base_features(ProtectionType::Unprotected); in read_features()
1056 let features = base_features(ProtectionType::Unprotected); in read_features()
Dconsole.rs17 use crate::{ProtectionType, SerialDevice};
320 protected_vm: ProtectionType, in new() argument
/external/crosvm/fuzz/
Dblock_fuzzer.rs15 use devices::ProtectionType;
81 let features = base_features(ProtectionType::Unprotected);
/external/crosvm/src/
Dcrosvm.rs28 use devices::ProtectionType;
252 pub protected_vm: ProtectionType,
328 protected_vm: ProtectionType::Unprotected, in default()
Dmain.rs33 use devices::ProtectionType;
1636 cfg.protected_vm = ProtectionType::Protected; in set_argument()
/external/crosvm/x86_64/src/
Dtest_integration.rs7 use devices::{IrqChipX86_64, ProtectionType};
151 ProtectionType::Unprotected, in simple_vm_test()
Dlib.rs64 use devices::{IrqChip, IrqChipX86_64, PciConfigIo, PciDevice, ProtectionType};
385 if components.protected_vm != ProtectionType::Unprotected { in build_vm()
1125 protected_vm: ProtectionType, in setup_serial_devices() argument
/external/crosvm/arch/src/
Dserial.rs18 use devices::{Bus, ProtectionType, ProxyDevice, Serial, SerialDevice};
214 protected_vm: ProtectionType, in create_serial_device() argument
412 protected_vm: ProtectionType, in add_serial_devices() argument
Dlib.rs24 PciRoot, ProtectionType, ProxyDevice,
91 pub protected_vm: ProtectionType,
/external/crosvm/devices/src/virtio/vhost/
Dnet.rs356 use crate::ProtectionType;
372 let features = base_features(ProtectionType::Unprotected); in create_net_common()
/external/crosvm/aarch64/src/
Dlib.rs16 use devices::{Bus, BusError, IrqChip, IrqChipAArch64, PciConfigMmio, PciDevice, ProtectionType};
255 if components.protected_vm == ProtectionType::Protected { in build_vm()