Lines Matching refs:pring

956 	struct lpfc_sli_ring *pring;  in lpfc_hba_free_post_buf()  local
965 pring = &psli->sli3_ring[LPFC_ELS_RING]; in lpfc_hba_free_post_buf()
967 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
979 pring->postbufq_cnt -= count; in lpfc_hba_free_post_buf()
999 struct lpfc_sli_ring *pring; in lpfc_hba_clean_txcmplq() local
1006 pring = &psli->sli3_ring[i]; in lpfc_hba_clean_txcmplq()
1012 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
1013 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
1016 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
1024 pring = qp->pring; in lpfc_hba_clean_txcmplq()
1025 if (!pring) in lpfc_hba_clean_txcmplq()
1027 spin_lock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
1029 &pring->txcmplq, list) in lpfc_hba_clean_txcmplq()
1031 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
1032 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
1033 spin_unlock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
1034 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
2703 lpfc_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt) in lpfc_post_buffer() argument
2709 cnt += pring->missbufcnt; in lpfc_post_buffer()
2716 pring->missbufcnt = cnt; in lpfc_post_buffer()
2729 pring->missbufcnt = cnt; in lpfc_post_buffer()
2745 pring->missbufcnt = cnt; in lpfc_post_buffer()
2770 if (lpfc_sli_issue_iocb(phba, pring->ringno, iocb, 0) == in lpfc_post_buffer()
2781 pring->missbufcnt = cnt; in lpfc_post_buffer()
2784 lpfc_sli_ringpostbuf_put(phba, pring, mp1); in lpfc_post_buffer()
2786 lpfc_sli_ringpostbuf_put(phba, pring, mp2); in lpfc_post_buffer()
2788 pring->missbufcnt = 0; in lpfc_post_buffer()
5332 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_link_evt()
6290 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_fc_evt()
10828 struct lpfc_sli_ring *pring; in lpfc_create_wq_cq() local
10868 pring = wq->pring; in lpfc_create_wq_cq()
10869 pring->sli.sli4.wqp = (void *)wq; in lpfc_create_wq_cq()
10870 cq->pring = pring; in lpfc_create_wq_cq()