Home
last modified time | relevance | path

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

/lib/
Dioremap.c63 static int ioremap_pte_range(pmd_t *pmd, unsigned long addr, in ioremap_pte_range() argument
70 pte = pte_alloc_kernel(pmd, addr); in ioremap_pte_range()
81 static int ioremap_try_huge_pmd(pmd_t *pmd, unsigned long addr, in ioremap_try_huge_pmd() argument
97 if (pmd_present(*pmd) && !pmd_free_pte_page(pmd, addr)) in ioremap_try_huge_pmd()
100 return pmd_set_huge(pmd, phys_addr, prot); in ioremap_try_huge_pmd()
106 pmd_t *pmd; in ioremap_pmd_range() local
109 pmd = pmd_alloc(&init_mm, pud, addr); in ioremap_pmd_range()
110 if (!pmd) in ioremap_pmd_range()
115 if (ioremap_try_huge_pmd(pmd, addr, next, phys_addr, prot)) in ioremap_pmd_range()
118 if (ioremap_pte_range(pmd, addr, next, phys_addr, prot)) in ioremap_pmd_range()
[all …]