Lines Matching refs:it_map
46 *val = bitmap_weight(tbl->it_map, tbl->it_size); in iommu_debugfs_weight_get()
288 n = iommu_area_alloc(tbl->it_map, limit, start, npages, tbl->it_offset, in iommu_range_alloc()
453 bitmap_clear(tbl->it_map, free_entry, npages); in __iommu_free()
669 __set_bit(index, tbl->it_map); in iommu_table_clear()
680 __clear_bit(index, tbl->it_map); in iommu_table_clear()
698 set_bit(0, tbl->it_map); in iommu_table_reserve_pages()
717 set_bit(i - tbl->it_offset, tbl->it_map); in iommu_table_reserve_pages()
737 tbl->it_map = vzalloc_node(sz, nid); in iommu_init_table()
738 if (!tbl->it_map) { in iommu_init_table()
791 return find_next_bit(tbl->it_map, tbl->it_size, start) != tbl->it_size; in iommu_table_in_use()
794 if (find_next_bit(tbl->it_map, end, start) != end) in iommu_table_in_use()
799 return find_next_bit(tbl->it_map, end, start) != end; in iommu_table_in_use()
811 if (!tbl->it_map) { in iommu_table_free()
823 vfree(tbl->it_map); in iommu_table_free()
1128 memset(tbl->it_map, 0xff, sz); in iommu_take_ownership()
1146 memset(tbl->it_map, 0, sz); in iommu_release_ownership()
1241 if (!tbl || !tbl->it_map) in spapr_tce_take_ownership()
1266 if (tbl->it_map) in spapr_tce_release_ownership()