Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/arch/loongarch/include/asm/
Dpgtable-bits.h60 #define _PFN_MASK (~((_ULCAST_(1) << (PFN_PTE_SHIFT)) - 1) & \ macro
79 #define _PAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PAGE_DEVMAP | _PFN_MASK | _CACHE_MASK | _…
80 #define _HPAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PAGE_DEVMAP | _PFN_MASK | _CACHE_MASK | …
Dpage.h65 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
Dkvm_mmu.h22 #define kvm_pte_pfn(x) ((phys_addr_t)((x & _PFN_MASK) >> PFN_PTE_SHIFT))
Dpgtable.h262 #define pte_pfn(x) ((unsigned long)(((x).pte & _PFN_MASK) >> PFN_PTE_SHIFT))
467 return (pmd_val(pmd) & _PFN_MASK) >> PFN_PTE_SHIFT; in pmd_pfn()
/linux-6.12.1/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.h143 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
Dpgtable-32.h165 (pgprot_val(prot) & ~_PFN_MASK); in pfn_pte()
/linux-6.12.1/arch/loongarch/mm/
Dkasan_init.c41 ((pte_val(pte) & _PFN_MASK) == (unsigned long)__pa(kasan_early_shadow_page)))