Home
last modified time | relevance | path

Searched refs:max_gfn (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.1/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c66 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/
Dvmx.c436 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()
Dprocessor.c191 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/
Dvmx_apic_access_test.c87 high_gpa = (vm->max_gfn - 1) << vm->page_shift; in main()
/Linux-v6.1/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c81 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/
Dprocessor.c103 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/
Dperf_test_util.c161 region_end_gfn = vm->max_gfn + 1; in perf_test_create_vm()
Dkvm_util.c286 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/
Dmax_guest_memory_test.c222 max_gpa = vm->max_gfn << vm->page_shift; in main()
Dkvm_page_table_test.c262 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in pre_init_before_test()
Ddirty_log_test.c729 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in run_test()
/Linux-v6.1/tools/testing/selftests/kvm/include/
Dkvm_util_base.h77 uint64_t max_gfn; member