Searched refs:gfn_to_memslot (Results 1 – 18 of 18) sorted by relevance
/linux-6.12.1/arch/x86/kvm/mmu/ |
D | page_track.c | 326 slot = gfn_to_memslot(kvm, gfn); in kvm_write_track_add_gfn() 356 slot = gfn_to_memslot(kvm, gfn); in kvm_write_track_remove_gfn()
|
/linux-6.12.1/arch/riscv/kvm/ |
D | vcpu_exit.c | 24 memslot = gfn_to_memslot(vcpu->kvm, gfn); in gstage_page_fault()
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | e500.h | 268 if (!gfn_to_memslot(vcpu->kvm, gpa >> PAGE_SHIFT)) in tlbe_is_host_safe()
|
D | book3s_64_mmu_hv.c | 579 memslot = gfn_to_memslot(kvm, gfn); in kvmppc_book3s_hv_page_fault() 1155 memslot = gfn_to_memslot(kvm, gfn); in kvmppc_pin_guest_page() 1191 memslot = gfn_to_memslot(kvm, gfn); in kvmppc_unpin_guest_page()
|
D | book3s_64_mmu_radix.c | 442 memslot = gfn_to_memslot(kvm, gfn); in kvmppc_unmap_pte() 980 memslot = gfn_to_memslot(kvm, gfn); in kvmppc_book3s_radix_page_fault()
|
D | e500_mmu_host.c | 353 slot = gfn_to_memslot(vcpu_e500->vcpu.kvm, gfn); in kvmppc_e500_shadow_map()
|
D | book3s_hv_nested.c | 1589 memslot = gfn_to_memslot(kvm, gfn); in __kvmhv_nested_page_fault()
|
D | book3s_hv.c | 976 from_memslot = gfn_to_memslot(kvm, from >> PAGE_SHIFT); in kvmppc_copy_guest() 988 to_memslot = gfn_to_memslot(kvm, to >> PAGE_SHIFT); in kvmppc_copy_guest() 5452 memslot = gfn_to_memslot(kvm, 0); in kvmppc_hv_setup_htab_rma()
|
/linux-6.12.1/arch/loongarch/kvm/ |
D | mmu.c | 586 slot = gfn_to_memslot(kvm, gfn); in kvm_map_page_fast() 806 memslot = gfn_to_memslot(kvm, gfn); in kvm_map_page()
|
/linux-6.12.1/arch/s390/kvm/ |
D | pv.c | 259 slot = gfn_to_memslot(kvm, 0); in kvm_s390_destroy_lower_2g() 265 slot = gfn_to_memslot(kvm, slot->base_gfn + slot->npages); in kvm_s390_destroy_lower_2g()
|
D | gaccess.c | 831 if (!gfn_to_memslot(kvm, gfn)) in access_guest_page() 851 slot = gfn_to_memslot(kvm, gfn); in access_guest_page_with_key() 1024 struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn); in cmpxchg_guest_abs_with_key()
|
D | priv.c | 1239 struct kvm_memory_slot *ms = gfn_to_memslot(vcpu->kvm, gfn); in __do_essa()
|
D | kvm-s390.c | 2269 ms = gfn_to_memslot(kvm, cur_gfn); in kvm_s390_get_cmma() 2301 ms = gfn_to_memslot(kvm, cur_gfn); in kvm_s390_get_cmma()
|
/linux-6.12.1/virt/kvm/ |
D | kvm_main.c | 2592 struct kvm_memory_slot *gfn_to_memslot(struct kvm *kvm, gfn_t gfn) in gfn_to_memslot() function 2596 EXPORT_SYMBOL_GPL(gfn_to_memslot); 2633 struct kvm_memory_slot *memslot = gfn_to_memslot(kvm, gfn); in kvm_is_visible_gfn() 2706 return gfn_to_hva_many(gfn_to_memslot(kvm, gfn), gfn, NULL); in gfn_to_hva() 2737 struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn); in gfn_to_hva_prot() 3019 return __gfn_to_pfn_memslot(gfn_to_memslot(kvm, gfn), gfn, false, false, in gfn_to_pfn_prot() 3040 return gfn_to_pfn_memslot(gfn_to_memslot(kvm, gfn), gfn); in gfn_to_pfn() 3276 struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn); in kvm_read_guest_page() 3386 struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn); in kvm_write_guest_page() 3616 memslot = gfn_to_memslot(kvm, gfn); in mark_page_dirty()
|
D | guest_memfd.c | 637 slot = gfn_to_memslot(kvm, start_gfn); in kvm_gmem_populate()
|
/linux-6.12.1/include/linux/ |
D | kvm_host.h | 1307 struct kvm_memory_slot *gfn_to_memslot(struct kvm *kvm, gfn_t gfn); 1810 return gfn_to_memslot(kvm, gfn)->id; in memslot_id()
|
/linux-6.12.1/arch/x86/kvm/svm/ |
D | sev.c | 2410 memslot = gfn_to_memslot(kvm, params.gfn_start); in snp_launch_update() 3857 slot = gfn_to_memslot(vcpu->kvm, gfn); in __sev_snp_update_protected_guest_state() 4713 slot = gfn_to_memslot(kvm, gfn); in sev_handle_rmp_fault()
|
/linux-6.12.1/arch/arm64/kvm/ |
D | mmu.c | 1836 memslot = gfn_to_memslot(vcpu->kvm, gfn); in kvm_handle_guest_abort()
|