Home
last modified time | relevance | path

Searched refs:iommu_pages (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/x86/kernel/
Damd_gart_64.c47 static unsigned long iommu_pages; /* .. and in pages */ variable
101 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()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_64_vio.c48 static unsigned long kvmppc_tce_pages(unsigned long iommu_pages) in kvmppc_tce_pages() argument
50 return ALIGN(iommu_pages * sizeof(u64), PAGE_SIZE) / PAGE_SIZE; in kvmppc_tce_pages()