Home
last modified time | relevance | path

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

/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()
112 switch (vm->pgtable_levels) { in _virt_pg_map()
152 switch (vm->pgtable_levels) { in addr_gva2gpa()
200 int level = 4 - (vm->pgtable_levels - 1); in virt_dump()
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h52 unsigned int pgtable_levels; member
Dkvm_util.c248 vm->pgtable_levels = 4; in vm_create()
251 vm->pgtable_levels = 3; in vm_create()
254 vm->pgtable_levels = 4; in vm_create()
257 vm->pgtable_levels = 3; in vm_create()
260 vm->pgtable_levels = 4; in vm_create()
263 vm->pgtable_levels = 3; in vm_create()
278 vm->pgtable_levels = 4; in vm_create()
285 vm->pgtable_levels = 5; in vm_create()
288 vm->pgtable_levels = 5; in vm_create()