Searched refs:context_map (Results 1 – 12 of 12) sorted by relevance
/linux/arch/powerpc/mm/book3s32/ |
H A D | mmu_context.c | 49 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable 55 while (test_and_set_bit(ctx, context_map)) { in __init_new_context() 56 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context() 87 clear_bit(ctx, context_map); in __destroy_context() 110 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
|
/linux/arch/powerpc/mm/nohash/ |
H A D | mmu_context.c | 73 static unsigned long *context_map; variable 163 __clear_bit(id, context_map); in steal_all_contexts() 257 map = context_map; in switch_mmu_context() 339 __clear_bit(id, context_map); in destroy_context() 388 context_map = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init() 389 if (!context_map) in mmu_context_init() 419 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
|
/linux/arch/microblaze/include/asm/ |
H A D | mmu_context_mm.h | 56 extern unsigned long context_map[]; 86 while (test_and_set_bit(ctx, context_map)) { in get_mmu_context() 87 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context() 108 clear_bit(mm->context, context_map); in destroy_context()
|
/linux/arch/microblaze/mm/ |
H A 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()
|
/linux/arch/m68k/include/asm/ |
H A D | mmu_context.h | 21 extern unsigned long context_map[]; 39 while (test_and_set_bit(ctx, context_map)) { in get_mmu_context() 40 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context() 61 clear_bit(mm->context, context_map); in destroy_context()
|
/linux/drivers/iommu/ |
H A D | msm_iommu.h | 58 DECLARE_BITMAP(context_map, IOMMU_MAX_CBS);
|
H A D | msm_iommu.c | 422 msm_iommu_alloc_ctx(iommu->context_map, in msm_iommu_attach_dev() 466 msm_iommu_free_ctx(iommu->context_map, master->num); in msm_iommu_identity_attach()
|
/linux/arch/m68k/mm/ |
H A D | mcfmmu.c | 28 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable 201 context_map[0] = (1 << FIRST_CONTEXT) - 1; in cf_mmu_context_init()
|
/linux/drivers/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.c | 172 struct idr context_map; member 202 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context() 220 return idr_find(&instance->context_map, handle); in lookup_msg_context() 229 idr_remove(&instance->context_map, msg_context->handle); in release_msg_context() 1848 idr_destroy(&instance->context_map); in vchiq_mmal_finalise() 1911 idr_init_base(&instance->context_map, 1); in vchiq_mmal_init()
|
/linux/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu-qcom.c | 197 return __arm_smmu_alloc_bitmap(smmu->context_map, start, count); in qcom_adreno_smmu_alloc_context_bank() 328 set_bit(qsmmu->bypass_cbndx, smmu->context_map); in qcom_smmu_cfg_probe()
|
H A D | arm-smmu.c | 662 return __arm_smmu_alloc_bitmap(smmu->context_map, start, smmu->num_context_banks); in arm_smmu_alloc_context_bank() 871 __arm_smmu_free_bitmap(smmu->context_map, cfg->cbndx); in arm_smmu_init_domain_context() 904 __arm_smmu_free_bitmap(smmu->context_map, cfg->cbndx); in arm_smmu_destroy_domain_context() 2276 if (!bitmap_empty(smmu->context_map, ARM_SMMU_MAX_CBS)) in arm_smmu_device_shutdown()
|
H A D | arm-smmu.h | 316 DECLARE_BITMAP(context_map, ARM_SMMU_MAX_CBS);
|