Searched refs:_PFN_MASK (Results 1 – 6 of 6) sorted by relevance
92 #define _PFN_MASK 0xFFFFFFFF00000000UL macro95 #define _PAGE_CHG_MASK (_PFN_MASK | __DIRTY_BITS | __ACCESS_BITS)236 return ((pmd_val(pmd) & _PFN_MASK) >> (32-PAGE_SHIFT)) + PAGE_OFFSET; in pmd_page_vaddr()240 #define pmd_page(pmd) (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32))241 #define pud_page(pud) (mem_map + ((pud_val(pud) & _PFN_MASK) >> 32))245 { return PAGE_OFFSET + ((pud_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } in pud_page_vaddr()255 extern inline int pmd_bad(pmd_t pmd) { return (pmd_val(pmd) & ~_PFN_MASK) != _PAGE_TABLE; } in pmd_bad()260 extern inline int pud_bad(pud_t pud) { return (pud_val(pud) & ~_PFN_MASK) != _PAGE_TABLE; } in pud_bad()
61 #define _PFN_MASK _PAGE_PPN_MASK macro254 #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT)269 #define pte_page(pte) virt_to_page(((pte_val(pte) & _PFN_MASK) + PAGE_OFFSET))275 #define pmd_page_vaddr(pmd) ((unsigned long) __va(pmd_val(pmd) & _PFN_MASK))282 #define pud_page_vaddr(pud) ((unsigned long) __va(pud_val(pud) & _PFN_MASK))290 #define p4d_page_vaddr(p4d) ((unsigned long) __va(p4d_val(p4d) & _PFN_MASK))
198 #define _PFN_MASK (~((1 << (_PFN_SHIFT)) - 1)) macro283 _PAGE_SOFT_DIRTY | _PFN_MASK | _CACHE_MASK)
516 pte.pte_high &= (_PFN_MASK | _CACHE_MASK);518 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);525 pte.pte_high &= (_PFN_MASK | _CACHE_MASK);527 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);
157 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
167 (pgprot_val(prot) & ~_PFN_MASK); in pfn_pte()