Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/mm/
Dmmu_context_nohash.c76 #define LAST_CONTEXT DEBUG_CLAMP_LAST_CONTEXT macro
78 #define LAST_CONTEXT 16 macro
80 #define LAST_CONTEXT 65535 macro
82 #define LAST_CONTEXT 255 macro
94 (sizeof(unsigned long) * (LAST_CONTEXT / BITS_PER_LONG + 1))
118 max = LAST_CONTEXT - FIRST_CONTEXT; in steal_context_smp()
130 if (id > LAST_CONTEXT) in steal_context_smp()
175 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in steal_all_contexts()
198 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts()
240 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in context_check_map()
[all …]
Dmmu_context_hash32.c44 #define LAST_CONTEXT 32767 macro
61 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
68 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
69 if (ctx > LAST_CONTEXT) in __init_new_context()
72 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
/Linux-v4.19/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-v4.19/arch/microblaze/mm/
Dmmu_context.c34 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()
/Linux-v4.19/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-v4.19/arch/m68k/mm/
Dmcfmmu.c29 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
31 struct mm_struct *context_mm[LAST_CONTEXT+1];
198 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in cf_mmu_context_init()