Lines Matching refs:pring
623 struct lpfc_sli_ring *pring; in lpfc_work_done() local
706 pring = lpfc_phba_elsring(phba); in lpfc_work_done()
709 if (pring && (status & HA_RXMASK || in lpfc_work_done()
710 pring->flag & LPFC_DEFERRED_RING_EVENT || in lpfc_work_done()
712 if (pring->flag & LPFC_STOP_IOCB_EVENT) { in lpfc_work_done()
713 pring->flag |= LPFC_DEFERRED_RING_EVENT; in lpfc_work_done()
723 pring->flag &= ~LPFC_DEFERRED_RING_EVENT; in lpfc_work_done()
724 lpfc_sli_handle_slow_ring_event(phba, pring, in lpfc_work_done()
3434 struct lpfc_sli_ring *pring; in lpfc_mbx_cmpl_read_topology() local
3441 pring = lpfc_phba_elsring(phba); in lpfc_mbx_cmpl_read_topology()
3442 if (pring) in lpfc_mbx_cmpl_read_topology()
3443 pring->flag &= ~LPFC_STOP_IOCB_EVENT; in lpfc_mbx_cmpl_read_topology()
4760 struct lpfc_sli_ring *pring, in lpfc_check_sli_ndlp() argument
4770 if (pring->ringno == LPFC_ELS_RING) { in lpfc_check_sli_ndlp()
4784 } else if (pring->ringno == LPFC_FCP_RING) { in lpfc_check_sli_ndlp()
4799 struct lpfc_nodelist *ndlp, struct lpfc_sli_ring *pring, in __lpfc_dequeue_nport_iocbs() argument
4804 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, list) { in __lpfc_dequeue_nport_iocbs()
4806 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) in __lpfc_dequeue_nport_iocbs()
4830 struct lpfc_sli_ring *pring; in lpfc_sli4_dequeue_nport_iocbs() local
4835 pring = qp->pring; in lpfc_sli4_dequeue_nport_iocbs()
4836 if (!pring) in lpfc_sli4_dequeue_nport_iocbs()
4838 spin_lock(&pring->ring_lock); in lpfc_sli4_dequeue_nport_iocbs()
4839 __lpfc_dequeue_nport_iocbs(phba, ndlp, pring, dequeue_list); in lpfc_sli4_dequeue_nport_iocbs()
4840 spin_unlock(&pring->ring_lock); in lpfc_sli4_dequeue_nport_iocbs()
5815 struct lpfc_sli_ring *pring; in lpfc_free_tx() local
5817 pring = lpfc_phba_elsring(phba); in lpfc_free_tx()
5818 if (unlikely(!pring)) in lpfc_free_tx()
5825 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, list) { in lpfc_free_tx()
5838 list_for_each_entry_safe(iocb, next_iocb, &pring->txcmplq, list) { in lpfc_free_tx()
5845 lpfc_sli_issue_abort_iotag(phba, pring, iocb); in lpfc_free_tx()