Lines Matching refs:desc_status
1161 kfree(iommu->qi->desc_status); in free_iommu()
1177 while (qi->desc_status[qi->free_tail] == QI_DONE || in reclaim_free_desc()
1178 qi->desc_status[qi->free_tail] == QI_ABORT) { in reclaim_free_desc()
1179 qi->desc_status[qi->free_tail] = QI_FREE; in reclaim_free_desc()
1249 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1294 if (qi->desc_status[head] == QI_IN_USE) in qi_check_fault()
1295 qi->desc_status[head] = QI_ABORT; in qi_check_fault()
1299 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1371 qi->desc_status[(index + i) % QI_LENGTH] = QI_IN_USE; in qi_submit_sync()
1375 qi->desc_status[wait_index] = QI_IN_USE; in qi_submit_sync()
1381 wait_desc.qw1 = virt_to_phys(&qi->desc_status[wait_index]); in qi_submit_sync()
1397 while (qi->desc_status[wait_index] != QI_DONE) { in qi_submit_sync()
1415 qi->desc_status[(index + i) % QI_LENGTH] = QI_DONE; in qi_submit_sync()
1719 qi->desc_status = kcalloc(QI_LENGTH, sizeof(int), GFP_ATOMIC); in dmar_enable_qi()
1720 if (!qi->desc_status) { in dmar_enable_qi()