Lines Matching refs:gpas
780 unsigned long *gpas, unsigned long len, in guest_range_to_gpas() argument
815 if (gpas) in guest_range_to_gpas()
816 *gpas++ = gpa; in guest_range_to_gpas()
902 unsigned long *gpas; in access_guest_with_key() local
917 gpas = gpa_array; in access_guest_with_key()
919 gpas = vmalloc(array_size(nr_pages, sizeof(unsigned long))); in access_guest_with_key()
920 if (!gpas) in access_guest_with_key()
937 rc = guest_range_to_gpas(vcpu, ga, ar, gpas, len, asce, mode, 0); in access_guest_with_key()
941 fragment_len = min(PAGE_SIZE - offset_in_page(gpas[idx]), len); in access_guest_with_key()
943 rc = access_guest_page(vcpu->kvm, mode, gpas[idx], in access_guest_with_key()
946 rc = access_guest_page_with_key(vcpu->kvm, mode, gpas[idx], in access_guest_with_key()
950 rc = access_guest_page_with_key(vcpu->kvm, mode, gpas[idx], in access_guest_with_key()
971 vfree(gpas); in access_guest_with_key()