Home
last modified time | relevance | path

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

/linux-2.6.39/arch/alpha/include/asm/
Dpgtable.h91 #define _PFN_MASK 0xFFFFFFFF00000000UL macro
94 #define _PAGE_CHG_MASK (_PFN_MASK | __DIRTY_BITS | __ACCESS_BITS)
235 return ((pmd_val(pmd) & _PFN_MASK) >> (32-PAGE_SHIFT)) + PAGE_OFFSET; in pmd_page_vaddr()
239 #define pmd_page(pmd) (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32))
240 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32))
244 { return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } in pgd_page_vaddr()
254 extern inline int pmd_bad(pmd_t pmd) { return (pmd_val(pmd) & ~_PFN_MASK) != _PAGE_TABLE; } in pmd_bad()
259 extern inline int pgd_bad(pgd_t pgd) { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE; } in pgd_bad()
/linux-2.6.39/arch/ia64/include/asm/
Dpgtable.h64 #define _PFN_MASK _PAGE_PPN_MASK macro
257 #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT)
272 #define pte_page(pte) virt_to_page(((pte_val(pte) & _PFN_MASK) + PAGE_OFFSET))
278 #define pmd_page_vaddr(pmd) ((unsigned long) __va(pmd_val(pmd) & _PFN_MASK))
285 #define pud_page_vaddr(pud) ((unsigned long) __va(pud_val(pud) & _PFN_MASK))
293 #define pgd_page_vaddr(pgd) ((unsigned long) __va(pgd_val(pgd) & _PFN_MASK))
/linux-2.6.39/arch/mips/include/asm/
Dpgtable-bits.h137 #define _PFN_MASK (~((1 << (_PFN_SHIFT)) - 1)) macro
226 #define _PAGE_CHG_MASK (_PFN_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _CACHE_MASK)
/linux-2.6.39/arch/ia64/xen/
Dxencomm.c81 return (pte_val(*ptep) & _PFN_MASK) | (vaddr & ~PAGE_MASK); in xencomm_vtop()