Home
last modified time | relevance | path

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

/linux-6.1.9/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_arch_gva2gpa()
200 int level = 4 - (vm->pgtable_levels - 1); in virt_arch_dump()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c214 vm->pgtable_levels = 4; in ____vm_create()
217 vm->pgtable_levels = 3; in ____vm_create()
220 vm->pgtable_levels = 4; in ____vm_create()
223 vm->pgtable_levels = 3; in ____vm_create()
227 vm->pgtable_levels = 4; in ____vm_create()
231 vm->pgtable_levels = 3; in ____vm_create()
236 vm->pgtable_levels = 4; in ____vm_create()
239 vm->pgtable_levels = 3; in ____vm_create()
254 vm->pgtable_levels = 4; in ____vm_create()
261 vm->pgtable_levels = 5; in ____vm_create()
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c50 TEST_ASSERT(level < vm->pgtable_levels, in pte_index()
70 int level = vm->pgtable_levels - 1; in virt_arch_pg_map()
114 int level = vm->pgtable_levels - 1; in addr_arch_gva2gpa()
164 int level = vm->pgtable_levels - 1; in virt_arch_dump()
/linux-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h72 unsigned int pgtable_levels; member