Home
last modified time | relevance | path

Searched refs:PTE_RPN_MASK (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/
Dpgtable.h155 #define PTE_RPN_MASK (~((1ULL << PTE_RPN_SHIFT) - 1)) macro
158 #define PTE_RPN_MASK (~((1UL << PTE_RPN_SHIFT) - 1)) macro
166 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL)
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dpgtable.h107 #define PTE_RPN_MASK (((1UL << _PAGE_PA_MAX) - 1) & (PAGE_MASK)) macro
112 #define _HPAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HPTEFLAGS | _PAGE_DIRTY | \
126 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HPTEFLAGS | _PAGE_DIRTY | \
625 VM_BUG_ON((pfn << PAGE_SHIFT) & ~PTE_RPN_MASK); in pfn_pte()
632 return (pte_val(pte) & PTE_RPN_MASK) >> PAGE_SHIFT; in pte_pfn()
740 #define __swp_offset(x) (((x).val & PTE_RPN_MASK) >> PAGE_SHIFT)
743 | (((offset) << PAGE_SHIFT) & PTE_RPN_MASK)})
Dhash-64k.h178 if (pfn > (PTE_RPN_MASK >> PAGE_SHIFT)) { in hash__remap_4k_pfn()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/
Dpgtable.h38 #define PTE_RPN_MASK (~((1ULL << PTE_RPN_SHIFT) - 1)) macro
41 #define PTE_RPN_MASK (~((1UL << PTE_RPN_SHIFT) - 1)) macro
49 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HASHPTE | _PAGE_DIRTY | \
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/64/
Dpgtable.h90 #define PTE_RPN_MASK (~((1UL << PTE_RPN_SHIFT) - 1)) macro
96 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL)
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpgtable.h56 pte_flags = pte_val(pte) & ~PTE_RPN_MASK; in pte_pgprot()
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/
Dptdump.c205 u64 pa = val & PTE_RPN_MASK; in note_page_update_state()
223 u64 pa = val & PTE_RPN_MASK; in note_page()
/kernel/linux/linux-5.10/arch/powerpc/mm/kasan/
Dkasan_init_32.c92 if ((pte_val(*ptep) & PTE_RPN_MASK) != pa) in kasan_update_early_region()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c426 hpa = old & PTE_RPN_MASK; in kvmppc_unmap_pte()
1038 old & PTE_RPN_MASK, in kvm_age_radix()
1112 old & PTE_RPN_MASK, in kvm_radix_test_clear_dirty()
Dbook3s_hv_nested.c876 mask = PTE_RPN_MASK & ~(nbytes - 1); in kvmhv_update_nest_rmap_rc_list()
931 addr_mask = PTE_RPN_MASK & ~(nbytes - 1); in kvmhv_remove_nest_rmap_range()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dpgtable.c143 pmdv = (pfn << PAGE_SHIFT) & PTE_RPN_MASK; in pfn_pmd()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c3225 printf("Maps physical address = 0x%016lx\n", pte & PTE_RPN_MASK); in format_pte()