Searched refs:mem_regions (Results 1 – 4 of 4) sorted by relevance
/external/crosvm/hypervisor/src/kvm/ |
D | mod.rs | 159 mem_regions: Arc<Mutex<BTreeMap<MemSlot, Box<dyn MappedRegion>>>>, field 194 mem_regions: Arc::new(Mutex::new(BTreeMap::new())), in new() 429 mem_regions: self.mem_regions.clone(), in try_clone() 468 let mut regions = self.mem_regions.lock(); in add_memory_region() 500 let mut regions = self.mem_regions.lock(); in msync_memory_region() 512 let mut regions = self.mem_regions.lock(); in remove_memory_region() 554 let regions = self.mem_regions.lock(); in get_dirty_log() 616 let mut regions = self.mem_regions.lock(); in add_fd_mapping() 627 let mut regions = self.mem_regions.lock(); in remove_mapping()
|
/external/crosvm/kvm/src/ |
D | lib.rs | 268 mem_regions: Arc<Mutex<BTreeMap<u32, Box<dyn MappedRegion>>>>, field 299 mem_regions: Arc::new(Mutex::new(BTreeMap::new())), in new() 346 let mut regions = self.mem_regions.lock(); in add_memory_region() 381 let mut regions = self.mem_regions.lock(); in remove_memory_region() 401 match self.mem_regions.lock().get(&slot) { in get_dirty_log()
|
/external/crosvm/x86_64/src/ |
D | lib.rs | 987 let mem_regions = arch_memory_regions(mem_size, None); in setup_io_bus() localVariable 989 let mem_below_4g = mem_regions in setup_io_bus() 995 let mem_above_4g = mem_regions in setup_io_bus()
|
/external/crosvm/devices/src/virtio/ |
D | descriptor_utils.rs | 401 let mem_regions = self.regions.get_remaining_regions_with_count(count); in read_to_at_fut() localVariable 403 .write_from_mem(off, Arc::new(self.mem.clone()), &mem_regions) in read_to_at_fut()
|