Lines Matching refs:first_context
57 static unsigned int first_context, last_context; variable
90 max = last_context - first_context; in steal_context_smp()
103 id = first_context; in steal_context_smp()
145 for (id = first_context; id <= last_context; id++) { in steal_all_contexts()
153 if (id != first_context) { in steal_all_contexts()
166 nr_free_contexts = last_context - first_context; in steal_all_contexts()
168 return first_context; in steal_all_contexts()
204 for (id = first_context; id <= last_context; id++) { in context_check_map()
222 if (first_context > 0 && !test_bit(0, context_map)) in context_check_map()
266 id = first_context; in switch_mmu_context()
291 id = first_context; in switch_mmu_context()
446 first_context = 0; in mmu_context_init()
450 first_context = 1; in mmu_context_init()
454 first_context = 1; in mmu_context_init()
478 last_context - first_context + 1); in mmu_context_init()
486 context_map[0] = (1 << first_context) - 1; in mmu_context_init()
487 next_context = first_context; in mmu_context_init()
488 nr_free_contexts = last_context - first_context + 1; in mmu_context_init()