• Home
  • Raw
  • Download

Lines Matching refs:gpa

232 	unsigned long gpa;  member
509 struct kvm *kvm, unsigned long gpa, struct page *fault_page) in __kvmppc_svm_page_out() argument
529 if (!kvmppc_gfn_is_uvmem_pfn(gpa >> page_shift, kvm, NULL)) in __kvmppc_svm_page_out()
562 gpa, 0, page_shift); in __kvmppc_svm_page_out()
582 struct kvm *kvm, unsigned long gpa, in kvmppc_svm_page_out() argument
588 ret = __kvmppc_svm_page_out(vma, start, end, page_shift, kvm, gpa, in kvmppc_svm_page_out()
638 PAGE_SHIFT, kvm, pvt->gpa, NULL)) in kvmppc_uvmem_drop_pages()
640 pvt->gpa, addr); in kvmppc_uvmem_drop_pages()
688 static struct page *kvmppc_uvmem_get_page(unsigned long gpa, struct kvm *kvm) in kvmppc_uvmem_get_page() argument
712 kvmppc_gfn_secure_uvmem_pfn(gpa >> PAGE_SHIFT, uvmem_pfn, kvm); in kvmppc_uvmem_get_page()
714 pvt->gpa = gpa; in kvmppc_uvmem_get_page()
736 unsigned long end, unsigned long gpa, struct kvm *kvm, in kvmppc_svm_page_in() argument
764 dpage = kvmppc_uvmem_get_page(gpa, kvm); in kvmppc_svm_page_in()
775 gpa, 0, page_shift); in kvmppc_svm_page_in()
871 static unsigned long kvmppc_share_page(struct kvm *kvm, unsigned long gpa, in kvmppc_share_page() argument
879 unsigned long gfn = gpa >> page_shift; in kvmppc_share_page()
912 if (!uv_page_in(kvm->arch.lpid, pfn << page_shift, gpa, 0, in kvmppc_share_page()
930 unsigned long kvmppc_h_svm_page_in(struct kvm *kvm, unsigned long gpa, in kvmppc_h_svm_page_in() argument
937 unsigned long gfn = gpa >> page_shift; in kvmppc_h_svm_page_in()
950 return kvmppc_share_page(kvm, gpa, page_shift); in kvmppc_h_svm_page_in()
970 if (kvmppc_svm_page_in(vma, start, end, gpa, kvm, page_shift, in kvmppc_h_svm_page_in()
999 pvt->kvm, pvt->gpa, vmf->page)) in kvmppc_uvmem_migrate_to_ram()
1025 kvmppc_gfn_remove(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free()
1027 kvmppc_gfn_secure_mem_pfn(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free()
1040 kvmppc_h_svm_page_out(struct kvm *kvm, unsigned long gpa, in kvmppc_h_svm_page_out() argument
1043 unsigned long gfn = gpa >> page_shift; in kvmppc_h_svm_page_out()
1070 if (!kvmppc_svm_page_out(vma, start, end, page_shift, kvm, gpa, NULL)) in kvmppc_h_svm_page_out()