Searched refs:max_gfn (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/tools/testing/selftests/kvm/lib/s390x/ |
D | processor.c | 66 TEST_ASSERT((gpa >> vm->page_shift) <= vm->max_gfn, in virt_arch_pg_map() 69 gva, vm->max_gfn, vm->page_size); in virt_arch_pg_map()
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 436 TEST_ASSERT((nested_paddr >> vm->page_shift) <= vm->max_gfn, in __nested_pg_map() 439 paddr, vm->max_gfn, vm->page_size); in __nested_pg_map() 444 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in __nested_pg_map() 447 paddr, vm->max_gfn, vm->page_size); in __nested_pg_map()
|
D | processor.c | 191 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in __virt_pg_map() 194 paddr, vm->max_gfn, vm->page_size); in __virt_pg_map() 1267 unsigned long ht_gfn, max_gfn, max_pfn; in vm_compute_max_gfn() local 1270 max_gfn = (1ULL << (vm->pa_bits - vm->page_shift)) - 1; in vm_compute_max_gfn() 1274 return max_gfn; in vm_compute_max_gfn() 1278 return max_gfn; in vm_compute_max_gfn() 1305 return min(max_gfn, ht_gfn - 1); in vm_compute_max_gfn()
|
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/ |
D | vmx_apic_access_test.c | 87 high_gpa = (vm->max_gfn - 1) << vm->page_shift; in main()
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 81 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in virt_arch_pg_map() 84 paddr, vm->max_gfn, vm->page_size); in virt_arch_pg_map()
|
/Linux-v6.1/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()
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/ |
D | perf_test_util.c | 161 region_end_gfn = vm->max_gfn + 1; in perf_test_create_vm()
|
D | kvm_util.c | 286 vm->max_gfn = vm_compute_max_gfn(vm); in ____vm_create() 831 <= vm->max_gfn, "Physical range beyond maximum " in vm_userspace_mem_region_add() 835 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add()
|
/Linux-v6.1/tools/testing/selftests/kvm/ |
D | max_guest_memory_test.c | 222 max_gpa = vm->max_gfn << vm->page_shift; in main()
|
D | kvm_page_table_test.c | 262 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in pre_init_before_test()
|
D | dirty_log_test.c | 729 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in run_test()
|
/Linux-v6.1/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 77 uint64_t max_gfn; member
|