Searched refs:pfn_pgd (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/riscv/mm/ |
H A D | kasan_init.c | 120 set_pgd(pgd, pfn_pgd(PFN_DOWN(__pa(p)), PAGE_TABLE)); in kasan_populate_p4d() 155 set_pgd(pgdp, pfn_pgd(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pgd() 314 set_pgd(pgdp, pfn_pgd(PFN_DOWN(phys_addr), PAGE_TABLE)); in kasan_early_populate_pgd() 428 set_pgd(pgd_k, pfn_pgd(PFN_DOWN(__pa(p)), PAGE_TABLE)); in kasan_shallow_populate_pgd() 460 pfn_pgd(PFN_DOWN(__pa(tmp_p4d)), PAGE_TABLE)); in create_tmp_mapping()
|
H A D | init.c | 660 pgdp[pgd_idx] = pfn_pgd(PFN_DOWN(pa), prot); in create_pgd_mapping() 666 pgdp[pgd_idx] = pfn_pgd(PFN_DOWN(next_phys), PAGE_TABLE); in create_pgd_mapping()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | pgtable.h | 259 static inline pgd_t pfn_pgd(unsigned long pfn, pgprot_t prot) in pfn_pgd() function
|