Home
last modified time | relevance | path

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

/lib/
Dioremap.c103 static inline int ioremap_pmd_range(pud_t *pud, unsigned long addr, in ioremap_pmd_range() argument
109 pmd = pmd_alloc(&init_mm, pud, addr); in ioremap_pmd_range()
124 static int ioremap_try_huge_pud(pud_t *pud, unsigned long addr, in ioremap_try_huge_pud() argument
140 if (pud_present(*pud) && !pud_free_pmd_page(pud, addr)) in ioremap_try_huge_pud()
143 return pud_set_huge(pud, phys_addr, prot); in ioremap_try_huge_pud()
149 pud_t *pud; in ioremap_pud_range() local
152 pud = pud_alloc(&init_mm, p4d, addr); in ioremap_pud_range()
153 if (!pud) in ioremap_pud_range()
158 if (ioremap_try_huge_pud(pud, addr, next, phys_addr, prot)) in ioremap_pud_range()
161 if (ioremap_pmd_range(pud, addr, next, phys_addr, prot)) in ioremap_pud_range()
[all …]