Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/arch/microblaze/mm/
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()
/Linux-v5.10/arch/powerpc/mm/book3s32/
Dmmu_context.c55 static unsigned long next_mmu_context; variable
60 unsigned long ctx = next_mmu_context; in __init_new_context()
67 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
112 next_mmu_context = FIRST_CONTEXT; in mmu_context_init()
/Linux-v5.10/arch/m68k/mm/
Dmcfmmu.c27 mm_context_t next_mmu_context; variable
211 next_mmu_context = FIRST_CONTEXT; in cf_mmu_context_init()
229 if (next_mmu_context < FIRST_CONTEXT) in steal_context()
230 next_mmu_context = FIRST_CONTEXT; in steal_context()
231 mm = context_mm[next_mmu_context]; in steal_context()
/Linux-v5.10/arch/microblaze/include/asm/
Dmmu_context_mm.h67 extern mm_context_t next_mmu_context;
89 ctx = next_mmu_context; in get_mmu_context()
95 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
/Linux-v5.10/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()