Home
last modified time | relevance | path

Searched refs:MemSlot (Results 1 – 7 of 7) sorted by relevance

/external/crosvm/hypervisor/src/
Dlib.rs28 pub type MemSlot = u32; typedef
78 ) -> Result<MemSlot>; in add_memory_region() argument
82 fn msync_memory_region(&mut self, slot: MemSlot, offset: usize, size: usize) -> Result<()>; in msync_memory_region() argument
85 fn remove_memory_region(&mut self, slot: MemSlot) -> Result<Box<dyn MappedRegion>>; in remove_memory_region()
96 fn get_dirty_log(&self, slot: MemSlot, dirty_log: &mut [u8]) -> Result<()>; in get_dirty_log() argument
/external/crosvm/devices/src/virtio/
Dpmem.rs13 use vm_control::{MemSlot, VmMsyncRequest, VmMsyncResponse};
87 mapping_arena_slot: MemSlot,
232 mapping_arena_slot: MemSlot,
242 mapping_arena_slot: MemSlot, in new() argument
Dwl.rs73 use vm_control::{MemSlot, VmMemoryRequest, VmMemoryResponse};
566 slot: Option<(MemSlot, u64 /* pfn */, VmRequester)>,
/external/crosvm/hypervisor/src/kvm/
Dmod.rs45 IrqSource, MPState, MemSlot, Vcpu, VcpuExit, VcpuRunHandle, Vm, VmCap,
54 slot: MemSlot, in set_user_memory_region() argument
159 mem_regions: Arc<Mutex<BTreeMap<MemSlot, Box<dyn MappedRegion>>>>,
161 mem_slot_gaps: Arc<Mutex<BinaryHeap<Reverse<MemSlot>>>>,
180 index as MemSlot, in new()
456 ) -> Result<MemSlot> { in add_memory_region() argument
472 None => (regions.len() + self.guest_mem.num_regions() as usize) as MemSlot, in add_memory_region()
499 fn msync_memory_region(&mut self, slot: MemSlot, offset: usize, size: usize) -> Result<()> { in msync_memory_region() argument
511 fn remove_memory_region(&mut self, slot: MemSlot) -> Result<Box<dyn MappedRegion>> { in remove_memory_region()
553 fn get_dirty_log(&self, slot: MemSlot, dirty_log: &mut [u8]) -> Result<()> { in get_dirty_log() argument
/external/crosvm/vm_control/src/
Dlib.rs57 pub use hypervisor::MemSlot;
281 UnregisterMemory(MemSlot),
470 slot: MemSlot,
477 slot: MemSlot,
564 slot: MemSlot,
928 ) -> Result<(u64, MemSlot)> { in register_memory() argument
962 ) -> Result<(u64, MemSlot)> { in register_host_pointer() argument
/external/crosvm/kvm/src/
Dlib.rs248 struct MemSlot(u32); struct
250 impl Ord for MemSlot { implementation
251 fn cmp(&self, other: &MemSlot) -> Ordering { in cmp()
258 impl PartialOrd for MemSlot { implementation
259 fn partial_cmp(&self, other: &MemSlot) -> Option<Ordering> { in partial_cmp()
269 mem_slot_gaps: Arc<Mutex<BinaryHeap<MemSlot>>>,
370 gaps.push(MemSlot(slot)); in add_memory_region()
389 self.mem_slot_gaps.lock().push(MemSlot(slot)); in remove_memory_region()
/external/crosvm/devices/src/virtio/gpu/
Dvirtio_gpu.rs38 use vm_control::{MemSlot, VmMemoryRequest, VmMemoryResponse};
45 slot: Option<MemSlot>,