Lines Matching refs:it_map
45 *val = bitmap_weight(tbl->it_map, tbl->it_size); in iommu_debugfs_weight_get()
276 n = iommu_area_alloc(tbl->it_map, limit, start, npages, tbl->it_offset, in iommu_range_alloc()
441 bitmap_clear(tbl->it_map, free_entry, npages); in __iommu_free()
657 __set_bit(index, tbl->it_map); in iommu_table_clear()
668 __clear_bit(index, tbl->it_map); in iommu_table_clear()
686 set_bit(0, tbl->it_map); in iommu_table_reserve_pages()
705 set_bit(i - tbl->it_offset, tbl->it_map); in iommu_table_reserve_pages()
725 tbl->it_map = vzalloc_node(sz, nid); in iommu_init_table()
726 if (!tbl->it_map) { in iommu_init_table()
779 return find_next_bit(tbl->it_map, tbl->it_size, start) != tbl->it_size; in iommu_table_in_use()
782 if (find_next_bit(tbl->it_map, end, start) != end) in iommu_table_in_use()
787 return find_next_bit(tbl->it_map, end, start) != end; in iommu_table_in_use()
799 if (!tbl->it_map) { in iommu_table_free()
811 vfree(tbl->it_map); in iommu_table_free()
1112 memset(tbl->it_map, 0xff, sz); in iommu_take_ownership()
1131 memset(tbl->it_map, 0, sz); in iommu_release_ownership()