Lines Matching refs:bitmaps
1122 start = bitmap_find_next_zero_area(mapping->bitmaps[i], in __alloc_iova()
1128 bitmap_set(mapping->bitmaps[i], start, count); in __alloc_iova()
1143 start = bitmap_find_next_zero_area(mapping->bitmaps[i], in __alloc_iova()
1151 bitmap_set(mapping->bitmaps[i], start, count); in __alloc_iova()
1192 bitmap_clear(mapping->bitmaps[bitmap_index], start, count); in __free_iova()
2068 mapping->bitmaps = kcalloc(extensions, sizeof(unsigned long *), in arm_iommu_create_mapping()
2070 if (!mapping->bitmaps) in arm_iommu_create_mapping()
2073 mapping->bitmaps[0] = kzalloc(bitmap_size, GFP_KERNEL); in arm_iommu_create_mapping()
2074 if (!mapping->bitmaps[0]) in arm_iommu_create_mapping()
2091 kfree(mapping->bitmaps[0]); in arm_iommu_create_mapping()
2093 kfree(mapping->bitmaps); in arm_iommu_create_mapping()
2109 kfree(mapping->bitmaps[i]); in release_iommu_mapping()
2110 kfree(mapping->bitmaps); in release_iommu_mapping()
2122 mapping->bitmaps[next_bitmap] = kzalloc(mapping->bitmap_size, in extend_iommu_mapping()
2124 if (!mapping->bitmaps[next_bitmap]) in extend_iommu_mapping()