Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/sun4v/io/px/
H A Dpx_lib4v.c435 pages_t ttes_mapped = 0; in px_lib_iommu_map() local
460 while ((ttes_mapped = pfn_p - pfns) < pages) { in px_lib_iommu_map()
468 for (ttes2map = MIN(ttes2map, pages - ttes_mapped); ttes2map; in px_lib_iommu_map()
469 ttes2map -= ttes_mapped, pfn_p += ttes_mapped) { in px_lib_iommu_map()
471 ttes_mapped = 0; in px_lib_iommu_map()
476 &ttes_mapped)) != H_EOK) { in px_lib_iommu_map()
480 ttes_mapped = pfn_p - pfns; in px_lib_iommu_map()
490 ttes_mapped); in px_lib_iommu_map()
495 if ((err == DDI_FAILURE) && ttes_mapped) in px_lib_iommu_map()
496 (void) px_lib_iommu_demap(dip, tsbid, ttes_mapped); in px_lib_iommu_map()