Home
last modified time | relevance | path

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

/Linux-v6.6/arch/alpha/include/asm/
Dpgtable.h93 #define _PFN_MASK 0xFFFFFFFF00000000UL macro
96 #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()
/Linux-v6.6/arch/ia64/include/asm/
Dpgtable.h64 #define _PFN_MASK _PAGE_PPN_MASK macro
218 #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))
/Linux-v6.6/arch/loongarch/include/asm/
Dpgtable-bits.h58 #define _PFN_MASK (~((_ULCAST_(1) << (PFN_PTE_SHIFT)) - 1) & \ macro
77 #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…
Dpage.h73 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
Dpgtable.h253 #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()
/Linux-v6.6/arch/mips/include/asm/
Dpgtable-bits.h198 #define _PFN_MASK (~((1 << (PFN_PTE_SHIFT)) - 1)) macro
283 _PAGE_SOFT_DIRTY | _PFN_MASK | \
Dpgtable.h517 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);
Dpage.h157 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
Dpgtable-32.h165 (pgprot_val(prot) & ~_PFN_MASK); in pfn_pte()
/Linux-v6.6/arch/loongarch/mm/
Dkasan_init.c34 ((pte_val(pte) & _PFN_MASK) == (unsigned long)__pa(kasan_early_shadow_page)))