Home
last modified time | relevance | path

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

/openbmc/linux/arch/nios2/mm/
H A Dmmu_context.c38 static mm_context_t next_mmu_context; variable
47 next_mmu_context = FIRST_CTX; in mmu_context_init()
61 next_mmu_context += (1UL << PID_SHIFT); in get_new_context()
65 if (unlikely(CTX_PID(next_mmu_context) == 0)) { in get_new_context()
74 if (unlikely(CTX_VERSION(next_mmu_context) == 0)) in get_new_context()
75 next_mmu_context = FIRST_CTX; in get_new_context()
77 return next_mmu_context; in get_new_context()
90 CTX_VERSION(next_mmu_context))) in switch_mm()
/openbmc/linux/arch/microblaze/mm/
H A Dmmu_context.c28 mm_context_t next_mmu_context; variable
43 next_mmu_context = FIRST_CONTEXT; in mmu_context_init()
60 if (next_mmu_context < FIRST_CONTEXT) in steal_context()
61 next_mmu_context = FIRST_CONTEXT; in steal_context()
62 mm = context_mm[next_mmu_context]; in steal_context()
/openbmc/linux/arch/powerpc/mm/book3s32/
H A Dmmu_context.c48 static unsigned long next_mmu_context; variable
53 unsigned long ctx = next_mmu_context; in __init_new_context()
60 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
111 next_mmu_context = FIRST_CONTEXT; in mmu_context_init()
/openbmc/linux/arch/microblaze/include/asm/
H A Dmmu_context_mm.h63 extern mm_context_t next_mmu_context;
85 ctx = next_mmu_context; in get_mmu_context()
91 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
/openbmc/linux/arch/m68k/mm/
H A Dmcfmmu.c27 mm_context_t next_mmu_context; variable
203 next_mmu_context = FIRST_CONTEXT; in cf_mmu_context_init()
221 if (next_mmu_context < FIRST_CONTEXT) in steal_context()
222 next_mmu_context = FIRST_CONTEXT; in steal_context()
223 mm = context_mm[next_mmu_context]; in steal_context()
/openbmc/linux/arch/m68k/include/asm/
H A Dmmu_context.h22 extern mm_context_t next_mmu_context;
38 ctx = next_mmu_context; in get_mmu_context()
44 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()