Searched refs:max_gfn (Results 1 – 5 of 5) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 232 uint64_t max_gfn; in run_test() local 258 max_gfn = (1ul << (guest_pa_bits - guest_page_shift)) - 1; in run_test() 267 guest_test_mem = (max_gfn - guest_num_pages) * guest_page_size; in run_test()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | kvm_util_internal.h | 54 uint64_t max_gfn; member
|
D | kvm_util.c | 178 vm->max_gfn = ((1ULL << vm->pa_bits) >> vm->page_shift) - 1; in vm_create() 524 <= vm->max_gfn, "Physical range beyond maximum " in vm_userspace_mem_region_add() 528 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add()
|
/external/linux-kselftest/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()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 282 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in virt_pg_map() 285 paddr, vm->max_gfn, vm->page_size); in virt_pg_map()
|