Home
last modified time | relevance | path

Searched refs:memslots (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dkvm_host.h444 struct kvm_memory_slot memslots[]; member
451 struct kvm_memslots __rcu *memslots[KVM_ADDRESS_SPACE_NUM]; member
614 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() local
1104 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 …]
/kernel/linux/linux-5.10/arch/s390/kvm/
Dkvm-s390.c1028 ms = slots->memslots + slotnr; in kvm_s390_vm_start_migration()
1943 struct kvm_memory_slot *memslots = slots->memslots; in gfn_to_memslot_approx() local
1945 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 …]
Dpv.c133 memslot = kvm_memslots(kvm)->memslots; in kvm_s390_pv_alloc_vm()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dlocking.rst224 :Protects: - kvm->memslots
226 :Comment: The srcu read lock must be held while accessing memslots (e.g.
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s_64.h539 return rcu_dereference_raw_check(kvm->memslots[0]); in kvm_memslots_raw()
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c796 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()