Searched refs:boundary_size (Results 1 – 7 of 7) sorted by relevance
/arch/sparc/kernel/ |
D | iommu_common.h | 40 unsigned long boundary_size, in is_span_boundary() argument 48 return iommu_is_span_boundary(entry, nr, shift, boundary_size); in is_span_boundary()
|
/arch/alpha/kernel/ |
D | pci_iommu.c | 129 unsigned long boundary_size; in iommu_arena_find_pages() local 133 boundary_size = dma_get_seg_boundary(dev) + 1; in iommu_arena_find_pages() 134 boundary_size >>= PAGE_SHIFT; in iommu_arena_find_pages() 136 boundary_size = 1UL << (32 - PAGE_SHIFT); in iommu_arena_find_pages() 147 if (!i && iommu_is_span_boundary(p, n, base, boundary_size)) { in iommu_arena_find_pages()
|
/arch/x86/kernel/ |
D | amd_gart_64.c | 98 unsigned long boundary_size; in alloc_iommu() local 103 boundary_size = ALIGN((u64)dma_get_seg_boundary(dev) + 1, in alloc_iommu() 108 size, base_index, boundary_size, align_mask); in alloc_iommu() 112 size, base_index, boundary_size, in alloc_iommu()
|
D | pci-calgary_64.c | 235 unsigned long boundary_size; in iommu_range_alloc() local 237 boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, in iommu_range_alloc() 245 npages, 0, boundary_size, 0); in iommu_range_alloc() 250 npages, 0, boundary_size, 0); in iommu_range_alloc()
|
/arch/s390/pci/ |
D | pci_dma.c | 248 unsigned long boundary_size; in __dma_alloc_iommu() local 250 boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, in __dma_alloc_iommu() 254 boundary_size, 0); in __dma_alloc_iommu()
|
/arch/powerpc/kernel/ |
D | iommu.c | 187 unsigned long boundary_size; in iommu_range_alloc() local 252 boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, in iommu_range_alloc() 255 boundary_size = ALIGN(1UL << 32, 1 << tbl->it_page_shift); in iommu_range_alloc() 259 boundary_size >> tbl->it_page_shift, align_mask); in iommu_range_alloc()
|
/arch/ia64/hp/common/ |
D | sba_iommu.c | 489 unsigned long boundary_size; in sba_search_bitmap() local 496 boundary_size = (unsigned long long)dma_get_seg_boundary(dev) + 1; in sba_search_bitmap() 497 boundary_size = ALIGN(boundary_size, 1ULL << iovp_shift) >> iovp_shift; in sba_search_bitmap() 558 boundary_size); in sba_search_bitmap() 584 shift, boundary_size); in sba_search_bitmap()
|