Searched refs:max_gfn (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/kvm/lib/ |
D | kvm_util_internal.h | 57 uint64_t max_gfn; member
|
D | kvm_util.c | 310 vm->max_gfn = vm_compute_max_gfn(vm); in vm_create() 828 <= vm->max_gfn, "Physical range beyond maximum " in vm_userspace_mem_region_add() 832 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add() 2292 return vm->max_gfn; in vm_get_max_gfn()
|
/tools/testing/selftests/kvm/lib/s390x/ |
D | processor.c | 67 TEST_ASSERT((gpa >> vm->page_shift) <= vm->max_gfn, in virt_pg_map() 70 gva, vm->max_gfn, vm->page_size); in virt_pg_map()
|
/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 408 TEST_ASSERT((nested_paddr >> vm->page_shift) <= vm->max_gfn, in nested_pg_map() 411 paddr, vm->max_gfn, vm->page_size); in nested_pg_map() 416 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in nested_pg_map() 419 paddr, vm->max_gfn, vm->page_size); in nested_pg_map()
|
D | processor.c | 215 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in __virt_pg_map() 218 paddr, vm->max_gfn, vm->page_size); in __virt_pg_map() 1418 unsigned long ht_gfn, max_gfn, max_pfn; in vm_compute_max_gfn() local 1421 max_gfn = (1ULL << (vm->pa_bits - vm->page_shift)) - 1; in vm_compute_max_gfn() 1429 return max_gfn; in vm_compute_max_gfn() 1433 return max_gfn; in vm_compute_max_gfn() 1464 return min(max_gfn, ht_gfn - 1); in vm_compute_max_gfn()
|
/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 103 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in _virt_pg_map() 106 paddr, vm->max_gfn, vm->page_size); in _virt_pg_map()
|