Lines Matching refs:virtaddr
292 unsigned long physaddr, virtaddr, size; in map_node() local
301 virtaddr = (unsigned long)phys_to_virt(physaddr); in map_node()
309 if (!(virtaddr & (PMD_SIZE-1))) in map_node()
311 virtaddr); in map_node()
313 pgd_dir = pgd_offset_k(virtaddr); in map_node()
314 if (virtaddr && CPU_IS_020_OR_030) { in map_node()
315 if (!(virtaddr & (PGDIR_SIZE-1)) && in map_node()
322 virtaddr += PGDIR_SIZE; in map_node()
327 p4d_dir = p4d_offset(pgd_dir, virtaddr); in map_node()
328 pud_dir = pud_offset(p4d_dir, virtaddr); in map_node()
336 pmd_dir = pmd_offset(pud_dir, virtaddr); in map_node()
339 if (virtaddr) { in map_node()
359 virtaddr += PMD_SIZE; in map_node()
368 pte_dir = pte_offset_kernel(pmd_dir, virtaddr); in map_node()
370 if (virtaddr) { in map_node()
376 virtaddr += PAGE_SIZE; in map_node()