Searched refs:LAST_CONTEXT (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/arch/powerpc/mm/nohash/ |
D | mmu_context.c | 65 #define LAST_CONTEXT 16 macro 67 #define LAST_CONTEXT 65535 macro 69 #define LAST_CONTEXT 255 macro 79 (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() 255 if (id > LAST_CONTEXT) in switch_mmu_context() 277 id = find_next_zero_bit(map, LAST_CONTEXT+1, id); in switch_mmu_context() [all …]
|
/linux-6.12.1/arch/powerpc/mm/book3s32/ |
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()
|
/linux-6.12.1/arch/microblaze/include/asm/ |
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()
|
/linux-6.12.1/arch/microblaze/mm/ |
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()
|
/linux-6.12.1/arch/m68k/include/asm/ |
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()
|
/linux-6.12.1/arch/m68k/mm/ |
D | mcfmmu.c | 28 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; 30 struct mm_struct *context_mm[LAST_CONTEXT+1]; 203 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in cf_mmu_context_init()
|