Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/nios2/mm/
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()
/linux-6.3-rc2/arch/microblaze/mm/
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()
/linux-6.3-rc2/arch/powerpc/mm/book3s32/
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()
/linux-6.3-rc2/arch/microblaze/include/asm/
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()
/linux-6.3-rc2/arch/m68k/mm/
A Dmcfmmu.c27 mm_context_t next_mmu_context; variable
212 next_mmu_context = FIRST_CONTEXT; in cf_mmu_context_init()
230 if (next_mmu_context < FIRST_CONTEXT) in steal_context()
231 next_mmu_context = FIRST_CONTEXT; in steal_context()
232 mm = context_mm[next_mmu_context]; in steal_context()
/linux-6.3-rc2/arch/m68k/include/asm/
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()

Completed in 8 milliseconds