Searched refs:LAST_CONTEXT (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | mmu_context.c | 65 #define LAST_CONTEXT 16 macro 67 #define LAST_CONTEXT 65535 macro 69 #define LAST_CONTEXT 255 macro 102 max = LAST_CONTEXT - FIRST_CONTEXT; in steal_context_smp() 114 if (id > LAST_CONTEXT) in steal_context_smp() 172 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts() 258 if (id > LAST_CONTEXT) in switch_mmu_context() 280 id = find_next_zero_bit(map, LAST_CONTEXT+1, id); in switch_mmu_context() 281 if (id > LAST_CONTEXT) in switch_mmu_context() 399 sizeof(void *) * (LAST_CONTEXT + 1)); in mmu_context_init() [all …]
|
/openbmc/linux/arch/microblaze/include/asm/ |
H A D | mmu_context_mm.h | 37 # define LAST_CONTEXT 255 macro 71 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()
|
/openbmc/linux/arch/powerpc/mm/book3s32/ |
H A D | mmu_context.c | 45 #define LAST_CONTEXT 32767 macro 49 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()
|
/openbmc/linux/arch/microblaze/mm/ |
H A D | mmu_context.c | 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()
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | mmu_context.h | 18 #define LAST_CONTEXT 255 macro 25 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()
|
/openbmc/linux/arch/m68k/mm/ |
H A D | mcfmmu.c | 28 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; 30 struct mm_struct *context_mm[LAST_CONTEXT+1]; 204 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in cf_mmu_context_init()
|