Lines Matching defs:iommu_fast_dvma

1335 		struct fast_dvma *iommu_fast_dvma;
1387 iommu_fast_dvma = kmem_alloc(sizeof (struct fast_dvma),
1395 iommu_fast_dvma->pagecnt = kmem_zalloc(np *
1399 iommu_fast_dvma->sync_flag = kmem_zalloc(np *
1403 iommu_fast_dvma->phys_sync_flag =
1407 iommu_fast_dvma->phys_sync_flag[i] = va_to_pa((caddr_t)
1408 &iommu_fast_dvma->sync_flag[i]);
1412 iommu_fast_dvma->ops = &iommu_dvma_ops;
1413 iommu_fast_dvma->softsp = (caddr_t)softsp;
1414 mp->dmai_nexus_private = (caddr_t)iommu_fast_dvma;
1431 struct fast_dvma *iommu_fast_dvma = (struct fast_dvma *)
1434 iommu_fast_dvma->softsp;
1463 kmem_free(iommu_fast_dvma->pagecnt, np * sizeof (uint_t));
1464 kmem_free(iommu_fast_dvma->sync_flag, np * sizeof (int));
1465 kmem_free(iommu_fast_dvma->phys_sync_flag, np *
1467 kmem_free(iommu_fast_dvma, sizeof (struct fast_dvma));
1507 struct fast_dvma *iommu_fast_dvma =
1510 iommu_fast_dvma->softsp;
1521 iommu_fast_dvma->pagecnt[index] = iommu_btopr(len + offset);
1592 struct fast_dvma *iommu_fast_dvma =
1595 iommu_fast_dvma->softsp;
1603 npages = iommu_fast_dvma->pagecnt[index];
1626 (void *)&iommu_fast_dvma->sync_flag[index],
1627 iommu_fast_dvma->phys_sync_flag[index],
1632 (int *)&iommu_fast_dvma->sync_flag[index],
1633 iommu_fast_dvma->phys_sync_flag[index]);
1644 struct fast_dvma *iommu_fast_dvma =
1647 iommu_fast_dvma->softsp;
1654 npages = iommu_fast_dvma->pagecnt[index];
1658 (void *)&iommu_fast_dvma->sync_flag[index],
1659 iommu_fast_dvma->phys_sync_flag[index]));
1662 (int *)&iommu_fast_dvma->sync_flag[index],
1663 iommu_fast_dvma->phys_sync_flag[index]);