Lines Matching refs:pring
966 struct lpfc_sli_ring *pring; in lpfc_hba_free_post_buf() local
975 pring = &psli->sli3_ring[LPFC_ELS_RING]; in lpfc_hba_free_post_buf()
977 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
989 pring->postbufq_cnt -= count; in lpfc_hba_free_post_buf()
1009 struct lpfc_sli_ring *pring; in lpfc_hba_clean_txcmplq() local
1016 pring = &psli->sli3_ring[i]; in lpfc_hba_clean_txcmplq()
1022 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
1023 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
1026 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
1034 pring = qp->pring; in lpfc_hba_clean_txcmplq()
1035 if (!pring) in lpfc_hba_clean_txcmplq()
1037 spin_lock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
1039 &pring->txcmplq, list) in lpfc_hba_clean_txcmplq()
1041 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
1042 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
1043 spin_unlock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
1044 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
2791 lpfc_sli3_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt) in lpfc_sli3_post_buffer() argument
2797 cnt += pring->missbufcnt; in lpfc_sli3_post_buffer()
2804 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer()
2817 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer()
2833 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer()
2858 if (lpfc_sli_issue_iocb(phba, pring->ringno, iocb, 0) == in lpfc_sli3_post_buffer()
2869 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer()
2872 lpfc_sli_ringpostbuf_put(phba, pring, mp1); in lpfc_sli3_post_buffer()
2874 lpfc_sli_ringpostbuf_put(phba, pring, mp2); in lpfc_sli3_post_buffer()
2876 pring->missbufcnt = 0; in lpfc_sli3_post_buffer()
5427 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_link_evt()
6350 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_fc_evt()
10956 struct lpfc_sli_ring *pring; in lpfc_create_wq_cq() local
10996 pring = wq->pring; in lpfc_create_wq_cq()
10997 pring->sli.sli4.wqp = (void *)wq; in lpfc_create_wq_cq()
10998 cq->pring = pring; in lpfc_create_wq_cq()