Searched refs:iommu_pages (Results 1 – 2 of 2) sorted by relevance
47 static unsigned long iommu_pages; /* .. and in pages */ variable101 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, next_bit, in alloc_iommu()105 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, 0, in alloc_iommu()111 if (next_bit >= iommu_pages) { in alloc_iommu()751 iommu_pages = iommu_size >> PAGE_SHIFT; in gart_iommu_init()754 get_order(iommu_pages/8)); in gart_iommu_init()
48 static unsigned long kvmppc_tce_pages(unsigned long iommu_pages) in kvmppc_tce_pages() argument50 return ALIGN(iommu_pages * sizeof(u64), PAGE_SIZE) / PAGE_SIZE; in kvmppc_tce_pages()