Searched refs:max_gfn (Results 1 – 14 of 14) sorted by relevance
/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H 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()
|
H A D | processor.c | 203 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in __virt_pg_map() 206 paddr, vm->max_gfn, vm->page_size); in __virt_pg_map() 1197 unsigned long ht_gfn, max_gfn, max_pfn; in vm_compute_max_gfn() local 1211 max_gfn = (1ULL << (guest_maxphyaddr - vm->page_shift)) - 1; in vm_compute_max_gfn() 1215 return max_gfn; in vm_compute_max_gfn() 1219 return max_gfn; in vm_compute_max_gfn() 1242 return min(max_gfn, ht_gfn - 1); in vm_compute_max_gfn()
|
/linux/tools/testing/selftests/kvm/lib/s390x/ |
H 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/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_apic_access_test.c | 87 high_gpa = (vm->max_gfn - 1) << vm->page_shift; in main()
|
/linux/tools/testing/selftests/kvm/ |
H A D | pre_fault_memory_test.c | 84 guest_test_phys_mem = (vm->max_gfn - TEST_NPAGES) * guest_page_size; in __test_pre_fault_memory()
|
H A D | max_guest_memory_test.c | 214 max_gpa = vm->max_gfn << vm->page_shift; in main()
|
H A D | kvm_page_table_test.c | 260 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in pre_init_before_test()
|
H A D | dirty_log_test.c | 724 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in run_test()
|
/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 96 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in virt_arch_pg_map() 99 paddr, vm->max_gfn, vm->page_size); in virt_arch_pg_map()
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | processor.c | 143 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in _virt_pg_map() 146 paddr, vm->max_gfn, vm->page_size); in _virt_pg_map()
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | memstress.c | 177 region_end_gfn = vm->max_gfn + 1; in memstress_create_vm()
|
H A D | kvm_util.c | 362 vm->max_gfn = vm_compute_max_gfn(vm); in ____vm_create() 926 <= vm->max_gfn, "Physical range beyond maximum " in vm_mem_add() 930 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_mem_add()
|
/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | page_fault_test.c | 579 uint64_t max_gfn = vm_compute_max_gfn(vm); in setup_memslots() local 595 data_gpa = (max_gfn * guest_page_size) - data_size; in setup_memslots()
|
/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util.h | 87 uint64_t max_gfn; member
|