Lines Matching refs:virtaddr
108 static unsigned long virtaddr = PAGE_OFFSET; in map_chunk() local
121 if (!(virtaddr & (PTRTREESIZE-1))) in map_chunk()
123 virtaddr); in map_chunk()
125 pgd_dir = pgd_offset_k(virtaddr); in map_chunk()
126 if (virtaddr && CPU_IS_020_OR_030) { in map_chunk()
127 if (!(virtaddr & (ROOTTREESIZE-1)) && in map_chunk()
134 virtaddr += ROOTTREESIZE; in map_chunk()
146 pmd_dir = pmd_offset(pgd_dir, virtaddr); in map_chunk()
149 if (virtaddr) { in map_chunk()
153 pmd_dir->pmd[(virtaddr/PTRTREESIZE) & 15] = physaddr; in map_chunk()
170 virtaddr += PTRTREESIZE; in map_chunk()
179 pte_dir = pte_offset(pmd_dir, virtaddr); in map_chunk()
181 if (virtaddr) { in map_chunk()
187 virtaddr += PAGE_SIZE; in map_chunk()
196 return virtaddr; in map_chunk()