Home
last modified time | relevance | path

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

/Linux-v4.19/arch/nios2/mm/
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()
/Linux-v4.19/arch/microblaze/mm/
Dmmu_context.c33 mm_context_t next_mmu_context; variable
48 next_mmu_context = FIRST_CONTEXT; in mmu_context_init()
65 if (next_mmu_context < FIRST_CONTEXT) in steal_context()
66 next_mmu_context = FIRST_CONTEXT; in steal_context()
67 mm = context_mm[next_mmu_context]; in steal_context()
/Linux-v4.19/arch/powerpc/mm/
Dmmu_context_hash32.c60 static unsigned long next_mmu_context; variable
65 unsigned long ctx = next_mmu_context; in __init_new_context()
72 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
117 next_mmu_context = FIRST_CONTEXT; in mmu_context_init()
/Linux-v4.19/arch/m68k/mm/
Dmcfmmu.c28 mm_context_t next_mmu_context; variable
197 next_mmu_context = FIRST_CONTEXT; in cf_mmu_context_init()
220 if (next_mmu_context < FIRST_CONTEXT) in steal_context()
221 next_mmu_context = FIRST_CONTEXT; in steal_context()
222 mm = context_mm[next_mmu_context]; in steal_context()
/Linux-v4.19/arch/microblaze/include/asm/
Dmmu_context_mm.h70 extern mm_context_t next_mmu_context;
92 ctx = next_mmu_context; in get_mmu_context()
98 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
/Linux-v4.19/arch/m68k/include/asm/
Dmmu_context.h26 extern mm_context_t next_mmu_context;
42 ctx = next_mmu_context; in get_mmu_context()
48 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()