Home
last modified time | relevance | path

Searched refs:PGDIR_BITS (Results 1 – 5 of 5) sorted by relevance

/kvm-unit-tests/lib/riscv/asm/
H A Dpgtable.h11 #define PGDIR_BITS 10 macro
22 #define PGDIR_BITS 9 macro
/kvm-unit-tests/lib/x86/asm/
H A Dpage.h79 #define PGDIR_BITS(lvl) (((lvl) - 1) * PGDIR_WIDTH + PAGE_SHIFT) macro
80 #define PGDIR_OFFSET(va, lvl) (((va) >> PGDIR_BITS(lvl)) & PGDIR_MASK)
/kvm-unit-tests/lib/x86/
H A Dvm.c254 pa += 1ul << PGDIR_BITS(level - 1); in split_large_page()
324 page_size = 1ul << PGDIR_BITS(search.level); in walk_pte()
/kvm-unit-tests/lib/riscv/
H A Dmmu.c18 return (vaddr >> (PGDIR_BITS * level + PAGE_SHIFT)) & PGDIR_MASK; in pte_index()
/kvm-unit-tests/x86/
H A Daccess.c225 return 1ul << PGDIR_BITS(i); in walk_va()