Lines Matching refs:pring

917 	struct lpfc_sli_ring *pring;  in lpfc_hba_free_post_buf()  local
926 pring = &psli->sli3_ring[LPFC_ELS_RING]; in lpfc_hba_free_post_buf()
928 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
940 pring->postbufq_cnt -= count; in lpfc_hba_free_post_buf()
960 struct lpfc_sli_ring *pring; in lpfc_hba_clean_txcmplq() local
967 pring = &psli->sli3_ring[i]; in lpfc_hba_clean_txcmplq()
973 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
974 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
977 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
985 pring = qp->pring; in lpfc_hba_clean_txcmplq()
986 if (!pring) in lpfc_hba_clean_txcmplq()
988 spin_lock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
990 &pring->txcmplq, list) in lpfc_hba_clean_txcmplq()
992 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq()
993 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
994 spin_unlock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
995 lpfc_sli_abort_iocb_ring(phba, pring); in lpfc_hba_clean_txcmplq()
2544 lpfc_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt) in lpfc_post_buffer() argument
2550 cnt += pring->missbufcnt; in lpfc_post_buffer()
2557 pring->missbufcnt = cnt; in lpfc_post_buffer()
2570 pring->missbufcnt = cnt; in lpfc_post_buffer()
2586 pring->missbufcnt = cnt; in lpfc_post_buffer()
2611 if (lpfc_sli_issue_iocb(phba, pring->ringno, iocb, 0) == in lpfc_post_buffer()
2622 pring->missbufcnt = cnt; in lpfc_post_buffer()
2625 lpfc_sli_ringpostbuf_put(phba, pring, mp1); in lpfc_post_buffer()
2627 lpfc_sli_ringpostbuf_put(phba, pring, mp2); in lpfc_post_buffer()
2629 pring->missbufcnt = 0; in lpfc_post_buffer()
4521 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_link_evt()
4683 phba->sli4_hba.els_wq->pring->flag |= LPFC_STOP_IOCB_EVENT; in lpfc_sli4_async_fc_evt()
8690 struct lpfc_sli_ring *pring; in lpfc_create_wq_cq() local
8732 pring = wq->pring; in lpfc_create_wq_cq()
8733 pring->sli.sli4.wqp = (void *)wq; in lpfc_create_wq_cq()
8734 cq->pring = pring; in lpfc_create_wq_cq()
12444 struct lpfc_sli_ring *pring; in lpfc_fof_queue_setup() local
12464 pring = phba->sli4_hba.oas_wq->pring; in lpfc_fof_queue_setup()
12465 pring->sli.sli4.wqp = in lpfc_fof_queue_setup()
12467 phba->sli4_hba.oas_cq->pring = pring; in lpfc_fof_queue_setup()