Home
last modified time | relevance | path

Searched refs:va_bits (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c28 uint64_t mask = (1UL << (vm->va_bits - shift)) - 1; in pgd_index()
87 return 1 << (vm->va_bits - shift); in ptrs_per_pgd()
327 tcr_el1 |= (64 - vm->va_bits) /* T0SZ */; in aarch64_vcpu_setup()
585 (1ULL << vm->va_bits) >> vm->page_shift); in vm_vaddr_populate_bitmap()
/tools/testing/selftests/kvm/lib/
Dkvm_util.c206 0, (1ULL << (vm->va_bits - 1)) >> vm->page_shift); in vm_vaddr_populate_bitmap()
208 (~((1ULL << (vm->va_bits - 1)) - 1)) >> vm->page_shift, in vm_vaddr_populate_bitmap()
209 (1ULL << (vm->va_bits - 1)) >> vm->page_shift); in vm_vaddr_populate_bitmap()
228 vm->va_bits = vm_guest_mode_params[mode].va_bits; in ____vm_create()
264 kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); in ____vm_create()
270 TEST_ASSERT(vm->va_bits == 48 || vm->va_bits == 57, in ____vm_create()
272 vm->va_bits); in ____vm_create()
276 vm->va_bits = 48; in ____vm_create()
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1033 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits) in kvm_get_cpu_address_width() argument
1037 *va_bits = 32; in kvm_get_cpu_address_width()
1040 *va_bits = kvm_cpu_property(X86_PROPERTY_MAX_VIRT_ADDR); in kvm_get_cpu_address_width()
/tools/testing/selftests/kvm/include/
Dkvm_util_base.h99 unsigned int va_bits; member
228 unsigned int va_bits; member
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h1060 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits);