Searched refs:pmd_phys (Results 1 – 7 of 7) sorted by relevance
218 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro219 #define pmd_pfn(pmd) (pmd_phys(pmd) >> PAGE_SHIFT)220 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
31 #define pmd_pfn(pmd) (pmd_phys(pmd) >> PAGE_SHIFT)32 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))104 #define pmd_phys(pmd) pmd_val(pmd) macro
223 #define pmd_phys(pmd) PHYSADDR(pmd_val(pmd)) macro226 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))516 return pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT); in pmd_page()
80 phys_addr_t pmd_phys = early ? in kasan_pmd_offset() local83 __pud_populate(pudp, pmd_phys, PUD_TYPE_TABLE); in kasan_pmd_offset()
284 phys_addr_t pmd_phys; in alloc_init_cont_pmd() local289 pmd_phys = pgtable_alloc(PMD_SHIFT); in alloc_init_cont_pmd()290 __pud_populate(pudp, pmd_phys, pudval); in alloc_init_cont_pmd()
65 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro73 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))413 return pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT);
1883 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local1914 pmd_phys = pud_phys + PFN_PHYS(n_pud); in xen_relocate_p2m()1915 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m()1925 pmd = early_memremap(pmd_phys, PAGE_SIZE); in xen_relocate_p2m()1948 make_lowmem_page_readonly(__va(pmd_phys)); in xen_relocate_p2m()1950 PFN_DOWN(pmd_phys)); in xen_relocate_p2m()1951 pud[idx_pmd] = __pud(_PAGE_TABLE | pmd_phys); in xen_relocate_p2m()1952 pmd_phys += PAGE_SIZE; in xen_relocate_p2m()