Searched refs:tsbc (Results 1 – 2 of 2) sorted by relevance
196 uint16_t tsbc; in iommu_tsb_alloc() local199 tsbc = IOMMU_TSB_COOKIE_NONE; in iommu_tsb_alloc()204 tsbc = (uint16_t)i; in iommu_tsb_alloc()213 return (tsbc); in iommu_tsb_alloc()217 iommu_tsb_free(uint16_t tsbc) in iommu_tsb_free() argument219 ASSERT(tsbc != IOMMU_TSB_COOKIE_NONE); in iommu_tsb_free()220 ASSERT(tsbc < iommu_tsb_num); in iommu_tsb_free()222 if (iommu_tsb_avail[tsbc] == 0) { in iommu_tsb_free()223 cmn_err(CE_PANIC, "iommu_tsb_free(%d): tsb not in use", tsbc); in iommu_tsb_free()225 iommu_tsb_avail[tsbc] = 0; in iommu_tsb_free()[all …]
413 uint16_t tsbc; in pci_alloc_tsb() local415 if ((tsbc = iommu_tsb_alloc(pci_p->pci_id)) == IOMMU_TSB_COOKIE_NONE) { in pci_alloc_tsb()421 pci_p->pci_tsb_cookie = tsbc; in pci_alloc_tsb()