Home
last modified time | relevance | path

Searched refs:SystemAllocator (Results 1 – 17 of 17) sorted by relevance

/external/crosvm/devices/src/pci/
Dpci_device.rs9 use resources::{Error as SystemAllocatorFaliure, SystemAllocator};
69 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress>; in allocate_address()
86 fn allocate_io_bars(&mut self, _resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_io_bars()
95 _resources: &mut SystemAllocator, in allocate_device_bars() argument
193 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
208 fn allocate_io_bars(&mut self, resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_io_bars()
211 fn allocate_device_bars(&mut self, resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_device_bars()
268 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
Dac97.rs14 use resources::{Alloc, MmioType, SystemAllocator};
275 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
302 fn allocate_io_bars(&mut self, resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_io_bars()
413 let mut allocator = SystemAllocator::builder() in create()
Dpci_root.rs18 use resources::SystemAllocator;
29 fn allocate_address(&mut self, _resources: &mut SystemAllocator) -> Result<PciAddress, Error> { in allocate_address()
Dvfio_pci.rs14 use resources::{Alloc, MmioType, SystemAllocator};
768 resources: &mut SystemAllocator, in allocate_address() argument
824 resources: &mut SystemAllocator, in allocate_io_bars() argument
913 resources: &mut SystemAllocator, in allocate_device_bars() argument
/external/crosvm/resources/src/
Dsystem_allocator.rs49 pub struct SystemAllocator { struct
60 impl SystemAllocator { argument
82 Ok(SystemAllocator { in new()
224 pub fn create_allocator(&self, first_irq: u32) -> Result<SystemAllocator> { in create_allocator() argument
225 SystemAllocator::new( in create_allocator()
Dlib.rs12 pub use crate::system_allocator::{MmioType, SystemAllocator};
/external/crosvm/arch/src/
Dpstore.rs12 use resources::SystemAllocator;
49 resources: &mut SystemAllocator, in create_memory_region() argument
Dlib.rs28 use resources::{MmioType, SystemAllocator};
100 pub resources: SystemAllocator,
166 &mut SystemAllocator, in build_vm() argument
311 resources: &mut SystemAllocator, in generate_pci_root() argument
441 resources: &mut SystemAllocator, in add_goldfish_battery() argument
/external/crosvm/devices/src/irqchip/
Dmod.rs10 use resources::SystemAllocator;
129 resources: &mut SystemAllocator, in finalize_devices() argument
/external/crosvm/devices/src/usb/xhci/
Dxhci_controller.rs16 use resources::{Alloc, MmioType, SystemAllocator};
172 resources: &mut SystemAllocator, in allocate_address() argument
222 resources: &mut SystemAllocator, in allocate_io_bars() argument
/external/crosvm/devices/src/irqchip/kvm/
Dmod.rs14 use resources::SystemAllocator;
158 _resources: &mut SystemAllocator, in finalize_devices() argument
Dx86_64.rs19 use resources::SystemAllocator;
542 resources: &mut SystemAllocator, in finalize_devices() argument
887 let mut resources = SystemAllocator::builder() in finalize_devices()
1005 let mut resources = SystemAllocator::builder() in broadcast_eoi()
/external/crosvm/aarch64/src/
Dlib.rs20 use resources::SystemAllocator;
240 &mut SystemAllocator, in build_vm() argument
442 fn get_resource_allocator(mem_size: u64) -> SystemAllocator { in get_resource_allocator() argument
444 SystemAllocator::builder() in get_resource_allocator()
/external/crosvm/vm_control/src/
Dlib.rs34 use resources::{Alloc, MmioType, SystemAllocator};
311 sys_allocator: &mut SystemAllocator, in execute() argument
513 pub fn execute<F>(&self, set_up_irq: F, sys_allocator: &mut SystemAllocator) -> VmIrqResponse in execute()
825 pub fn execute(&self, vm: &mut dyn Vm, allocator: &mut SystemAllocator) -> VmResponse { in execute()
924 allocator: &mut SystemAllocator, in register_memory() argument
959 allocator: &mut SystemAllocator, in register_host_pointer() argument
/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs13 use resources::{Alloc, MmioType, SystemAllocator};
398 resources: &mut SystemAllocator, in allocate_address() argument
441 resources: &mut SystemAllocator, in allocate_io_bars() argument
484 resources: &mut SystemAllocator, in allocate_device_bars() argument
/external/crosvm/x86_64/src/
Dlib.rs68 use resources::SystemAllocator;
378 &mut SystemAllocator, in build_vm() argument
955 fn get_resource_allocator(mem: &GuestMemory) -> SystemAllocator { in get_resource_allocator() argument
957 SystemAllocator::builder() in get_resource_allocator()
1048 resources: &mut SystemAllocator, in setup_acpi_devices() argument
/external/crosvm/src/
Dlinux.rs54 use resources::{Alloc, MmioType, SystemAllocator};
1239 resources: &mut SystemAllocator, in create_pmem_device() argument
1372 resources: &mut SystemAllocator, in create_virtio_devices() argument
1626 resources: &mut SystemAllocator, in create_devices() argument