Home
last modified time | relevance | path

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

/arch/powerpc/mm/book3s32/
Dmmu_context.c56 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable
62 while (test_and_set_bit(ctx, context_map)) { in __init_new_context()
63 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
88 clear_bit(ctx, context_map); in __destroy_context()
111 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
/arch/microblaze/include/asm/
Dmmu_context_mm.h63 extern unsigned long context_map[];
93 while (test_and_set_bit(ctx, context_map)) { in get_mmu_context()
94 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()
114 clear_bit(mm->context, context_map); in destroy_context()
/arch/powerpc/mm/nohash/
Dmmu_context.c82 static unsigned long *context_map; variable
181 __clear_bit(id, context_map); in steal_all_contexts()
237 int used = test_bit(id, context_map); in context_check_map()
254 if (FIRST_CONTEXT > 0 && !test_bit(0, context_map)) in context_check_map()
303 map = context_map; in switch_mmu_context()
402 __clear_bit(id, context_map); in destroy_context()
459 context_map = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
460 if (!context_map) in mmu_context_init()
490 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
/arch/microblaze/mm/
Dmmu_context.c29 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable
42 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
/arch/m68k/include/asm/
Dmmu_context.h25 extern unsigned long context_map[];
43 while (test_and_set_bit(ctx, context_map)) { in get_mmu_context()
44 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()
64 clear_bit(mm->context, context_map); in destroy_context()
/arch/m68k/mm/
Dmcfmmu.c28 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable
200 context_map[0] = (1 << FIRST_CONTEXT) - 1; in cf_mmu_context_init()