Searched refs:LAST_CONTEXT (Results 1 – 3 of 3) sorted by relevance
44 #define LAST_CONTEXT 32767 macro61 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];68 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()69 if (ctx > LAST_CONTEXT) in __init_new_context()72 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
41 # define LAST_CONTEXT 255 macro75 extern struct mm_struct *context_mm[LAST_CONTEXT+1];91 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()92 if (ctx > LAST_CONTEXT) in get_mmu_context()95 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
34 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];36 struct mm_struct *context_mm[LAST_CONTEXT+1];49 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()