Searched refs:context_map (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/mm/book3s32/ |
D | mmu_context.c | 56 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/ |
D | mmu_context_mm.h | 63 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/ |
D | mmu_context.c | 82 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/ |
D | mmu_context.c | 29 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/ |
D | mmu_context.h | 25 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/ |
D | mcfmmu.c | 28 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable 200 context_map[0] = (1 << FIRST_CONTEXT) - 1; in cf_mmu_context_init()
|