Home
last modified time | relevance | path

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

/Linux-v4.19/arch/alpha/include/asm/
Dpgtable.h92 #define _PFN_MASK 0xFFFFFFFF00000000UL macro
95 #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 pgd_page(pgd) (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32))
245 { return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } in pgd_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 pgd_bad(pgd_t pgd) { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE; } in pgd_bad()
/Linux-v4.19/arch/ia64/include/asm/
Dpgtable.h61 #define _PFN_MASK _PAGE_PPN_MASK macro
254 #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 pgd_page_vaddr(pgd) ((unsigned long) __va(pgd_val(pgd) & _PFN_MASK))
/Linux-v4.19/arch/mips/include/asm/
Dpgtable-bits.h165 #define _PFN_MASK (~((1 << (_PFN_SHIFT)) - 1)) macro
262 _PFN_MASK | _CACHE_MASK)
Dpgtable.h477 pte.pte_high &= (_PFN_MASK | _CACHE_MASK);
479 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);
486 pte.pte_high &= (_PFN_MASK | _CACHE_MASK);
488 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);
Dpgtable-32.h123 (pgprot_val(prot) & ~_PFN_MASK); in pfn_pte()