Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/kvm/lib/aarch64/
A Dprocessor.c27 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in pgd_index()
38 TEST_ASSERT(vm->pgtable_levels == 4, in pud_index()
49 TEST_ASSERT(vm->pgtable_levels >= 3, in pmd_index()
69 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in ptrs_per_pgd()
115 switch (vm->pgtable_levels) { in _virt_pg_map()
155 switch (vm->pgtable_levels) { in virt_get_pte_hva()
210 int level = 4 - (vm->pgtable_levels - 1); in virt_arch_dump()
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/
A Dkvm_util.c230 vm->pgtable_levels = 4; in ____vm_create()
233 vm->pgtable_levels = 3; in ____vm_create()
236 vm->pgtable_levels = 4; in ____vm_create()
239 vm->pgtable_levels = 3; in ____vm_create()
243 vm->pgtable_levels = 4; in ____vm_create()
247 vm->pgtable_levels = 3; in ____vm_create()
252 vm->pgtable_levels = 4; in ____vm_create()
255 vm->pgtable_levels = 3; in ____vm_create()
270 vm->pgtable_levels = 4; in ____vm_create()
277 vm->pgtable_levels = 5; in ____vm_create()
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/riscv/
A Dprocessor.c50 TEST_ASSERT(level < vm->pgtable_levels, in pte_index()
72 int level = vm->pgtable_levels - 1; in virt_arch_pg_map()
116 int level = vm->pgtable_levels - 1; in addr_arch_gva2gpa()
166 int level = vm->pgtable_levels - 1; in virt_arch_dump()
/linux-6.3-rc2/tools/testing/selftests/kvm/include/
A Dkvm_util_base.h94 unsigned int pgtable_levels; member

Completed in 18 milliseconds