Home
last modified time | relevance | path

Searched refs:boundary_size (Results 1 – 7 of 7) sorted by relevance

/arch/sparc/kernel/
Diommu_common.h40 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/
Dpci_iommu.c129 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/
Damd_gart_64.c98 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()
Dpci-calgary_64.c235 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/
Dpci_dma.c248 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/
Diommu.c187 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/
Dsba_iommu.c489 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()