Lines Matching refs:page_shift
515 unsigned long end, unsigned long page_shift, in __kvmppc_svm_page_out() argument
536 if (!kvmppc_gfn_is_uvmem_pfn(gpa >> page_shift, kvm, NULL)) in __kvmppc_svm_page_out()
568 ret = uv_page_out(kvm->arch.lpid, pfn << page_shift, in __kvmppc_svm_page_out()
569 gpa, 0, page_shift); in __kvmppc_svm_page_out()
588 unsigned long page_shift, in kvmppc_svm_page_out() argument
595 ret = __kvmppc_svm_page_out(vma, start, end, page_shift, kvm, gpa, in kvmppc_svm_page_out()
743 unsigned long page_shift, in kvmppc_svm_page_in() argument
780 ret = uv_page_in(kvm->arch.lpid, pfn << page_shift, in kvmppc_svm_page_in()
781 gpa, 0, page_shift); in kvmppc_svm_page_in()
878 unsigned long page_shift) in kvmppc_share_page() argument
885 unsigned long gfn = gpa >> page_shift; in kvmppc_share_page()
918 if (!uv_page_in(kvm->arch.lpid, pfn << page_shift, gpa, 0, in kvmppc_share_page()
919 page_shift)) { in kvmppc_share_page()
938 unsigned long page_shift) in kvmppc_h_svm_page_in() argument
943 unsigned long gfn = gpa >> page_shift; in kvmppc_h_svm_page_in()
949 if (page_shift != PAGE_SHIFT) in kvmppc_h_svm_page_in()
956 return kvmppc_share_page(kvm, gpa, page_shift); in kvmppc_h_svm_page_in()
971 end = start + (1UL << page_shift); in kvmppc_h_svm_page_in()
976 if (kvmppc_svm_page_in(vma, start, end, gpa, kvm, page_shift, in kvmppc_h_svm_page_in()
1047 unsigned long flags, unsigned long page_shift) in kvmppc_h_svm_page_out() argument
1049 unsigned long gfn = gpa >> page_shift; in kvmppc_h_svm_page_out()
1058 if (page_shift != PAGE_SHIFT) in kvmppc_h_svm_page_out()
1071 end = start + (1UL << page_shift); in kvmppc_h_svm_page_out()
1076 if (!kvmppc_svm_page_out(vma, start, end, page_shift, kvm, gpa, NULL)) in kvmppc_h_svm_page_out()