Searched refs:memslots (Results 1 – 6 of 6) sorted by relevance
444 struct kvm_memory_slot memslots[]; member451 struct kvm_memslots __rcu *memslots[KVM_ADDRESS_SPACE_NUM]; member614 for (memslot = &slots->memslots[0]; \615 memslot < slots->memslots + slots->used_slots; memslot++) \660 return srcu_dereference_check(kvm->memslots[as_id], &kvm->srcu, in __kvm_memslots()686 slot = &slots->memslots[index]; in id_to_memslot()1099 struct kvm_memory_slot *memslots = slots->memslots; in search_memslots() local1104 if (gfn >= memslots[slot].base_gfn && in search_memslots()1105 gfn < memslots[slot].base_gfn + memslots[slot].npages) in search_memslots()1106 return &memslots[slot]; in search_memslots()[all …]
1028 ms = slots->memslots + slotnr; in kvm_s390_vm_start_migration()1943 struct kvm_memory_slot *memslots = slots->memslots; in gfn_to_memslot_approx() local1945 if (gfn >= memslots[slot].base_gfn && in gfn_to_memslot_approx()1946 gfn < memslots[slot].base_gfn + memslots[slot].npages) in gfn_to_memslot_approx()1952 if (gfn >= memslots[slot].base_gfn) in gfn_to_memslot_approx()1961 if (gfn >= memslots[start].base_gfn && in gfn_to_memslot_approx()1962 gfn < memslots[start].base_gfn + memslots[start].npages) { in gfn_to_memslot_approx()1996 struct kvm_memory_slot *ms = slots->memslots + slotidx; in kvm_s390_next_dirty_cmma()2005 ms = slots->memslots + slotidx; in kvm_s390_next_dirty_cmma()2011 ms = slots->memslots + slotidx; in kvm_s390_next_dirty_cmma()[all …]
133 memslot = kvm_memslots(kvm)->memslots; in kvm_s390_pv_alloc_vm()
224 :Protects: - kvm->memslots226 :Comment: The srcu read lock must be held while accessing memslots (e.g.
539 return rcu_dereference_raw_check(kvm->memslots[0]); in kvm_memslots_raw()
796 rcu_assign_pointer(kvm->memslots[i], slots); in kvm_create_vm()983 struct kvm_memory_slot *mslots = slots->memslots; in kvm_memslot_delete()1021 struct kvm_memory_slot *mslots = slots->memslots; in kvm_memslot_move_backward()1057 struct kvm_memory_slot *mslots = slots->memslots; in kvm_memslot_move_forward()1133 slots->memslots[i] = *memslot; in update_memslots()1161 rcu_assign_pointer(kvm->memslots[as_id], slots); in install_new_memslots()