Home
last modified time | relevance | path

Searched refs:__page_val_to_pfn (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/riscv/include/asm/
H A Dpgtable-64.h216 return __page_val_to_pfn(pud_val(pud)); in _pud_pfn()
221 return (pmd_t *)pfn_to_virt(__page_val_to_pfn(pud_val(pud))); in pud_pgtable()
226 return pfn_to_page(__page_val_to_pfn(pud_val(pud))); in pud_page()
260 return __page_val_to_pfn(pmd_val(pmd)); in _pmd_pfn()
319 return __page_val_to_pfn(p4d_val(p4d)); in _p4d_pfn()
325 return (pud_t *)pfn_to_virt(__page_val_to_pfn(p4d_val(p4d))); in p4d_pgtable()
333 return pfn_to_page(__page_val_to_pfn(p4d_val(p4d))); in p4d_page()
382 return (p4d_t *)pfn_to_virt(__page_val_to_pfn(pgd_val(pgd))); in pgd_pgtable()
390 return pfn_to_page(__page_val_to_pfn(pgd_val(pgd))); in pgd_page()
H A Dpgtable.h121 #define __page_val_to_pfn(_val) (((_val) & _PAGE_PFN_MASK) >> _PAGE_PFN_SHIFT) macro
270 return __page_val_to_pfn(pgd_val(pgd)); in _pgd_pfn()
275 return pfn_to_page(__page_val_to_pfn(pmd_val(pmd))); in pmd_page()
280 return (unsigned long)pfn_to_virt(__page_val_to_pfn(pmd_val(pmd))); in pmd_page_vaddr()
328 unsigned long res = __page_val_to_pfn(pte_val(pte)); in pte_pfn()
639 #define __pmd_to_phys(pmd) (__page_val_to_pfn(pmd_val(pmd)) << PAGE_SHIFT)
646 #define __pud_to_phys(pud) (__page_val_to_pfn(pud_val(pud)) << PAGE_SHIFT)
/openbmc/linux/arch/riscv/kvm/
H A Dmmu.c57 return (unsigned long)pfn_to_virt(__page_val_to_pfn(pte_val(pte))); in gstage_pte_page_vaddr()