Lines Matching refs:pmeg_alloc
52 unsigned char pmeg_alloc[PMEGS_NUM]; variable
133 memset(pmeg_alloc, 0, sizeof(pmeg_alloc)); in mmu_emu_init()
142 pmeg_alloc[i] = 2; in mmu_emu_init()
148 pmeg_alloc[num] = 2; in mmu_emu_init()
154 if(!pmeg_alloc[i]) { in mmu_emu_init()
181 pmeg_alloc[sun3_get_segmap(seg)] = 2; in mmu_emu_init()
227 if((pmeg_ctx[i] == context) && (pmeg_alloc[i] == 1)) { in clear_context()
230 pmeg_alloc[i] = 0; in clear_context()
291 while (pmeg_alloc[curr_pmeg] == 2) in mmu_emu_map_pmeg()
301 if (pmeg_alloc[curr_pmeg] == 1) { in mmu_emu_map_pmeg()
318 pmeg_alloc[curr_pmeg] = 2; in mmu_emu_map_pmeg()
323 pmeg_alloc[curr_pmeg] = 1; in mmu_emu_map_pmeg()