Lines Matching refs:curr_pmeg
283 static unsigned char curr_pmeg = 128; in mmu_emu_map_pmeg() local
290 while (pmeg_alloc[curr_pmeg] == 2) in mmu_emu_map_pmeg()
291 ++curr_pmeg; in mmu_emu_map_pmeg()
296 curr_pmeg, context, vaddr); in mmu_emu_map_pmeg()
300 if (pmeg_alloc[curr_pmeg] == 1) { in mmu_emu_map_pmeg()
301 sun3_put_context(pmeg_ctx[curr_pmeg]); in mmu_emu_map_pmeg()
302 sun3_put_segmap (pmeg_vaddr[curr_pmeg], SUN3_INVALID_PMEG); in mmu_emu_map_pmeg()
314 sun3_put_segmap (vaddr, curr_pmeg); in mmu_emu_map_pmeg()
317 pmeg_alloc[curr_pmeg] = 2; in mmu_emu_map_pmeg()
318 pmeg_ctx[curr_pmeg] = 0; in mmu_emu_map_pmeg()
322 pmeg_alloc[curr_pmeg] = 1; in mmu_emu_map_pmeg()
323 pmeg_ctx[curr_pmeg] = context; in mmu_emu_map_pmeg()
324 sun3_put_segmap (vaddr, curr_pmeg); in mmu_emu_map_pmeg()
327 pmeg_vaddr[curr_pmeg] = vaddr; in mmu_emu_map_pmeg()
334 ++curr_pmeg; in mmu_emu_map_pmeg()