Lines Matching refs:pring
612 struct lpfc_sli_ring *pring; in lpfc_work_done() local
691 pring = lpfc_phba_elsring(phba); in lpfc_work_done()
694 if (pring && (status & HA_RXMASK || in lpfc_work_done()
695 pring->flag & LPFC_DEFERRED_RING_EVENT || in lpfc_work_done()
697 if (pring->flag & LPFC_STOP_IOCB_EVENT) { in lpfc_work_done()
698 pring->flag |= LPFC_DEFERRED_RING_EVENT; in lpfc_work_done()
705 pring->flag &= ~LPFC_DEFERRED_RING_EVENT; in lpfc_work_done()
706 lpfc_sli_handle_slow_ring_event(phba, pring, in lpfc_work_done()
3320 struct lpfc_sli_ring *pring; in lpfc_mbx_cmpl_read_topology() local
3326 pring = lpfc_phba_elsring(phba); in lpfc_mbx_cmpl_read_topology()
3327 if (pring) in lpfc_mbx_cmpl_read_topology()
3328 pring->flag &= ~LPFC_STOP_IOCB_EVENT; in lpfc_mbx_cmpl_read_topology()
4574 struct lpfc_sli_ring *pring, in lpfc_check_sli_ndlp() argument
4584 if (pring->ringno == LPFC_ELS_RING) { in lpfc_check_sli_ndlp()
4596 } else if (pring->ringno == LPFC_FCP_RING) { in lpfc_check_sli_ndlp()
4611 struct lpfc_nodelist *ndlp, struct lpfc_sli_ring *pring, in __lpfc_dequeue_nport_iocbs() argument
4616 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, list) { in __lpfc_dequeue_nport_iocbs()
4618 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) in __lpfc_dequeue_nport_iocbs()
4642 struct lpfc_sli_ring *pring; in lpfc_sli4_dequeue_nport_iocbs() local
4647 pring = qp->pring; in lpfc_sli4_dequeue_nport_iocbs()
4648 if (!pring) in lpfc_sli4_dequeue_nport_iocbs()
4650 spin_lock(&pring->ring_lock); in lpfc_sli4_dequeue_nport_iocbs()
4651 __lpfc_dequeue_nport_iocbs(phba, ndlp, pring, dequeue_list); in lpfc_sli4_dequeue_nport_iocbs()
4652 spin_unlock(&pring->ring_lock); in lpfc_sli4_dequeue_nport_iocbs()
5434 struct lpfc_sli_ring *pring; in lpfc_free_tx() local
5437 pring = lpfc_phba_elsring(phba); in lpfc_free_tx()
5438 if (unlikely(!pring)) in lpfc_free_tx()
5445 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, list) { in lpfc_free_tx()
5458 list_for_each_entry_safe(iocb, next_iocb, &pring->txcmplq, list) { in lpfc_free_tx()
5465 lpfc_sli_issue_abort_iotag(phba, pring, iocb); in lpfc_free_tx()