Home
last modified time | relevance | path

Searched refs:LAST_CONTEXT (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/powerpc/mm/nohash/
Dmmu_context.c72 #define LAST_CONTEXT DEBUG_CLAMP_LAST_CONTEXT macro
74 #define LAST_CONTEXT 16 macro
76 #define LAST_CONTEXT 65535 macro
78 #define LAST_CONTEXT 255 macro
90 (sizeof(unsigned long) * (LAST_CONTEXT / BITS_PER_LONG + 1))
114 max = LAST_CONTEXT - FIRST_CONTEXT; in steal_context_smp()
126 if (id > LAST_CONTEXT) in steal_context_smp()
171 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in steal_all_contexts()
194 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts()
236 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in context_check_map()
[all …]
/Linux-v5.4/arch/powerpc/mm/book3s32/
Dmmu_context.c39 #define LAST_CONTEXT 32767 macro
56 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
63 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
64 if (ctx > LAST_CONTEXT) in __init_new_context()
67 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
/Linux-v5.4/arch/microblaze/include/asm/
Dmmu_context_mm.h44 # define LAST_CONTEXT 255 macro
78 extern struct mm_struct *context_mm[LAST_CONTEXT+1];
94 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()
95 if (ctx > LAST_CONTEXT) in get_mmu_context()
98 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
/Linux-v5.4/arch/microblaze/mm/
Dmmu_context.c29 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-v5.4/arch/m68k/include/asm/
Dmmu_context.h22 #define LAST_CONTEXT 255 macro
29 extern struct mm_struct *context_mm[LAST_CONTEXT+1];
44 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()
45 if (ctx > LAST_CONTEXT) in get_mmu_context()
48 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
/Linux-v5.4/arch/m68k/mm/
Dmcfmmu.c28 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
30 struct mm_struct *context_mm[LAST_CONTEXT+1];
202 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in cf_mmu_context_init()