Home
last modified time | relevance | path

Searched refs:lvls (Results 1 – 2 of 2) sorted by relevance

/arch/arm64/include/asm/
A Dkernel-pgtable.h51 #define EARLY_LEVEL(lvl, lvls, vstart, vend, add) \ argument
52 ((lvls) > (lvl) ? EARLY_ENTRIES(lvl, vstart, vend) + (add) : 0)
54 #define EARLY_PAGES(lvls, vstart, vend, add) (1 /* PGDIR page */ \ argument
55 + EARLY_LEVEL(3, (lvls), (vstart), (vend), add) /* each entry needs a next level page table */ \
56 + EARLY_LEVEL(2, (lvls), (vstart), (vend), add) /* each entry needs a next level page table */ \
57 + EARLY_LEVEL(1, (lvls), (vstart), (vend), add))/* each entry needs a next level page table */
/arch/arm64/kvm/hyp/
A Dpgtable.c584 s8 lvls; in kvm_get_vtcr() local
592 lvls = stage2_pgtable_levels(phys_shift); in kvm_get_vtcr()
593 if (lvls < 2) in kvm_get_vtcr()
594 lvls = 2; in kvm_get_vtcr()
604 vtcr |= VTCR_EL2_LVLS_TO_SL0(lvls); in kvm_get_vtcr()

Completed in 10 milliseconds