Searched refs:hrrq (Results 1 – 2 of 2) sorted by relevance
696 struct ipr_cmnd *__ipr_get_free_ipr_cmnd(struct ipr_hrr_queue *hrrq) in __ipr_get_free_ipr_cmnd() argument700 if (likely(!list_empty(&hrrq->hrrq_free_q))) { in __ipr_get_free_ipr_cmnd()701 ipr_cmd = list_entry(hrrq->hrrq_free_q.next, in __ipr_get_free_ipr_cmnd()721 __ipr_get_free_ipr_cmnd(&ioa_cfg->hrrq[IPR_INIT_HRRQ]); in ipr_get_free_ipr_cmnd()745 spin_lock(&ioa_cfg->hrrq[i]._lock); in ipr_mask_and_clear_interrupts()746 ioa_cfg->hrrq[i].allow_interrupts = 0; in ipr_mask_and_clear_interrupts()747 spin_unlock(&ioa_cfg->hrrq[i]._lock); in ipr_mask_and_clear_interrupts()829 list_add_tail(&ipr_cmd->queue, &ipr_cmd->hrrq->hrrq_free_q); in __ipr_sata_eh_done()844 struct ipr_hrr_queue *hrrq = ipr_cmd->hrrq; in ipr_sata_eh_done() local847 spin_lock_irqsave(&hrrq->_lock, hrrq_flags); in ipr_sata_eh_done()[all …]
1102 #define for_each_hrrq(hrrq, ioa_cfg) \ argument1103 for (hrrq = (ioa_cfg)->hrrq; \1104 hrrq < ((ioa_cfg)->hrrq + (ioa_cfg)->hrrq_num); hrrq++)1537 struct ipr_hrr_queue hrrq[IPR_MAX_HRRQ_NUM]; member1637 struct ipr_hrr_queue *hrrq; member