Home
last modified time | relevance | path

Searched refs:gfn_to_memslot (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/arch/x86/kvm/mmu/
Dpage_track.c326 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/
Dvcpu_exit.c24 memslot = gfn_to_memslot(vcpu->kvm, gfn); in gstage_page_fault()
/linux-6.12.1/arch/powerpc/kvm/
De500.h268 if (!gfn_to_memslot(vcpu->kvm, gpa >> PAGE_SHIFT)) in tlbe_is_host_safe()
Dbook3s_64_mmu_hv.c579 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()
Dbook3s_64_mmu_radix.c442 memslot = gfn_to_memslot(kvm, gfn); in kvmppc_unmap_pte()
980 memslot = gfn_to_memslot(kvm, gfn); in kvmppc_book3s_radix_page_fault()
De500_mmu_host.c353 slot = gfn_to_memslot(vcpu_e500->vcpu.kvm, gfn); in kvmppc_e500_shadow_map()
Dbook3s_hv_nested.c1589 memslot = gfn_to_memslot(kvm, gfn); in __kvmhv_nested_page_fault()
Dbook3s_hv.c976 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/
Dmmu.c586 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/
Dpv.c259 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()
Dgaccess.c831 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()
Dpriv.c1239 struct kvm_memory_slot *ms = gfn_to_memslot(vcpu->kvm, gfn); in __do_essa()
Dkvm-s390.c2269 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/
Dkvm_main.c2592 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()
Dguest_memfd.c637 slot = gfn_to_memslot(kvm, start_gfn); in kvm_gmem_populate()
/linux-6.12.1/include/linux/
Dkvm_host.h1307 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/
Dsev.c2410 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/
Dmmu.c1836 memslot = gfn_to_memslot(vcpu->kvm, gfn); in kvm_handle_guest_abort()