Searched refs:memslot (Results 1 – 2 of 2) sorted by relevance
133 let memslot = &self.memslots[as_id as usize].memslots[i as usize]; in set_user_memory_region() localVariable134 if memslot.id == id || memslot.id as u32 >= KVM_USER_MEM_SLOTS { in set_user_memory_region()138 if !(base_gfn + npages <= memslot.base_gfn in set_user_memory_region()139 || memslot.base_gfn + memslot.npages <= base_gfn) in set_user_memory_region()
91 let memslot = slots.memslots[i as usize]; in __gfn_to_memslot() localVariable92 if gfn >= memslot.base_gfn && gfn < memslot.base_gfn + memslot.npages { in __gfn_to_memslot()93 return Some(memslot); in __gfn_to_memslot()