Home
last modified time | relevance | path

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

/drivers/lguest/
Dpage_tables.c97 static pmd_t *spmd_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr) in spmd_addr() argument
103 BUG_ON(!(pgd_flags(spgd) & _PAGE_PRESENT)); in spmd_addr()
104 page = __va(pgd_pfn(spgd) << PAGE_SHIFT); in spmd_addr()
115 static pte_t *spte_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr) in spte_addr() argument
118 pmd_t *pmd = spmd_addr(cpu, spgd, vaddr); in spte_addr()
124 pte_t *page = __va(pgd_pfn(spgd) << PAGE_SHIFT); in spte_addr()
126 BUG_ON(!(pgd_flags(spgd) & _PAGE_PRESENT)); in spte_addr()
296 pgd_t *spgd; in find_spte() local
303 spgd = spgd_addr(cpu, cpu->cpu_pgd, vaddr); in find_spte()
304 if (!(pgd_flags(*spgd) & _PAGE_PRESENT)) { in find_spte()
[all …]