Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
207 int level = 4 - (vm->pgtable_levels - 1); in virt_dump()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h38 unsigned int pgtable_levels; member
Dkvm_util.c207 vm->pgtable_levels = 4; in vm_create()
210 vm->pgtable_levels = 3; in vm_create()
213 vm->pgtable_levels = 4; in vm_create()
216 vm->pgtable_levels = 3; in vm_create()
219 vm->pgtable_levels = 4; in vm_create()
222 vm->pgtable_levels = 3; in vm_create()
237 vm->pgtable_levels = 4; in vm_create()