Home
last modified time | relevance | path

Searched refs:kvm_memslots (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/virt/kvm/
Dpfncache.c82 struct kvm_memslots *slots = kvm_memslots(kvm); in kvm_gfn_to_pfn_cache_check()
244 struct kvm_memslots *slots = kvm_memslots(kvm); in kvm_gfn_to_pfn_cache_refresh()
Dkvm_main.c584 struct kvm_memslots *slots; in __kvm_handle_hva_range()
976 static void kvm_free_memslots(struct kvm *kvm, struct kvm_memslots *slots) in kvm_free_memslots()
1132 struct kvm_memslots *slots; in kvm_create_vm()
1394 static struct kvm_memslots *kvm_get_inactive_memslots(struct kvm *kvm, int as_id) in kvm_get_inactive_memslots()
1396 struct kvm_memslots *active = __kvm_memslots(kvm, as_id); in kvm_get_inactive_memslots()
1422 static void kvm_insert_gfn_node(struct kvm_memslots *slots, in kvm_insert_gfn_node()
1447 static void kvm_erase_gfn_node(struct kvm_memslots *slots, in kvm_erase_gfn_node()
1453 static void kvm_replace_gfn_node(struct kvm_memslots *slots, in kvm_replace_gfn_node()
1479 struct kvm_memslots *slots = kvm_get_inactive_memslots(kvm, as_id); in kvm_replace_memslot()
1543 struct kvm_memslots *slots = kvm_get_inactive_memslots(kvm, as_id); in kvm_swap_active_memslots()
[all …]
/linux-6.1.9/include/linux/
Dkvm_host.h672 struct kvm_memslots { struct
709 struct kvm_memslots __memslots[KVM_ADDRESS_SPACE_NUM][2]; argument
711 struct kvm_memslots __rcu *memslots[KVM_ADDRESS_SPACE_NUM];
950 static inline struct kvm_memslots *__kvm_memslots(struct kvm *kvm, int as_id) in __kvm_memslots()
958 static inline struct kvm_memslots *kvm_memslots(struct kvm *kvm) in kvm_memslots() function
963 static inline struct kvm_memslots *kvm_vcpu_memslots(struct kvm_vcpu *vcpu) in kvm_vcpu_memslots()
970 static inline bool kvm_memslots_empty(struct kvm_memslots *slots) in kvm_memslots_empty()
981 struct kvm_memory_slot *id_to_memslot(struct kvm_memslots *slots, int id) in id_to_memslot()
996 struct kvm_memslots *slots;
1011 struct kvm_memslots *slots, in kvm_memslot_iter_start()
[all …]
Dkvm_types.h17 struct kvm_memslots;
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_uvmem.c462 struct kvm_memslots *slots; in kvmppc_h_svm_init_start()
483 slots = kvm_memslots(kvm); in kvmppc_h_svm_init_start()
491 slots = kvm_memslots(kvm); in kvmppc_h_svm_init_start()
671 kvm_for_each_memslot(memslot, bkt, kvm_memslots(kvm)) in kvmppc_h_svm_init_abort()
827 struct kvm_memslots *slots; in kvmppc_h_svm_init_done()
837 slots = kvm_memslots(kvm); in kvmppc_h_svm_init_done()
Dbook3s_64_mmu_hv.c743 struct kvm_memslots *slots; in kvmppc_rmap_reset()
748 slots = kvm_memslots(kvm); in kvmppc_rmap_reset()
1264 __gfn_to_memslot(kvm_memslots(kvm), gfn); in resize_hpt_rehash_hpte()
Dbook3s_64_vio.c360 memslot = __gfn_to_memslot(kvm_memslots(kvm), gfn); in kvmppc_tce_to_ua()
Dbook3s_hv_nested.c787 kvm_for_each_memslot(memslot, bkt, kvm_memslots(kvm)) in kvmhv_release_all_nested()
Dbook3s_hv.c4946 struct kvm_memslots *slots; in kvm_vm_ioctl_get_dirty_log_hv()
4959 slots = kvm_memslots(kvm); in kvm_vm_ioctl_get_dirty_log_hv()
6069 struct kvm_memslots *slots = __kvm_memslots(kvm, i); in kvmhv_svm_off()
/linux-6.1.9/arch/arm64/kvm/
Dmmu.c246 struct kvm_memslots *slots; in stage2_flush_vm()
253 slots = kvm_memslots(kvm); in stage2_flush_vm()
773 struct kvm_memslots *slots; in stage2_unmap_vm()
781 slots = kvm_memslots(kvm); in stage2_unmap_vm()
883 struct kvm_memslots *slots = kvm_memslots(kvm); in kvm_mmu_wp_memory_region()
/linux-6.1.9/arch/x86/kvm/
Dx86.h206 u64 gen = kvm_memslots(vcpu->kvm)->generation; in vcpu_cache_mmio_info()
223 return vcpu->arch.mmio_gen == kvm_memslots(vcpu->kvm)->generation; in vcpu_match_mmio_gen()
Ddebugfs.c92 struct kvm_memslots *slots; in kvm_mmu_rmaps_stat_show()
Dx86.c3447 struct kvm_memslots *slots; in record_steal_time()
3463 slots = kvm_memslots(vcpu->kvm); in record_steal_time()
4747 struct kvm_memslots *slots; in kvm_steal_time_set_preempted()
4774 slots = kvm_memslots(vcpu->kvm); in kvm_steal_time_set_preempted()
12488 struct kvm_memslots *slots = kvm_memslots(kvm); in __x86_set_memory_region()
/linux-6.1.9/arch/riscv/kvm/
Dmmu.c335 struct kvm_memslots *slots = kvm_memslots(kvm); in gstage_wp_memory_region()
/linux-6.1.9/Documentation/virt/kvm/x86/
Dmmu.rst197 determines which of the kvm_memslots array was used to build this
451 kvm_memslots(kvm)->generation, and increased whenever guest memory info
462 Unfortunately, a single memory access might access kvm_memslots(kvm) multiple
468 returns; thus, bit 63 of kvm_memslots(kvm)->generation set to 1 only during a
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_book3s_64.h538 static inline struct kvm_memslots *kvm_memslots_raw(struct kvm *kvm) in kvm_memslots_raw()
/linux-6.1.9/arch/s390/kvm/
Dpv.c144 npages = kvm_s390_get_gfn_end(kvm_memslots(kvm)); in kvm_s390_pv_alloc_vm()
Dkvm-s390.h221 static inline unsigned long kvm_s390_get_gfn_end(struct kvm_memslots *slots) in kvm_s390_get_gfn_end()
Dkvm-s390.c1127 struct kvm_memslots *slots; in kvm_s390_vm_start_migration()
1134 slots = kvm_memslots(kvm); in kvm_s390_vm_start_migration()
2128 static struct kvm_memory_slot *gfn_to_memslot_approx(struct kvm_memslots *slots, in gfn_to_memslot_approx()
2134 static unsigned long kvm_s390_next_dirty_cmma(struct kvm_memslots *slots, in kvm_s390_next_dirty_cmma()
2162 struct kvm_memslots *slots = kvm_memslots(kvm); in kvm_s390_get_cmma()
/linux-6.1.9/arch/x86/kvm/mmu/
Dmmu.c785 struct kvm_memslots *slots; in account_shadowed()
818 struct kvm_memslots *slots; in unaccount_shadowed()
1035 struct kvm_memslots *slots; in rmap_remove()
3597 struct kvm_memslots *slots; in mmu_first_shadow_root_alloc()
6018 struct kvm_memslots *slots; in kvm_rmap_zap_gfn_range()