Home
last modified time | relevance | path

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

/external/crosvm/resources/src/
Dsystem_allocator.rs40 pub struct SystemAllocator { struct
49 impl SystemAllocator { implementation
73 Ok(SystemAllocator { in new()
177 ) -> Result<SystemAllocator> { in create_allocator() argument
178 SystemAllocator::new( in create_allocator()
Dlib.rs19 pub use crate::system_allocator::SystemAllocator;
/external/crosvm/devices/src/pci/
Dpci_device.rs12 use resources::{Error as SystemAllocatorFaliure, SystemAllocator};
69 fn allocate_io_bars(&mut self, _resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_io_bars()
78 _resources: &mut SystemAllocator, in allocate_device_bars() argument
169 fn allocate_io_bars(&mut self, resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_io_bars()
172 fn allocate_device_bars(&mut self, resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_device_bars()
Dac97.rs8 use resources::{Alloc, SystemAllocator};
146 fn allocate_io_bars(&mut self, resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_io_bars()
244 let mut allocator = SystemAllocator::builder() in create()
/external/crosvm/arch/src/
Dlib.rs23 use resources::SystemAllocator;
49 pub resources: SystemAllocator,
89 &mut SystemAllocator, in build_vm() argument
157 resources: &mut SystemAllocator, in generate_pci_root() argument
/external/crosvm/vm_control/src/
Dlib.rs22 use resources::{GpuMemoryDesc, SystemAllocator};
213 pub fn execute(&self, vm: &mut Vm, sys_allocator: &mut SystemAllocator) -> VmMemoryResponse { in execute()
315 allocator: &mut SystemAllocator, in register_memory() argument
/external/crosvm/devices/src/usb/xhci/
Dxhci_controller.rs15 use resources::{Alloc, SystemAllocator};
211 resources: &mut SystemAllocator, in allocate_io_bars() argument
/external/crosvm/aarch64/src/
Dlib.rs21 use resources::SystemAllocator;
204 &mut SystemAllocator, in build_vm() argument
383 fn get_resource_allocator(mem_size: u64, gpu_allocation: bool) -> SystemAllocator { in get_resource_allocator() argument
385 SystemAllocator::builder() in get_resource_allocator()
/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs12 use resources::{Alloc, SystemAllocator};
334 resources: &mut SystemAllocator, in allocate_io_bars() argument
371 resources: &mut SystemAllocator, in allocate_device_bars() argument
/external/crosvm/x86_64/src/
Dlib.rs61 use resources::SystemAllocator;
313 &mut SystemAllocator, in build_vm() argument
609 fn get_resource_allocator(mem_size: u64, gpu_allocation: bool) -> SystemAllocator { in get_resource_allocator() argument
612 SystemAllocator::builder() in get_resource_allocator()
/external/crosvm/src/
Dlinux.rs36 use resources::{Alloc, SystemAllocator};
712 resources: &mut SystemAllocator, in create_pmem_device() argument
778 resources: &mut SystemAllocator, in create_virtio_devices() argument
886 resources: &mut SystemAllocator, in create_devices() argument