Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/m68k/mm/
Dkmap.c114 pmd_t *pmd_dir; in __ioremap() local
195 pmd_dir = pmd_alloc_kernel(pgd_dir, virtaddr); in __ioremap()
196 if (!pmd_dir) { in __ioremap()
202 pmd_dir->pmd[(virtaddr/PTRTREESIZE) & 15] = physaddr; in __ioremap()
207 pte_dir = pte_alloc_kernel(pmd_dir, virtaddr); in __ioremap()
251 pmd_t *pmd_dir; in __iounmap() local
261 pmd_dir = pmd_offset(pgd_dir, virtaddr); in __iounmap()
266 if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { in __iounmap()
267 pmd_dir->pmd[pmd_off] = 0; in __iounmap()
274 if (pmd_bad(*pmd_dir)) { in __iounmap()
[all …]
Dmotorola.c111 pmd_t *pmd_dir; in map_chunk() local
140 pmd_dir = kernel_ptr_table(); in map_chunk()
142 printk ("[new pointer %p]", pmd_dir); in map_chunk()
144 pgd_set(pgd_dir, pmd_dir); in map_chunk()
146 pmd_dir = pmd_offset(pgd_dir, virtaddr); in map_chunk()
153 pmd_dir->pmd[(virtaddr/PTRTREESIZE) & 15] = physaddr; in map_chunk()
162 pmd_dir->pmd[0] = virt_to_phys(pte_dir) | in map_chunk()
172 if (!pmd_present(*pmd_dir)) { in map_chunk()
177 pmd_set(pmd_dir, pte_dir); in map_chunk()
179 pte_dir = pte_offset(pmd_dir, virtaddr); in map_chunk()