Searched refs:_PFN_MASK (Results 1 – 10 of 10) sorted by relevance
93 #define _PFN_MASK 0xFFFFFFFF00000000UL macro96 #define _PAGE_CHG_MASK (_PFN_MASK | __DIRTY_BITS | __ACCESS_BITS)219 return ((pmd_val(pmd) & _PFN_MASK) >> (32-PAGE_SHIFT)) + PAGE_OFFSET; in pmd_page_vaddr()228 return (pmd_t *)(PAGE_OFFSET + ((pud_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT))); in pud_pgtable()239 extern inline int pmd_bad(pmd_t pmd) { return (pmd_val(pmd) & ~_PFN_MASK) != _PAGE_TABLE; } in pmd_bad()244 extern inline int pud_bad(pud_t pud) { return (pud_val(pud) & ~_PFN_MASK) != _PAGE_TABLE; } in pud_bad()
64 #define _PFN_MASK _PAGE_PPN_MASK macro218 #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT)233 #define pte_page(pte) virt_to_page(((pte_val(pte) & _PFN_MASK) + PAGE_OFFSET))239 #define pmd_page_vaddr(pmd) ((unsigned long) __va(pmd_val(pmd) & _PFN_MASK))240 #define pmd_pfn(pmd) ((pmd_val(pmd) & _PFN_MASK) >> PAGE_SHIFT)247 #define pud_pgtable(pud) ((pmd_t *) __va(pud_val(pud) & _PFN_MASK))255 #define p4d_pgtable(p4d) ((pud_t *) __va(p4d_val(p4d) & _PFN_MASK))
58 #define _PFN_MASK (~((_ULCAST_(1) << (PFN_PTE_SHIFT)) - 1) & \ macro77 #define _PAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PFN_MASK | _CACHE_MASK | _PAGE_PLV)78 #define _HPAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PFN_MASK | _CACHE_MASK | _PAGE_PLV | _PA…
73 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
253 #define pte_pfn(x) ((unsigned long)(((x).pte & _PFN_MASK) >> PFN_PTE_SHIFT))484 return (pmd_val(pmd) & _PFN_MASK) >> PFN_PTE_SHIFT; in pmd_pfn()
198 #define _PFN_MASK (~((1 << (PFN_PTE_SHIFT)) - 1)) macro283 _PAGE_SOFT_DIRTY | _PFN_MASK | \
517 pte.pte_high &= (_PFN_MASK | _CACHE_MASK);519 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);526 pte.pte_high &= (_PFN_MASK | _CACHE_MASK);528 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);
157 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
165 (pgprot_val(prot) & ~_PFN_MASK); in pfn_pte()
34 ((pte_val(pte) & _PFN_MASK) == (unsigned long)__pa(kasan_early_shadow_page)))