Home
last modified time | relevance | path

Searched refs:memslots (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.9/kernel/src/virt/kvm/
Dvm.rs26 pub memslots: [KvmMemorySlots; KVM_ADDRESS_SPACE_NUM], field
40 memslots: [KvmMemorySlots::default(); KVM_ADDRESS_SPACE_NUM], in new()
75 let slot = &self.memslots[as_id as usize].memslots[id as usize]; in set_user_memory_region()
132 let memslot = &self.memslots[as_id as usize].memslots[i as usize]; in set_user_memory_region()
157 let mut memslots = self.memslots[as_id as usize].memslots; in set_user_memory_region() localVariable
158 memslots[id as usize] = new_slot; in set_user_memory_region()
159 self.memslots[as_id as usize].memslots = memslots; in set_user_memory_region()
160 self.memslots[as_id as usize].used_slots += 1; in set_user_memory_region()
Dhost_mem.rs71 pub memslots: [KvmMemorySlot; KVM_MEM_SLOTS_NUM as usize], // 虚机内存区间数组 field
86 return kvm.memslots[as_id]; in kvm_vcpu_memslots()
93 let memslot = slots.memslots[i as usize]; in __gfn_to_memslot()