Lines Matching refs:pmd
58 static void vunmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end) in vunmap_pte_range() argument
62 pte = pte_offset_kernel(pmd, addr); in vunmap_pte_range()
71 pmd_t *pmd; in vunmap_pmd_range() local
74 pmd = pmd_offset(pud, addr); in vunmap_pmd_range()
77 if (pmd_none_or_clear_bad(pmd)) in vunmap_pmd_range()
79 vunmap_pte_range(pmd, addr, next); in vunmap_pmd_range()
80 } while (pmd++, addr = next, addr != end); in vunmap_pmd_range()
112 static int vmap_pte_range(pmd_t *pmd, unsigned long addr, in vmap_pte_range() argument
122 pte = pte_alloc_kernel(pmd, addr); in vmap_pte_range()
141 pmd_t *pmd; in vmap_pmd_range() local
144 pmd = pmd_alloc(&init_mm, pud, addr); in vmap_pmd_range()
145 if (!pmd) in vmap_pmd_range()
149 if (vmap_pte_range(pmd, addr, next, prot, pages, nr)) in vmap_pmd_range()
151 } while (pmd++, addr = next, addr != end); in vmap_pmd_range()
242 pmd_t *pmd = pmd_offset(pud, addr); in vmalloc_to_page() local
243 if (!pmd_none(*pmd)) { in vmalloc_to_page()
246 ptep = pte_offset_map(pmd, addr); in vmalloc_to_page()