Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/mm/nohash/
Dmmu_context.c70 #define FIRST_CONTEXT 1 macro
114 max = LAST_CONTEXT - FIRST_CONTEXT; in steal_context_smp()
127 id = FIRST_CONTEXT; in steal_context_smp()
171 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in steal_all_contexts()
179 if (id != FIRST_CONTEXT) { in steal_all_contexts()
194 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts()
196 return FIRST_CONTEXT; in steal_all_contexts()
236 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in context_check_map()
254 if (FIRST_CONTEXT > 0 && !test_bit(0, context_map)) in context_check_map()
302 id = FIRST_CONTEXT; in switch_mmu_context()
[all …]
/Linux-v5.10/arch/microblaze/mm/
Dmmu_context.c42 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
43 next_mmu_context = FIRST_CONTEXT; in mmu_context_init()
44 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()
60 if (next_mmu_context < FIRST_CONTEXT) in steal_context()
61 next_mmu_context = FIRST_CONTEXT; in steal_context()
/Linux-v5.10/arch/powerpc/mm/book3s32/
Dmmu_context.c40 #define FIRST_CONTEXT 1 macro
111 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
112 next_mmu_context = FIRST_CONTEXT; in mmu_context_init()
/Linux-v5.10/arch/m68k/mm/
Dmcfmmu.c210 context_map[0] = (1 << FIRST_CONTEXT) - 1; in cf_mmu_context_init()
211 next_mmu_context = FIRST_CONTEXT; in cf_mmu_context_init()
212 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in cf_mmu_context_init()
229 if (next_mmu_context < FIRST_CONTEXT) in steal_context()
230 next_mmu_context = FIRST_CONTEXT; in steal_context()
/Linux-v5.10/arch/microblaze/include/asm/
Dmmu_context_mm.h42 # define FIRST_CONTEXT 1 macro
/Linux-v5.10/arch/m68k/include/asm/
Dmmu_context.h23 #define FIRST_CONTEXT 1 macro