Searched refs:ioptex (Results 1 – 1 of 1) sorted by relevance
181 int ioptex; in iommu_get_one() local187 ioptex = bit_map_string_get(&iommu->usemap, npages, page_to_pfn(page)); in iommu_get_one()188 if (ioptex < 0) in iommu_get_one()190 busa0 = iommu->start + (ioptex << PAGE_SHIFT); in iommu_get_one()191 iopte0 = &iommu->page_table[ioptex]; in iommu_get_one()287 int ioptex; in iommu_release_one() local291 ioptex = (busa - iommu->start) >> PAGE_SHIFT; in iommu_release_one()293 iopte_val(iommu->page_table[ioptex + i]) = 0; in iommu_release_one()297 bit_map_clear(&iommu->usemap, ioptex, npages); in iommu_release_one()332 int ioptex; in iommu_map_dma_area() local[all …]