Searched refs:LAST_CONTEXT (Results 1 – 5 of 5) sorted by relevance
65 #define LAST_CONTEXT 16 macro67 #define LAST_CONTEXT 65535 macro69 #define LAST_CONTEXT 255 macro79 (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()247 if (id > LAST_CONTEXT) in switch_mmu_context()269 id = find_next_zero_bit(map, LAST_CONTEXT+1, id); in switch_mmu_context()[all …]
45 #define LAST_CONTEXT 32767 macro49 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];56 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()57 if (ctx > LAST_CONTEXT) in __init_new_context()60 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
37 # define LAST_CONTEXT 255 macro71 extern struct mm_struct *context_mm[LAST_CONTEXT+1];87 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()88 if (ctx > LAST_CONTEXT) in get_mmu_context()91 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
29 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];31 struct mm_struct *context_mm[LAST_CONTEXT+1];44 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()
18 #define LAST_CONTEXT 255 macro25 extern struct mm_struct *context_mm[LAST_CONTEXT+1];40 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()41 if (ctx > LAST_CONTEXT) in get_mmu_context()44 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()