Home
last modified time | relevance | path

Searched defs:KvmMemorySlot (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/virt/kvm/
H A Dhost_mem.rs56 pub struct KvmMemorySlot { struct
69 pub memslots: [KvmMemorySlot; KVM_MEM_SLOTS_NUM as usize], // 虚机内存区间数组 argument
87 fn __gfn_to_memslot(slots: KvmMemorySlots, gfn: u64) -> Option<KvmMemorySlot> { in __gfn_to_memslot()
99 fn __gfn_to_hva(slot: KvmMemorySlot, gfn: u64) -> u64 { in __gfn_to_hva()
103 slot: Option<KvmMemorySlot>, in __gfn_to_hva_many()
162 slot: Option<KvmMemorySlot>, in __gfn_to_pfn()
176 pub fn kvm_vcpu_gfn_to_memslot(vcpu: &mut dyn Vcpu, gfn: u64) -> Option<KvmMemorySlot> { in kvm_vcpu_gfn_to_memslot()