Searched refs:context_map (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/mm/ |
D | mmu_context_hash32.c | 62 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable 68 while (test_and_set_bit(ctx, context_map)) { in __init_new_context() 69 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context() 94 clear_bit(ctx, context_map); in __destroy_context() 117 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
|
D | mmu_context_nohash.c | 57 static unsigned long *context_map; variable 168 int used = test_bit(id, context_map); in context_check_map() 185 if (first_context > 0 && !test_bit(0, context_map)) in context_check_map() 230 map = context_map; in switch_mmu_context() 319 __clear_bit(id, context_map); in destroy_context() 438 context_map = alloc_bootmem(CTX_MAP_SIZE); in mmu_context_init() 459 context_map[0] = (1 << first_context) - 1; in mmu_context_init()
|
/arch/microblaze/include/asm/ |
D | mmu_context_mm.h | 60 extern unsigned long context_map[]; 90 while (test_and_set_bit(ctx, context_map)) { in get_mmu_context() 91 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context() 111 clear_bit(mm->context, context_map); in destroy_context()
|
/arch/microblaze/mm/ |
D | mmu_context.c | 34 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable 47 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
|
/arch/m68k/include/asm/ |
D | mmu_context.h | 23 extern unsigned long context_map[]; 41 while (test_and_set_bit(ctx, context_map)) { in get_mmu_context() 42 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context() 62 clear_bit(mm->context, context_map); in destroy_context()
|
/arch/m68k/mm/ |
D | mcfmmu.c | 27 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable 169 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
|