Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/mm/
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-2.6.39/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()
/linux-2.6.39/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()