Lines Matching refs:pud
71 static void vunmap_pmd_range(pud_t *pud, unsigned long addr, unsigned long end) in vunmap_pmd_range() argument
76 pmd = pmd_offset(pud, addr); in vunmap_pmd_range()
89 pud_t *pud; in vunmap_pud_range() local
92 pud = pud_offset(p4d, addr); in vunmap_pud_range()
95 if (pud_clear_huge(pud)) in vunmap_pud_range()
97 if (pud_none_or_clear_bad(pud)) in vunmap_pud_range()
99 vunmap_pmd_range(pud, addr, next); in vunmap_pud_range()
100 } while (pud++, addr = next, addr != end); in vunmap_pud_range()
160 static int vmap_pmd_range(pud_t *pud, unsigned long addr, in vmap_pmd_range() argument
166 pmd = pmd_alloc(&init_mm, pud, addr); in vmap_pmd_range()
180 pud_t *pud; in vmap_pud_range() local
183 pud = pud_alloc(&init_mm, p4d, addr); in vmap_pud_range()
184 if (!pud) in vmap_pud_range()
188 if (vmap_pmd_range(pud, addr, next, prot, pages, nr)) in vmap_pud_range()
190 } while (pud++, addr = next, addr != end); in vmap_pud_range()
272 pud_t *pud; in vmalloc_to_page() local
287 pud = pud_offset(p4d, addr); in vmalloc_to_page()
297 WARN_ON_ONCE(pud_bad(*pud)); in vmalloc_to_page()
298 if (pud_none(*pud) || pud_bad(*pud)) in vmalloc_to_page()
300 pmd = pmd_offset(pud, addr); in vmalloc_to_page()