Searched refs:pmeg_alloc (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/m68k/sun3/
H A Dmmu_emu.c52 unsigned char pmeg_alloc[PMEGS_NUM]; variable
133 memset(pmeg_alloc, 0, sizeof(pmeg_alloc)); mmu_emu_init()
142 pmeg_alloc[i] = 2; mmu_emu_init()
148 pmeg_alloc[num] = 2; mmu_emu_init()
154 if(!pmeg_alloc[i]) { mmu_emu_init()
181 pmeg_alloc[sun3_get_segmap(seg)] = 2; mmu_emu_init()
227 if((pmeg_ctx[i] == context) && (pmeg_alloc[i] == 1)) { clear_context()
230 pmeg_alloc[i] = 0; clear_context()
291 while (pmeg_alloc[curr_pmeg] == 2) mmu_emu_map_pmeg()
301 if (pmeg_alloc[curr_pmeg] == 1) { mmu_emu_map_pmeg()
318 pmeg_alloc[curr_pmeg] = 2; mmu_emu_map_pmeg()
323 pmeg_alloc[curr_pmeg] = 1; mmu_emu_map_pmeg()
/linux-4.1.27/arch/m68k/include/asm/
H A Dtlbflush.h112 extern unsigned char pmeg_alloc[SUN3_PMEGS_NUM];
134 if(pmeg_alloc[addr] == 1) { flush_tlb_all()
135 pmeg_alloc[addr] = 0; flush_tlb_all()
159 pmeg_alloc[seg] = 0; flush_tlb_mm()
181 pmeg_alloc[i] = 0; flush_tlb_page()
207 pmeg_alloc[seg] = 0; flush_tlb_range()

Completed in 78 milliseconds