Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c88 TEST_ASSERT((gpa >> vm->page_shift) <= vm->max_gfn, in virt_pg_map()
91 gva, vm->max_gfn, vm->page_size); in virt_pg_map()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c402 TEST_ASSERT((nested_paddr >> vm->page_shift) <= vm->max_gfn, in nested_pg_map()
405 paddr, vm->max_gfn, vm->page_size); in nested_pg_map()
410 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in nested_pg_map()
413 paddr, vm->max_gfn, vm->page_size); in nested_pg_map()
Dprocessor.c279 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in virt_pg_map()
282 paddr, vm->max_gfn, vm->page_size); in virt_pg_map()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h54 uint64_t max_gfn; member
Dkvm_util.c226 vm->max_gfn = ((1ULL << vm->pa_bits) >> vm->page_shift) - 1; in _vm_create()
590 <= vm->max_gfn, "Physical range beyond maximum " in vm_userspace_mem_region_add()
594 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add()
1668 return vm->max_gfn; in vm_get_max_gfn()
/external/linux-kselftest/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()