Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/include/asm/
Dpgalloc.h32 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate_kernel()
40 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate()
48 set_pud(pud, __pud((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pud_populate()
56 set_p4d(p4d, __p4d((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in p4d_populate()
67 __p4d((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in p4d_populate_safe()
76 set_pgd(pgd, __pgd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pgd_populate()
87 __pgd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pgd_populate_safe()
Dpgtable-64.h100 #define napot_cont_order(val) (__builtin_ctzl((val.pte >> _PAGE_PFN_SHIFT) << 1))
213 return __pud((pfn << _PAGE_PFN_SHIFT) | pgprot_val(prot)); in pfn_pud()
257 return __pmd((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pmd()
316 return __p4d((pfn << _PAGE_PFN_SHIFT) | pgprot_val(prot)); in pfn_p4d()
Dpgtable.h117 #define __page_val_to_pfn(_val) (((_val) & _PAGE_PFN_MASK) >> _PAGE_PFN_SHIFT)
258 return __pgd((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pgd()
301 int pos = order - 1 + _PAGE_PFN_SHIFT; in pte_mknapot()
303 unsigned long napot_mask = ~GENMASK(pos, _PAGE_PFN_SHIFT); in pte_mknapot()
339 return __pte((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pte()
560 #define PFN_PTE_SHIFT _PAGE_PFN_SHIFT
572 pte_val(pteval) += 1 << _PAGE_PFN_SHIFT; in set_ptes()
Dpgtable-bits.h34 #define _PAGE_PFN_SHIFT 10 macro
/linux-6.12.1/arch/loongarch/include/asm/
Dpgtable-bits.h22 #define _PAGE_PFN_SHIFT 12 macro
55 #define PFN_PTE_SHIFT (PAGE_SHIFT - 12 + _PAGE_PFN_SHIFT)