Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
58 /* free up context `next_mmu_context' */ in steal_context()
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()
/kernel/linux/linux-6.6/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()
58 /* free up context `next_mmu_context' */ in steal_context()
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()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s32/
H A 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
H A 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/m68k/mm/
H A Dmcfmmu.c27 mm_context_t next_mmu_context; variable
211 next_mmu_context = FIRST_CONTEXT; in cf_mmu_context_init()
226 * free up context `next_mmu_context' in steal_context()
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()
/kernel/linux/linux-6.6/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()
218 * free up context `next_mmu_context' in steal_context()
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()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A 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()
/kernel/linux/linux-6.6/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()

Completed in 6 milliseconds