Home
last modified time | relevance | path

Searched refs:pa_bits (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c55 bits = vm->pa_bits < bits ? vm->pa_bits : bits; in ucall_init()
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h55 unsigned int pa_bits; member
Dkvm_util.c240 vm->pa_bits = vm_guest_mode_params[mode].pa_bits; in vm_create()
267 kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); in vm_create()
277 vm->pa_bits); in vm_create()
295 if (vm->pa_bits != 40) in vm_create()
296 vm->type = KVM_VM_TYPE_ARM_IPA_SIZE(vm->pa_bits); in vm_create()
2287 return ((1ULL << vm->pa_bits) >> vm->page_shift) - 1; in vm_compute_max_gfn()
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1191 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits) in kvm_get_cpu_address_width() argument
1199 *pa_bits = pae ? 36 : 32; in kvm_get_cpu_address_width()
1203 *pa_bits = entry->eax & 0xff; in kvm_get_cpu_address_width()
1421 max_gfn = (1ULL << (vm->pa_bits - vm->page_shift)) - 1; in vm_compute_max_gfn()
1432 if (vm->pa_bits < 40) in vm_compute_max_gfn()
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h396 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits);
/tools/testing/selftests/kvm/include/
Dkvm_util.h76 unsigned int pa_bits; member