Searched refs:asid_map (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/arch/arm64/mm/
H A Dcontext.c33 static unsigned long *asid_map; variable
49 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); flush_context()
68 __set_bit(asid & ~ASID_MASK, asid_map); for_each_possible_cpu()
124 if (!__test_and_set_bit(asid, asid_map)) new_context()
134 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); new_context()
144 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); new_context()
147 __set_bit(asid, asid_map); new_context()
206 asid_map = kzalloc(BITS_TO_LONGS(NUM_USER_ASIDS) * sizeof(*asid_map), asids_init()
208 if (!asid_map) asids_init()
/linux-4.4.14/arch/arm/mm/
H A Dcontext.c47 static DECLARE_BITMAP(asid_map, NUM_USER_ASIDS);
145 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); for_each_possible_cpu()
157 __set_bit(asid & ~ASID_MASK, asid_map); for_each_possible_cpu()
213 if (!__test_and_set_bit(asid, asid_map)) new_context()
226 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); new_context()
231 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); new_context()
234 __set_bit(asid, asid_map); new_context()
/linux-4.4.14/drivers/iommu/
H A Darm-smmu-v3.c590 DECLARE_BITMAP(asid_map, ARM_SMMU_MAX_ASIDS);
1437 arm_smmu_bitmap_free(smmu->asid_map, cfg->cd.asid); arm_smmu_domain_free()
1456 asid = arm_smmu_bitmap_alloc(smmu->asid_map, smmu->asid_bits); arm_smmu_domain_finalise_s1()
1475 arm_smmu_bitmap_free(smmu->asid_map, asid); arm_smmu_domain_finalise_s1()

Completed in 171 milliseconds