Lines Matching refs:LAST_CONTEXT
72 #define LAST_CONTEXT DEBUG_CLAMP_LAST_CONTEXT macro
74 #define LAST_CONTEXT 16 macro
76 #define LAST_CONTEXT 65535 macro
78 #define LAST_CONTEXT 255 macro
90 (sizeof(unsigned long) * (LAST_CONTEXT / BITS_PER_LONG + 1))
114 max = LAST_CONTEXT - FIRST_CONTEXT; in steal_context_smp()
126 if (id > LAST_CONTEXT) in steal_context_smp()
171 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in steal_all_contexts()
194 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts()
236 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in context_check_map()
301 if (id > LAST_CONTEXT) in switch_mmu_context()
325 id = find_next_zero_bit(map, LAST_CONTEXT+1, id); in switch_mmu_context()
326 if (id > LAST_CONTEXT) in switch_mmu_context()
463 context_mm = memblock_alloc(sizeof(void *) * (LAST_CONTEXT + 1), in mmu_context_init()
467 sizeof(void *) * (LAST_CONTEXT + 1)); in mmu_context_init()
481 2 * CTX_MAP_SIZE + (sizeof(void *) * (LAST_CONTEXT + 1)), in mmu_context_init()
482 LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()
492 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT + 1; in mmu_context_init()