Home
last modified time | relevance | path

Searched refs:it_map (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/arch/powerpc/kernel/
Diommu.c246 n = iommu_area_alloc(tbl->it_map, limit, start, npages, tbl->it_offset, in iommu_range_alloc()
401 bitmap_clear(tbl->it_map, free_entry, npages); in __iommu_free()
619 __set_bit(index, tbl->it_map); in iommu_table_clear()
630 __clear_bit(index, tbl->it_map); in iommu_table_clear()
648 set_bit(0, tbl->it_map); in iommu_table_reserve_pages()
660 set_bit(i - tbl->it_offset, tbl->it_map); in iommu_table_reserve_pages()
672 clear_bit(0, tbl->it_map); in iommu_table_release_pages()
675 clear_bit(i - tbl->it_offset, tbl->it_map); in iommu_table_release_pages()
699 tbl->it_map = page_address(page); in iommu_init_table()
700 memset(tbl->it_map, 0, sz); in iommu_init_table()
[all …]
/Linux-v5.4/arch/x86/kernel/
Dtce_64.c108 tbl->it_map = (unsigned long*)bmppages; in tce_table_setparms()
110 memset(tbl->it_map, 0, bitmapsz); in tce_table_setparms()
Dpci-calgary_64.c209 bitmap_set(tbl->it_map, index, npages); in iommu_range_reserve()
229 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, tbl->it_hint, in iommu_range_alloc()
234 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, 0, in iommu_range_alloc()
297 bitmap_clear(tbl->it_map, entry, npages); in iommu_free()
800 free_pages((unsigned long)tbl->it_map, get_order(bitmapsz)); in calgary_free_bus()
801 tbl->it_map = NULL; in calgary_free_bus()
1293 set_bit(index, tbl->it_map); in calgary_init_bitmap_from_tce_table()
/Linux-v5.4/arch/x86/include/asm/
Dcalgary.h24 unsigned long *it_map; /* A simple allocation bitmap for now */ member
/Linux-v5.4/arch/powerpc/sysdev/
Ddart_iommu.c352 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
/Linux-v5.4/arch/powerpc/include/asm/
Diommu.h108 unsigned long *it_map; /* A simple allocation bitmap for now */ member
/Linux-v5.4/drivers/vfio/
Dvfio_iommu_spapr_tce.c1153 if (tbl->it_map) in tce_iommu_release_ownership()
1168 if (!tbl || !tbl->it_map) in tce_iommu_take_ownership()
/Linux-v5.4/arch/powerpc/platforms/cell/
Diommu.c514 __set_bit(0, window->table.it_map); in cell_iommu_setup_window()