Searched refs:memslots (Results 1 – 2 of 2) sorted by relevance
26 pub memslots: [KvmMemorySlots; KVM_ADDRESS_SPACE_NUM], field40 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() localVariable158 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()
71 pub memslots: [KvmMemorySlot; KVM_MEM_SLOTS_NUM as usize], // 虚机内存区间数组 field86 return kvm.memslots[as_id]; in kvm_vcpu_memslots()93 let memslot = slots.memslots[i as usize]; in __gfn_to_memslot()