Lines Matching refs:gpas
953 unsigned long *gpas, unsigned long len, in guest_range_to_gpas() argument
988 if (gpas) in guest_range_to_gpas()
989 *gpas++ = gpa; in guest_range_to_gpas()
1073 unsigned long *gpas; in access_guest_with_key() local
1088 gpas = gpa_array; in access_guest_with_key()
1090 gpas = vmalloc(array_size(nr_pages, sizeof(unsigned long))); in access_guest_with_key()
1091 if (!gpas) in access_guest_with_key()
1108 rc = guest_range_to_gpas(vcpu, ga, ar, gpas, len, asce, mode, 0); in access_guest_with_key()
1112 fragment_len = min(PAGE_SIZE - offset_in_page(gpas[idx]), len); in access_guest_with_key()
1114 rc = access_guest_page(vcpu->kvm, mode, gpas[idx], in access_guest_with_key()
1117 rc = access_guest_page_with_key(vcpu->kvm, mode, gpas[idx], in access_guest_with_key()
1121 rc = access_guest_page_with_key(vcpu->kvm, mode, gpas[idx], in access_guest_with_key()
1142 vfree(gpas); in access_guest_with_key()