Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/kvm/lib/s390x/
A Dprocessor.c67 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 Dvmx.c416 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 Dprocessor.c198 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 Dvmx_apic_access_test.c87 high_gpa = (vm->max_gfn - 1) << vm->page_shift; in main()
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/riscv/
A Dprocessor.c83 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 Dprocessor.c106 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 Dmemstress.c173 region_end_gfn = vm->max_gfn + 1; in memstress_create_vm()
A Dkvm_util.c298 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 Dmax_guest_memory_test.c219 max_gpa = vm->max_gfn << vm->page_shift; in main()
A Dkvm_page_table_test.c262 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in pre_init_before_test()
A Ddirty_log_test.c752 guest_test_phys_mem = (vm->max_gfn - guest_num_pages) * in run_test()
/linux-6.3-rc2/tools/testing/selftests/kvm/aarch64/
A Dpage_fault_test.c581 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 Dkvm_util_base.h99 uint64_t max_gfn; member

Completed in 24 milliseconds