Lines Matching refs:FIRST_CONTEXT
70 #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()
327 id = FIRST_CONTEXT; in switch_mmu_context()
482 LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()
490 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
491 next_context = FIRST_CONTEXT; in mmu_context_init()
492 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT + 1; in mmu_context_init()