Searched refs:pa_bits (Results 1 – 9 of 9) sorted by relevance
693 int pa_bits; in main() local696 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()697 max_phys_size = 1ULL << pa_bits; in main()
255 if (vm->pa_bits < 52) in _vm_get_page_table_entry()256 rsvd_mask = GENMASK_ULL(51, vm->pa_bits); in _vm_get_page_table_entry()1060 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits) in kvm_get_cpu_address_width() argument1068 *pa_bits = pae ? 36 : 32; in kvm_get_cpu_address_width()1072 *pa_bits = entry->eax & 0xff; in kvm_get_cpu_address_width()1270 max_gfn = (1ULL << (vm->pa_bits - vm->page_shift)) - 1; in vm_compute_max_gfn()1277 if (vm->pa_bits < 40) in vm_compute_max_gfn()
54 bits = min(vm->pa_bits, bits); in ucall_init()
206 vm->pa_bits = vm_guest_mode_params[mode].pa_bits; in ____vm_create()243 kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); in ____vm_create()253 vm->pa_bits); in ____vm_create()271 if (vm->pa_bits != 40) in ____vm_create()272 vm->type = KVM_VM_TYPE_ARM_IPA_SIZE(vm->pa_bits); in ____vm_create()1872 return ((1ULL << vm->pa_bits) >> vm->page_shift) - 1; in vm_compute_max_gfn()
171 unsigned long pa_bits; /* number of physical address bits */ member
82 phys &= (1ul << hwrpb->pa_bits) - 1; in virt_to_phys()
75 unsigned int pa_bits; member169 unsigned int pa_bits; member
736 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits);
1192 hwrpb->pa_bits, in show_cpuinfo()