Searched refs:as_id (Results 1 – 2 of 2) sorted by relevance
54 let as_id = mem.slot >> 16; // address space id in set_user_memory_region() localVariable55 debug!("id={}, as_id={}", id, as_id); in set_user_memory_region()70 if as_id >= (KVM_ADDRESS_SPACE_NUM as u32) || id >= KVM_MEM_SLOTS_NUM as u16 { in set_user_memory_region()76 let slot = &self.memslots[as_id as usize].memslots[id as usize]; in set_user_memory_region()133 let memslot = &self.memslots[as_id as usize].memslots[i as usize]; in set_user_memory_region()158 let mut memslots = self.memslots[as_id as usize].memslots; in set_user_memory_region()160 self.memslots[as_id as usize].memslots = memslots; in set_user_memory_region()161 self.memslots[as_id as usize].used_slots += 1; in set_user_memory_region()
83 let as_id = 0; in kvm_vcpu_memslots() localVariable84 return kvm.memslots[as_id]; in kvm_vcpu_memslots()