Searched refs:next_mmu_context (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/microblaze/mm/
H A Dmmu_context.c33 mm_context_t next_mmu_context; variable
48 next_mmu_context = FIRST_CONTEXT; mmu_context_init()
63 /* free up context `next_mmu_context' */ steal_context()
65 if (next_mmu_context < FIRST_CONTEXT) steal_context()
66 next_mmu_context = FIRST_CONTEXT; steal_context()
67 mm = context_mm[next_mmu_context]; steal_context()
/linux-4.1.27/arch/nios2/mm/
H A Dmmu_context.c38 static mm_context_t next_mmu_context; variable
47 next_mmu_context = FIRST_CTX; mmu_context_init()
61 next_mmu_context += (1UL << PID_SHIFT); get_new_context()
65 if (unlikely(CTX_PID(next_mmu_context) == 0)) { get_new_context()
74 if (unlikely(CTX_VERSION(next_mmu_context) == 0)) get_new_context()
75 next_mmu_context = FIRST_CTX; get_new_context()
77 return next_mmu_context; get_new_context()
90 CTX_VERSION(next_mmu_context))) switch_mm()
/linux-4.1.27/arch/m68k/mm/
H A Dmcfmmu.c26 mm_context_t next_mmu_context; variable
166 next_mmu_context = FIRST_CONTEXT; mmu_context_init()
186 * free up context `next_mmu_context' steal_context()
189 if (next_mmu_context < FIRST_CONTEXT) steal_context()
190 next_mmu_context = FIRST_CONTEXT; steal_context()
191 mm = context_mm[next_mmu_context]; steal_context()
/linux-4.1.27/arch/powerpc/mm/
H A Dmmu_context_hash32.c61 static unsigned long next_mmu_context; variable
66 unsigned long ctx = next_mmu_context; __init_new_context()
73 next_mmu_context = (ctx + 1) & LAST_CONTEXT; __init_new_context()
118 next_mmu_context = FIRST_CONTEXT; mmu_context_init()
/linux-4.1.27/arch/microblaze/include/asm/
H A Dmmu_context_mm.h67 extern mm_context_t next_mmu_context;
89 ctx = next_mmu_context; get_mmu_context()
95 next_mmu_context = (ctx + 1) & LAST_CONTEXT; get_mmu_context()
/linux-4.1.27/arch/m68k/include/asm/
H A Dmmu_context.h24 extern mm_context_t next_mmu_context;
40 ctx = next_mmu_context; get_mmu_context()
46 next_mmu_context = (ctx + 1) & LAST_CONTEXT; get_mmu_context()

Completed in 226 milliseconds