Searched refs:it_size (Results 1 – 15 of 15) sorted by relevance
/linux-4.1.27/arch/powerpc/kernel/ |
D | iommu.c | 357 if (((free_entry + npages) > tbl->it_size) || in iommu_free_check() 365 printk(KERN_INFO "\tsize = 0x%llx\n", (u64)tbl->it_size); in iommu_free_check() 616 ppc_md.tce_free(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear() 625 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear() 636 if ((tbl->it_size - tcecount) < KDUMP_MIN_TCE_ENTRIES) { in iommu_table_clear() 640 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear() 641 index < tbl->it_size; index++) in iommu_table_clear() 661 sz = BITS_TO_LONGS(tbl->it_size) * sizeof(unsigned long); in iommu_init_table() 678 if ((tbl->it_size << tbl->it_page_shift) >= (1UL * 1024 * 1024 * 1024)) in iommu_init_table() 684 tbl->poolsize = (tbl->it_size * 3 / 4) / tbl->nr_pools; in iommu_init_table() [all …]
|
D | dma-iommu.c | 102 mask = 1ULL < (fls_long(tbl->it_offset + tbl->it_size) - 1); in dma_iommu_get_required_mask()
|
D | vio.c | 1192 tbl->it_size = size >> tbl->it_page_shift; in vio_build_iommu_table()
|
/linux-4.1.27/arch/x86/kernel/ |
D | tce_64.c | 107 tbl->it_size = table_size_to_number_of_entries(specified_table_size); in tce_table_setparms() 113 bitmapsz = tbl->it_size / BITS_PER_BYTE; in tce_table_setparms()
|
D | pci-calgary_64.c | 213 if (index >= tbl->it_size) in iommu_range_reserve() 217 if (end > tbl->it_size) /* don't go off the table */ in iommu_range_reserve() 218 end = tbl->it_size; in iommu_range_reserve() 242 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, tbl->it_hint, in iommu_range_alloc() 247 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, 0, in iommu_range_alloc() 260 BUG_ON(tbl->it_hint > tbl->it_size); in iommu_range_alloc() 307 BUG_ON(entry + npages > tbl->it_size); in iommu_free() 772 tce_free(tbl, 0, tbl->it_size); in calgary_setup_tar() 817 bitmapsz = tbl->it_size / BITS_PER_BYTE; in calgary_free_bus() 1312 for (index = 0 ; index < tbl->it_size; index++) { in calgary_init_bitmap_from_tce_table()
|
/linux-4.1.27/drivers/vfio/ |
D | vfio_iommu_spapr_tce.c | 84 npages = (tbl->it_size << IOMMU_PAGE_SHIFT_4K) >> PAGE_SHIFT; in tce_iommu_enable() 112 current->mm->locked_vm -= (container->tbl->it_size << in tce_iommu_disable() 187 info.dma32_window_size = tbl->it_size << IOMMU_PAGE_SHIFT_4K; in tce_iommu_ioctl()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | calgary.h | 42 unsigned int it_size; /* Size of iommu table in entries */ member
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | dart_iommu.c | 294 iommu_table_dart.it_size = dart_tablesize / sizeof(u32); in iommu_table_dart_setup() 306 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | iommu.h | 66 unsigned long it_size; /* Size of iommu table in entries */ member
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
D | iommu.c | 146 iommu_table_iobmap.it_size = in iommu_table_iobmap_setup()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | cache.c | 112 cache_info.it_size, in show_cache_info() 149 cache_info.it_size); in parisc_cache_init()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | pdc.h | 85 unsigned long it_size; /* number of entries in I-TLB */ member
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | iommu.c | 494 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window() 502 pr_debug("\tsize %ld\n", window->table.it_size); in cell_iommu_setup_window()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | iommu.c | 503 tbl->it_size = phb->dma_window_size >> tbl->it_page_shift; in iommu_table_setparms() 546 tbl->it_size = size >> tbl->it_page_shift; in iommu_table_setparms_lpar()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | pci.c | 661 tbl->it_size = tce_size >> 3; in pnv_pci_setup_iommu_table()
|