Lines Matching refs:pring
909 struct lpfc_sli_ring *pring; in lpfc_hba_free_post_buf() local
918 pring = &psli->sli3_ring[LPFC_ELS_RING]; in lpfc_hba_free_post_buf()
920 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
932 pring->postbufq_cnt -= count; in lpfc_hba_free_post_buf()
952 struct lpfc_sli_ring *pring; in lpfc_hba_clean_txcmplq() local
959 pring = &psli->sli3_ring[i]; in lpfc_hba_clean_txcmplq()
965 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
966 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
969 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
977 pring = qp->pring; in lpfc_hba_clean_txcmplq()
978 if (!pring) in lpfc_hba_clean_txcmplq()
980 spin_lock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
982 &pring->txcmplq, list) in lpfc_hba_clean_txcmplq()
984 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
985 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
986 spin_unlock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
987 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
2594 lpfc_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt) in lpfc_post_buffer() argument
2600 cnt += pring->missbufcnt; in lpfc_post_buffer()
2607 pring->missbufcnt = cnt; in lpfc_post_buffer()
2620 pring->missbufcnt = cnt; in lpfc_post_buffer()
2636 pring->missbufcnt = cnt; in lpfc_post_buffer()
2661 if (lpfc_sli_issue_iocb(phba, pring->ringno, iocb, 0) == in lpfc_post_buffer()
2672 pring->missbufcnt = cnt; in lpfc_post_buffer()
2675 lpfc_sli_ringpostbuf_put(phba, pring, mp1); in lpfc_post_buffer()
2677 lpfc_sli_ringpostbuf_put(phba, pring, mp2); in lpfc_post_buffer()
2679 pring->missbufcnt = 0; in lpfc_post_buffer()
5014 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_link_evt()
5318 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_fc_evt()
9467 struct lpfc_sli_ring *pring; in lpfc_create_wq_cq() local
9507 pring = wq->pring; in lpfc_create_wq_cq()
9508 pring->sli.sli4.wqp = (void *)wq; in lpfc_create_wq_cq()
9509 cq->pring = pring; in lpfc_create_wq_cq()