Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dmmu_context_hash32.c45 #define LAST_CONTEXT 32767 macro
62 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
69 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
70 if (ctx > LAST_CONTEXT) in __init_new_context()
73 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in __init_new_context()
/arch/microblaze/include/asm/
Dmmu_context_mm.h41 # define LAST_CONTEXT 255 macro
75 extern struct mm_struct *context_mm[LAST_CONTEXT+1];
91 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()
92 if (ctx > LAST_CONTEXT) in get_mmu_context()
95 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
/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()
/arch/m68k/include/asm/
Dmmu_context.h20 #define LAST_CONTEXT 255 macro
27 extern struct mm_struct *context_mm[LAST_CONTEXT+1];
42 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()
43 if (ctx > LAST_CONTEXT) in get_mmu_context()
46 next_mmu_context = (ctx + 1) & LAST_CONTEXT; in get_mmu_context()
/arch/m68k/mm/
Dmcfmmu.c27 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
29 struct mm_struct *context_mm[LAST_CONTEXT+1];
167 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()