Symbol: LAST_CONTEXT
arch/m68k/include/asm/mmu_context.h
25
extern struct mm_struct *context_mm[LAST_CONTEXT+1];
arch/m68k/include/asm/mmu_context.h
40
ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx);
arch/m68k/include/asm/mmu_context.h
41
if (ctx > LAST_CONTEXT)
arch/m68k/include/asm/mmu_context.h
44
next_mmu_context = (ctx + 1) & LAST_CONTEXT;
arch/m68k/mm/mcfmmu.c
194
atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1);
arch/m68k/mm/mcfmmu.c
28
unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
arch/m68k/mm/mcfmmu.c
30
struct mm_struct *context_mm[LAST_CONTEXT+1];
arch/microblaze/include/asm/mmu_context_mm.h
71
extern struct mm_struct *context_mm[LAST_CONTEXT+1];
arch/microblaze/include/asm/mmu_context_mm.h
87
ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx);
arch/microblaze/include/asm/mmu_context_mm.h
88
if (ctx > LAST_CONTEXT)
arch/microblaze/include/asm/mmu_context_mm.h
91
next_mmu_context = (ctx + 1) & LAST_CONTEXT;
arch/microblaze/mm/mmu_context.c
29
unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
arch/microblaze/mm/mmu_context.c
31
struct mm_struct *context_mm[LAST_CONTEXT+1];
arch/microblaze/mm/mmu_context.c
44
atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1);
arch/powerpc/mm/book3s32/mmu_context.c
49
static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
arch/powerpc/mm/book3s32/mmu_context.c
56
ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx);
arch/powerpc/mm/book3s32/mmu_context.c
57
if (ctx > LAST_CONTEXT)
arch/powerpc/mm/book3s32/mmu_context.c
60
next_mmu_context = (ctx + 1) & LAST_CONTEXT;
arch/powerpc/mm/nohash/mmu_context.c
102
max = LAST_CONTEXT - FIRST_CONTEXT;
arch/powerpc/mm/nohash/mmu_context.c
114
if (id > LAST_CONTEXT)
arch/powerpc/mm/nohash/mmu_context.c
155
for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) {
arch/powerpc/mm/nohash/mmu_context.c
172
nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT;
arch/powerpc/mm/nohash/mmu_context.c
247
if (id > LAST_CONTEXT)
arch/powerpc/mm/nohash/mmu_context.c
269
id = find_next_zero_bit(map, LAST_CONTEXT+1, id);
arch/powerpc/mm/nohash/mmu_context.c
270
if (id > LAST_CONTEXT)
arch/powerpc/mm/nohash/mmu_context.c
381
context_mm = memblock_alloc_or_panic(sizeof(void *) * (LAST_CONTEXT + 1),
arch/powerpc/mm/nohash/mmu_context.c
392
2 * CTX_MAP_SIZE + (sizeof(void *) * (LAST_CONTEXT + 1)),
arch/powerpc/mm/nohash/mmu_context.c
393
LAST_CONTEXT - FIRST_CONTEXT + 1);
arch/powerpc/mm/nohash/mmu_context.c
403
nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT + 1;
arch/powerpc/mm/nohash/mmu_context.c
79
(sizeof(unsigned long) * (LAST_CONTEXT / BITS_PER_LONG + 1))