Searched refs:pmd_dir (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/m68k/mm/
H A Dkmap.c111 pmd_t *pmd_dir; __ioremap() local
193 pmd_dir = pmd_alloc(&init_mm, pgd_dir, virtaddr); __ioremap()
194 if (!pmd_dir) { __ioremap()
195 printk("ioremap: no mem for pmd_dir\n"); __ioremap()
200 pmd_dir->pmd[(virtaddr/PTRTREESIZE) & 15] = physaddr; __ioremap()
205 pte_dir = pte_alloc_kernel(pmd_dir, virtaddr); __ioremap()
251 pmd_t *pmd_dir; __iounmap() local
261 pmd_dir = pmd_offset(pgd_dir, virtaddr); __iounmap()
265 int pmd_type = pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK; __iounmap()
268 pmd_dir->pmd[pmd_off] = 0; __iounmap()
276 if (pmd_bad(*pmd_dir)) { __iounmap()
277 printk("iounmap: bad pmd (%08lx)\n", pmd_val(*pmd_dir)); __iounmap()
278 pmd_clear(pmd_dir); __iounmap()
281 pte_dir = pte_offset_kernel(pmd_dir, virtaddr); __iounmap()
300 pmd_t *pmd_dir; kernel_set_cachemode() local
339 pmd_dir = pmd_offset(pgd_dir, virtaddr); kernel_set_cachemode()
344 if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { kernel_set_cachemode()
345 pmd_dir->pmd[pmd_off] = (pmd_dir->pmd[pmd_off] & kernel_set_cachemode()
353 if (pmd_bad(*pmd_dir)) { kernel_set_cachemode()
354 printk("iocachemode: bad pmd (%08lx)\n", pmd_val(*pmd_dir)); kernel_set_cachemode()
355 pmd_clear(pmd_dir); kernel_set_cachemode()
358 pte_dir = pte_offset_kernel(pmd_dir, virtaddr); kernel_set_cachemode()
H A Dmotorola.c113 pmd_t *pmd_dir; map_node() local
145 pmd_dir = kernel_ptr_table(); map_node()
147 printk ("[new pointer %p]", pmd_dir); map_node()
149 pgd_set(pgd_dir, pmd_dir); map_node()
151 pmd_dir = pmd_offset(pgd_dir, virtaddr); map_node()
158 pmd_dir->pmd[(virtaddr/PTRTREESIZE) & 15] = physaddr; map_node()
167 pmd_dir->pmd[0] = virt_to_phys(pte_dir) | map_node()
177 if (!pmd_present(*pmd_dir)) { map_node()
182 pmd_set(pmd_dir, pte_dir); map_node()
184 pte_dir = pte_offset_kernel(pmd_dir, virtaddr); map_node()

Completed in 211 milliseconds