Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/mm/nohash/
H A Dmmu_context.c65 #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 Dmmu_context_mm.h37 # 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 Dmmu_context.c45 #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 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()
/openbmc/linux/arch/m68k/include/asm/
H A Dmmu_context.h18 #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 Dmcfmmu.c28 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()