Searched refs:memslots (Results 1 – 5 of 5) sorted by relevance
436 struct kvm_memory_slot memslots[KVM_MEM_SLOTS_NUM]; member447 struct kvm_memslots __rcu *memslots[KVM_ADDRESS_SPACE_NUM]; member584 for (memslot = &slots->memslots[0]; \585 memslot < slots->memslots + KVM_MEM_SLOTS_NUM && memslot->npages;\629 return srcu_dereference_check(kvm->memslots[as_id], &kvm->srcu, in __kvm_memslots()652 slot = &slots->memslots[index]; in id_to_memslot()1010 struct kvm_memory_slot *memslots = slots->memslots; in search_memslots() local1012 if (gfn >= memslots[slot].base_gfn && in search_memslots()1013 gfn < memslots[slot].base_gfn + memslots[slot].npages) in search_memslots()1014 return &memslots[slot]; in search_memslots()[all …]
1020 ms = slots->memslots + slotnr; in kvm_s390_vm_start_migration()1920 struct kvm_memory_slot *memslots = slots->memslots; in gfn_to_memslot_approx() local1922 if (gfn >= memslots[slot].base_gfn && in gfn_to_memslot_approx()1923 gfn < memslots[slot].base_gfn + memslots[slot].npages) in gfn_to_memslot_approx()1929 if (gfn >= memslots[slot].base_gfn) in gfn_to_memslot_approx()1935 if (gfn >= memslots[start].base_gfn && in gfn_to_memslot_approx()1936 gfn < memslots[start].base_gfn + memslots[start].npages) { in gfn_to_memslot_approx()1970 struct kvm_memory_slot *ms = slots->memslots + slotidx; in kvm_s390_next_dirty_cmma()1979 ms = slots->memslots + slotidx; in kvm_s390_next_dirty_cmma()1985 ms = slots->memslots + slotidx; in kvm_s390_next_dirty_cmma()[all …]
197 Protects: - kvm->memslots199 Comment: The srcu read lock must be held while accessing memslots (e.g.
538 return rcu_dereference_raw_check(kvm->memslots[0]); in kvm_memslots_raw()
572 slots->id_to_index[i] = slots->memslots[i].id = i; in kvm_alloc_memslots()712 rcu_assign_pointer(kvm->memslots[i], slots); in kvm_create_vm()879 struct kvm_memory_slot *mslots = slots->memslots; in update_memslots()950 rcu_assign_pointer(kvm->memslots[as_id], slots); in install_new_memslots()