Searched refs:LAST_CONTEXT (Results 1 – 5 of 5) sorted by relevance
45 #define LAST_CONTEXT 32767 macro62 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];69 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()70 if (ctx > LAST_CONTEXT) in __init_new_context()73 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()
20 #define LAST_CONTEXT 255 macro27 extern struct mm_struct *context_mm[LAST_CONTEXT+1];42 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()43 if (ctx > LAST_CONTEXT) in get_mmu_context()46 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
27 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];29 struct mm_struct *context_mm[LAST_CONTEXT+1];167 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()