Home
last modified time | relevance | path

Searched refs:pring (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/scsi/lpfc/
A Dlpfc_sli.c1258 pring = phba->sli4_hba.nvmels_wq->pring; in __lpfc_sli_get_els_sglq()
1431 if (pring && (!list_empty(&pring->txq))) in __lpfc_sli_release_iocbq_s4()
11053 pring = wq->pring; in __lpfc_sli_issue_iocb_s4()
11520 pring = phba->sli4_hba.els_wq->pring; in lpfc_sli4_setup()
11706 pring = phba->sli4_hba.els_wq->pring; in lpfc_sli4_queue_init()
11888 pring = qp->pring; in lpfc_sli_host_down()
11981 pring = qp->pring; in lpfc_sli_hba_down()
12482 pring = qp->pring; in lpfc_sli_hba_iocb_abort()
21102 pring = wq->pring; in lpfc_drain_txq()
21354 pring = wq->pring; in lpfc_sli4_issue_wqe()
[all …]
A Dlpfc_mbox.c959 struct lpfc_sli_ring *pring; in lpfc_config_pcb_setup() local
969 pring = &psli->sli3_ring[i]; in lpfc_config_pcb_setup()
971 pring->sli.sli3.sizeCiocb = in lpfc_config_pcb_setup()
974 pring->sli.sli3.sizeRiocb = in lpfc_config_pcb_setup()
980 (pring->sli.sli3.numRiocb == 0)) { in lpfc_config_pcb_setup()
987 pring->sli.sli3.cmdringaddr = NULL; in lpfc_config_pcb_setup()
988 pring->sli.sli3.rspringaddr = NULL; in lpfc_config_pcb_setup()
1000 iocbCnt += pring->sli.sli3.numCiocb; in lpfc_config_pcb_setup()
1222 struct lpfc_sli_ring *pring; in lpfc_config_ring() local
1232 pring = &psli->sli3_ring[ring]; in lpfc_config_ring()
[all …]
A Dlpfc_nvme.c697 struct lpfc_sli_ring *pring; in __lpfc_nvme_ls_abort() local
720 pring = phba->sli4_hba.nvmels_wq->pring; in __lpfc_nvme_ls_abort()
722 spin_lock(&pring->ring_lock); in __lpfc_nvme_ls_abort()
730 spin_unlock(&pring->ring_lock); in __lpfc_nvme_ls_abort()
2154 struct lpfc_sli_ring *pring; in lpfc_nvme_lport_unreg_wait() local
2176 pring = qp->io_wq->pring; in lpfc_nvme_lport_unreg_wait()
2177 if (!pring) in lpfc_nvme_lport_unreg_wait()
2179 pending += pring->txcmplq_cnt; in lpfc_nvme_lport_unreg_wait()
2663 struct lpfc_sli_ring *pring; in lpfc_nvme_wait_for_io_drain() local
2675 pring = phba->sli4_hba.hdwq[i].io_wq->pring; in lpfc_nvme_wait_for_io_drain()
[all …]
A Dlpfc_nvmet.c1018 struct lpfc_sli_ring *pring; in lpfc_nvmet_xmt_fcp_op() local
1105 pring = wq->pring; in lpfc_nvmet_xmt_fcp_op()
1106 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
2006 struct lpfc_sli_ring *pring; in lpfc_nvmet_wqfull_flush() local
2013 pring = wq->pring; in lpfc_nvmet_wqfull_flush()
2021 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2028 spin_unlock_irqrestore(&pring->ring_lock, in lpfc_nvmet_wqfull_flush()
2053 struct lpfc_sli_ring *pring; in lpfc_nvmet_wqfull_process() local
2063 pring = wq->pring; in lpfc_nvmet_wqfull_process()
2064 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process()
[all …]
A Dlpfc_hbadisc.c857 struct lpfc_sli_ring *pring; in lpfc_work_done() local
950 pring = lpfc_phba_elsring(phba); in lpfc_work_done()
3689 struct lpfc_sli_ring *pring; in lpfc_mbx_cmpl_read_topology() local
3696 pring = lpfc_phba_elsring(phba); in lpfc_mbx_cmpl_read_topology()
3697 if (pring) in lpfc_mbx_cmpl_read_topology()
5153 struct lpfc_sli_ring *pring; in lpfc_sli4_dequeue_nport_iocbs() local
5158 pring = qp->pring; in lpfc_sli4_dequeue_nport_iocbs()
5159 if (!pring) in lpfc_sli4_dequeue_nport_iocbs()
5161 spin_lock(&pring->ring_lock); in lpfc_sli4_dequeue_nport_iocbs()
6028 struct lpfc_sli_ring *pring; in lpfc_free_tx() local
[all …]
A Dlpfc_bsg.c1014 pring, dma_addr); in lpfc_bsg_ct_unsol_event()
1057 pring, in lpfc_bsg_ct_unsol_event()
1065 pring, in lpfc_bsg_ct_unsol_event()
1692 struct lpfc_sli_ring *pring; in lpfc_bsg_diag_mode_enter() local
1723 pring = qp->pring; in lpfc_bsg_diag_mode_enter()
1724 if (!pring || (pring->ringno != LPFC_FCP_RING)) in lpfc_bsg_diag_mode_enter()
1727 &pring->ring_lock)) in lpfc_bsg_diag_mode_enter()
2940 struct lpfc_sli_ring *pring; in lpfcdiag_loop_post_rxbufs() local
2954 pring = lpfc_phba_elsring(phba); in lpfcdiag_loop_post_rxbufs()
5963 struct lpfc_sli_ring *pring; in lpfc_bsg_timeout() local
[all …]
A Dlpfc_els.c1439 struct lpfc_sli_ring *pring; in lpfc_els_abort_flogi() local
1450 if (unlikely(!pring)) in lpfc_els_abort_flogi()
8950 struct lpfc_sli_ring *pring; in lpfc_els_timeout_handler() local
8963 if (unlikely(!pring)) in lpfc_els_timeout_handler()
8971 spin_lock(&pring->ring_lock); in lpfc_els_timeout_handler()
9062 struct lpfc_sli_ring *pring; in lpfc_els_flush_cmd() local
9079 if (unlikely(!pring)) { in lpfc_els_flush_cmd()
11350 struct lpfc_sli_ring *pring; in lpfc_fabric_abort_nport() local
11354 if (unlikely(!pring)) in lpfc_fabric_abort_nport()
11455 struct lpfc_sli_ring *pring; in lpfc_sli4_els_xri_aborted() local
[all …]
A Dlpfc_nportdisc.c211 struct lpfc_sli_ring *pring; in lpfc_els_abort() local
214 pring = lpfc_phba_elsring(phba); in lpfc_els_abort()
217 if (unlikely(!pring)) in lpfc_els_abort()
236 spin_lock(&pring->ring_lock); in lpfc_els_abort()
239 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) in lpfc_els_abort()
243 spin_unlock(&pring->ring_lock); in lpfc_els_abort()
250 lpfc_sli_issue_abort_iotag(phba, pring, iocb, NULL); in lpfc_els_abort()
261 spin_lock(&pring->ring_lock); in lpfc_els_abort()
263 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, list) { in lpfc_els_abort()
265 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) { in lpfc_els_abort()
[all …]
A Dlpfc_init.c1013 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
1024 pring = qp->pring; in lpfc_hba_clean_txcmplq()
1025 if (!pring) in lpfc_hba_clean_txcmplq()
1029 &pring->txcmplq, list) in lpfc_hba_clean_txcmplq()
1032 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq()
2709 cnt += pring->missbufcnt; in lpfc_post_buffer()
2716 pring->missbufcnt = cnt; in lpfc_post_buffer()
2729 pring->missbufcnt = cnt; in lpfc_post_buffer()
2788 pring->missbufcnt = 0; in lpfc_post_buffer()
10868 pring = wq->pring; in lpfc_create_wq_cq()
[all …]
A Dlpfc_attr.c1386 struct lpfc_sli_ring *pring; in lpfc_do_offline() local
1424 pring = &psli->sli3_ring[i]; in lpfc_do_offline()
1425 if (!lpfc_emptyq_wait(phba, &pring->txcmplq, in lpfc_do_offline()
1431 pring = qp->pring; in lpfc_do_offline()
1432 if (!pring) in lpfc_do_offline()
1434 if (!lpfc_emptyq_wait(phba, &pring->txcmplq, in lpfc_do_offline()
1435 &pring->ring_lock)) in lpfc_do_offline()
3703 struct lpfc_sli_ring *pring = lpfc_phba_elsring(phba); in lpfc_txq_hw_show() local
3706 pring ? pring->txq_max : 0); in lpfc_txq_hw_show()
3717 struct lpfc_sli_ring *pring = lpfc_phba_elsring(phba); in lpfc_txcmplq_hw_show() local
[all …]
A Dlpfc_ct.c347 lpfc_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_ct_unsol_event() argument
373 lpfc_post_buffer(phba, pring, 2); in lpfc_ct_unsol_event()
390 ctiocbq->context2 = lpfc_sli_ringpostbuf_get(phba, pring, in lpfc_ct_unsol_event()
396 pring, in lpfc_ct_unsol_event()
408 if (!lpfc_bsg_ct_unsol_event(phba, pring, ctiocbq)) in lpfc_ct_unsol_event()
444 mp = lpfc_sli_ringpostbuf_get(phba, pring, in lpfc_ct_unsol_event()
450 lpfc_post_buffer(phba, pring, i); in lpfc_ct_unsol_event()
A Dlpfc.h945 (struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
1700 return phba->sli4_hba.els_wq->pring; in lpfc_phba_elsring()
A Dlpfc_debugfs.c532 txcmplq_cnt = qp->io_wq->pring->txcmplq_cnt; in lpfc_debugfs_multixripools_data()
730 struct lpfc_sli_ring *pring; in lpfc_debugfs_dumpHostSlim_data() local
764 pring = &psli->sli3_ring[i]; in lpfc_debugfs_dumpHostSlim_data()
771 pring->sli.sli3.numCiocb, in lpfc_debugfs_dumpHostSlim_data()
772 pring->sli.sli3.next_cmdidx, in lpfc_debugfs_dumpHostSlim_data()
773 pring->sli.sli3.local_getidx, in lpfc_debugfs_dumpHostSlim_data()
774 pring->flag, pgpp->rspPutInx, in lpfc_debugfs_dumpHostSlim_data()
775 pring->sli.sli3.numRiocb); in lpfc_debugfs_dumpHostSlim_data()
A Dlpfc_scsi.c505 struct lpfc_sli_ring *pring = phba->sli4_hba.els_wq->pring; in lpfc_sli4_io_xri_aborted() local
604 if (!list_empty(&pring->txq)) in lpfc_sli4_io_xri_aborted()
5895 struct lpfc_sli_ring *pring = NULL; in lpfc_abort_handler() local
5931 pring_s4 = phba->sli4_hba.hdwq[iocb->hba_wqidx].io_wq->pring; in lpfc_abort_handler()
5978 pring = &phba->sli.sli3_ring[LPFC_FCP_RING]; in lpfc_abort_handler()
5979 ret_val = lpfc_sli_issue_abort_iotag(phba, pring, iocb, in lpfc_abort_handler()
A Dlpfc_sli4.h220 struct lpfc_sli_ring *pring; /* ptr to io ring associated with q */ member
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dmlx4_en.h702 struct mlx4_en_tx_ring **pring,
706 struct mlx4_en_tx_ring **pring);
717 struct mlx4_en_rx_ring **pring,
720 struct mlx4_en_rx_ring **pring,
A Den_tx.c51 struct mlx4_en_tx_ring **pring, u32 size, in mlx4_en_create_tx_ring() argument
143 *pring = ring; in mlx4_en_create_tx_ring()
158 *pring = NULL; in mlx4_en_create_tx_ring()
163 struct mlx4_en_tx_ring **pring) in mlx4_en_destroy_tx_ring() argument
166 struct mlx4_en_tx_ring *ring = *pring; in mlx4_en_destroy_tx_ring()
180 *pring = NULL; in mlx4_en_destroy_tx_ring()
A Den_rx.c264 struct mlx4_en_rx_ring **pring, in mlx4_en_create_rx_ring() argument
311 *pring = ring; in mlx4_en_create_rx_ring()
321 *pring = NULL; in mlx4_en_create_rx_ring()
430 struct mlx4_en_rx_ring **pring, in mlx4_en_destroy_rx_ring() argument
434 struct mlx4_en_rx_ring *ring = *pring; in mlx4_en_destroy_rx_ring()
447 *pring = NULL; in mlx4_en_destroy_rx_ring()
/linux/drivers/infiniband/hw/irdma/
A Duk.c1009 struct irdma_ring *pring = NULL; in irdma_uk_cq_poll_cmpl() local
1159 pring = &qp->rq_ring; in irdma_uk_cq_poll_cmpl()
1217 pring = &qp->sq_ring; in irdma_uk_cq_poll_cmpl()
1224 if (pring && IRDMA_RING_MORE_WORK(*pring)) in irdma_uk_cq_poll_cmpl()
1245 qword3 |= FIELD_PREP(IRDMA_CQ_WQEIDX, pring->tail); in irdma_uk_cq_poll_cmpl()
/linux/Documentation/scsi/
A DChangeLog.lpfc496 * New static function lpfc_sli_next_iocb(phba, pring, &piocb) to

Completed in 163 milliseconds