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.c26 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in pgd_index()
37 TEST_ASSERT(vm->pgtable_levels == 4, in pud_index()
48 TEST_ASSERT(vm->pgtable_levels >= 3, in pmd_index()
68 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()
208 int level = 4 - (vm->pgtable_levels - 1); in virt_dump()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util.c150 vm->pgtable_levels = 4; in _vm_create()
157 vm->pgtable_levels = 3; in _vm_create()
164 vm->pgtable_levels = 4; in _vm_create()
171 vm->pgtable_levels = 3; in _vm_create()
178 vm->pgtable_levels = 4; in _vm_create()
185 vm->pgtable_levels = 3; in _vm_create()
196 vm->pgtable_levels = 4; in _vm_create()
Dkvm_util_internal.h49 unsigned int pgtable_levels; member