Lines Matching refs:last_context
57 static unsigned int first_context, last_context; variable
66 (sizeof(unsigned long) * (last_context / BITS_PER_LONG + 1))
90 max = last_context - first_context; in steal_context_smp()
102 if (id > last_context) in steal_context_smp()
145 for (id = first_context; id <= last_context; id++) { in steal_all_contexts()
166 nr_free_contexts = last_context - first_context; in steal_all_contexts()
204 for (id = first_context; id <= last_context; id++) { in context_check_map()
265 if (id > last_context) in switch_mmu_context()
289 id = find_next_zero_bit(map, last_context+1, id); in switch_mmu_context()
290 if (id > last_context) in switch_mmu_context()
447 last_context = 15; in mmu_context_init()
451 last_context = 65535; in mmu_context_init()
455 last_context = 255; in mmu_context_init()
460 last_context = DEBUG_CLAMP_LAST_CONTEXT; in mmu_context_init()
466 context_mm = memblock_virt_alloc(sizeof(void *) * (last_context + 1), 0); in mmu_context_init()
477 2 * CTX_MAP_SIZE + (sizeof(void *) * (last_context + 1)), in mmu_context_init()
478 last_context - first_context + 1); in mmu_context_init()
488 nr_free_contexts = last_context - first_context + 1; in mmu_context_init()