Searched refs:context_map (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/arch/powerpc/mm/ |
H A 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)) { __init_new_context() 69 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); __init_new_context() 94 clear_bit(ctx, context_map); __destroy_context() 117 context_map[0] = (1 << FIRST_CONTEXT) - 1; mmu_context_init()
|
H A D | mmu_context_nohash.c | 59 static unsigned long *context_map; variable 155 __clear_bit(id, context_map); steal_all_contexts() 205 int used = test_bit(id, context_map); context_check_map() 222 if (first_context > 0 && !test_bit(0, context_map)) context_check_map() 267 map = context_map; switch_mmu_context() 360 __clear_bit(id, context_map); destroy_context() 465 context_map = memblock_virt_alloc(CTX_MAP_SIZE, 0); mmu_context_init() 486 context_map[0] = (1 << first_context) - 1; mmu_context_init()
|
/linux-4.4.14/arch/microblaze/mm/ |
H A D | mmu_context.c | 34 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable 47 context_map[0] = (1 << FIRST_CONTEXT) - 1; mmu_context_init()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
H A D | mmu_context_mm.h | 60 extern unsigned long context_map[]; 90 while (test_and_set_bit(ctx, context_map)) { get_mmu_context() 91 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); get_mmu_context() 111 clear_bit(mm->context, context_map); destroy_context()
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | mmu_context.h | 23 extern unsigned long context_map[]; 41 while (test_and_set_bit(ctx, context_map)) { get_mmu_context() 42 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); get_mmu_context() 62 clear_bit(mm->context, context_map); destroy_context()
|
/linux-4.4.14/arch/m68k/mm/ |
H A D | mcfmmu.c | 27 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable 165 context_map[0] = (1 << FIRST_CONTEXT) - 1; mmu_context_init()
|
/linux-4.4.14/drivers/iommu/ |
H A D | arm-smmu.c | 308 DECLARE_BITMAP(context_map, ARM_SMMU_MAX_CBS); 865 ret = __arm_smmu_alloc_bitmap(smmu->context_map, start, arm_smmu_init_domain_context() 951 __arm_smmu_free_bitmap(smmu->context_map, cfg->cbndx); arm_smmu_destroy_domain_context() 1857 if (!bitmap_empty(smmu->context_map, ARM_SMMU_MAX_CBS)) arm_smmu_device_remove()
|
Completed in 319 milliseconds