Lines Matching refs:LAST_CONTEXT
65 #define LAST_CONTEXT 16 macro
67 #define LAST_CONTEXT 65535 macro
69 #define LAST_CONTEXT 255 macro
79 (sizeof(unsigned long) * (LAST_CONTEXT / BITS_PER_LONG + 1))
102 max = LAST_CONTEXT - FIRST_CONTEXT; in steal_context_smp()
114 if (id > LAST_CONTEXT) in steal_context_smp()
155 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in steal_all_contexts()
172 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts()
255 if (id > LAST_CONTEXT) in switch_mmu_context()
277 id = find_next_zero_bit(map, LAST_CONTEXT+1, id); in switch_mmu_context()
278 if (id > LAST_CONTEXT) in switch_mmu_context()
392 context_mm = memblock_alloc(sizeof(void *) * (LAST_CONTEXT + 1), in mmu_context_init()
396 sizeof(void *) * (LAST_CONTEXT + 1)); in mmu_context_init()
410 2 * CTX_MAP_SIZE + (sizeof(void *) * (LAST_CONTEXT + 1)), in mmu_context_init()
411 LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()
421 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT + 1; in mmu_context_init()