Searched refs:va_bits (Results 1 – 6 of 6) sorted by relevance
42 unsigned int va_bits; member
147 unsigned int va_bits; member200 vm->va_bits = vm_guest_mode_params[mode].va_bits; in vm_create()226 kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); in vm_create()232 TEST_ASSERT(vm->va_bits == 48 || vm->va_bits == 57, in vm_create()234 vm->va_bits); in vm_create()238 vm->va_bits = 48; in vm_create()257 0, (1ULL << (vm->va_bits - 1)) >> vm->page_shift); in vm_create()259 (~((1ULL << (vm->va_bits - 1)) - 1)) >> vm->page_shift, in vm_create()260 (1ULL << (vm->va_bits - 1)) >> vm->page_shift); in vm_create()
27 uint64_t mask = (1UL << (vm->va_bits - shift)) - 1; in pgd_index()62 uint64_t mask = ((1UL << (vm->va_bits - vm->page_shift)) - 1) << vm->page_shift; in pte_addr()69 return 1 << (vm->va_bits - shift); in ptrs_per_pgd()296 tcr_el1 |= (64 - vm->va_bits) /* T0SZ */; in aarch64_vcpu_setup()
54 bits = vm->va_bits - 1; in ucall_init()
346 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits);
1115 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits) in kvm_get_cpu_address_width() argument1124 *va_bits = 32; in kvm_get_cpu_address_width()1128 *va_bits = (entry->eax >> 8) & 0xff; in kvm_get_cpu_address_width()