Lines Matching refs:pring

968 	struct lpfc_sli_ring *pring;  in lpfc_hba_free_post_buf()  local
977 pring = &psli->sli3_ring[LPFC_ELS_RING]; in lpfc_hba_free_post_buf()
979 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
991 pring->postbufq_cnt -= count; in lpfc_hba_free_post_buf()
1011 struct lpfc_sli_ring *pring; in lpfc_hba_clean_txcmplq() local
1018 pring = &psli->sli3_ring[i]; in lpfc_hba_clean_txcmplq()
1024 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
1025 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
1028 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
1036 pring = qp->pring; in lpfc_hba_clean_txcmplq()
1037 if (!pring) in lpfc_hba_clean_txcmplq()
1039 spin_lock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
1041 &pring->txcmplq, list) in lpfc_hba_clean_txcmplq()
1043 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
1044 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
1045 spin_unlock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
1046 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
2793 lpfc_sli3_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt) in lpfc_sli3_post_buffer() argument
2799 cnt += pring->missbufcnt; in lpfc_sli3_post_buffer()
2806 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer()
2819 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer()
2835 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer()
2860 if (lpfc_sli_issue_iocb(phba, pring->ringno, iocb, 0) == in lpfc_sli3_post_buffer()
2871 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer()
2874 lpfc_sli_ringpostbuf_put(phba, pring, mp1); in lpfc_sli3_post_buffer()
2876 lpfc_sli_ringpostbuf_put(phba, pring, mp2); in lpfc_sli3_post_buffer()
2878 pring->missbufcnt = 0; in lpfc_sli3_post_buffer()
5444 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_link_evt()
6337 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_fc_evt()
10959 struct lpfc_sli_ring *pring; in lpfc_create_wq_cq() local
10999 pring = wq->pring; in lpfc_create_wq_cq()
11000 pring->sli.sli4.wqp = (void *)wq; in lpfc_create_wq_cq()
11001 cq->pring = pring; in lpfc_create_wq_cq()