Home
last modified time | relevance | path

Searched refs:pgtable_levels (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c24 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in pgd_index()
35 TEST_ASSERT(vm->pgtable_levels == 4, in pud_index()
46 TEST_ASSERT(vm->pgtable_levels >= 3, in pmd_index()
66 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in ptrs_per_pgd()
114 switch (vm->pgtable_levels) { in _virt_pg_map()
159 switch (vm->pgtable_levels) { in addr_gva2gpa()
207 int level = 4 - (vm->pgtable_levels - 1); in virt_dump()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h49 unsigned int pgtable_levels; member
Dkvm_util.c139 vm->pgtable_levels = 4; in vm_create()
145 vm->pgtable_levels = 3; in vm_create()
152 vm->pgtable_levels = 4; in vm_create()
159 vm->pgtable_levels = 3; in vm_create()