Searched refs:max_gfn (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/s390x/ |
A D | processor.c | 67 TEST_ASSERT((gpa >> vm->page_shift) <= vm->max_gfn, in virt_arch_pg_map() 70 gva, vm->max_gfn, vm->page_size); in virt_arch_pg_map()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/x86_64/ |
A D | vmx.c | 416 TEST_ASSERT((nested_paddr >> vm->page_shift) <= vm->max_gfn, in __nested_pg_map() 419 paddr, vm->max_gfn, vm->page_size); in __nested_pg_map() 424 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in __nested_pg_map() 427 paddr, vm->max_gfn, vm->page_size); in __nested_pg_map()
|
A D | processor.c | 198 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in __virt_pg_map() 201 paddr, vm->max_gfn, vm->page_size); in __virt_pg_map() 1221 unsigned long ht_gfn, max_gfn, max_pfn; in vm_compute_max_gfn() local 1224 max_gfn = (1ULL << (vm->pa_bits - vm->page_shift)) - 1; in vm_compute_max_gfn() 1228 return max_gfn; in vm_compute_max_gfn() 1232 return max_gfn; in vm_compute_max_gfn() 1255 return min(max_gfn, ht_gfn - 1); in vm_compute_max_gfn()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/ |
A D | vmx_apic_access_test.c | 87 high_gpa = (vm->max_gfn - 1) << vm->page_shift; in main()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/riscv/ |
A D | processor.c | 83 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in virt_arch_pg_map() 86 paddr, vm->max_gfn, vm->page_size); in virt_arch_pg_map()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/aarch64/ |
A D | processor.c | 106 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in _virt_pg_map() 109 paddr, vm->max_gfn, vm->page_size); in _virt_pg_map()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/ |
A D | memstress.c | 173 region_end_gfn = vm->max_gfn + 1; in memstress_create_vm()
|
A D | kvm_util.c | 298 vm->max_gfn = vm_compute_max_gfn(vm); in ____vm_create() 916 <= vm->max_gfn, "Physical range beyond maximum " in vm_userspace_mem_region_add() 920 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/ |
A D | max_guest_memory_test.c | 219 max_gpa = vm->max_gfn << vm->page_shift; in main()
|
A D | kvm_page_table_test.c | 262 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in pre_init_before_test()
|
A D | dirty_log_test.c | 752 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in run_test()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/aarch64/ |
A D | page_fault_test.c | 581 uint64_t max_gfn = vm_compute_max_gfn(vm); in setup_memslots() local 597 data_gpa = (max_gfn * guest_page_size) - data_size; in setup_memslots()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/include/ |
A D | kvm_util_base.h | 99 uint64_t max_gfn; member
|
Completed in 24 milliseconds