| /linux-6.15/drivers/scsi/lpfc/ |
| H A D | lpfc_sli.c | 1424 if (pring && (!list_empty(&pring->txq))) in __lpfc_sli_release_iocbq_s4() 10663 pring = wq->pring; in __lpfc_sli_issue_iocb_s4() 11582 pring = phba->sli4_hba.els_wq->pring; in lpfc_sli4_setup() 11660 pring->fast_iotag = pring->iotag_max; in lpfc_sli_setup() 11768 pring = phba->sli4_hba.els_wq->pring; in lpfc_sli4_queue_init() 11950 pring = qp->pring; in lpfc_sli_host_down() 12043 pring = qp->pring; in lpfc_sli_hba_down() 12553 pring = qp->pring; in lpfc_sli_hba_iocb_abort() 21162 pring = wq->pring; in lpfc_drain_txq() 21403 pring = wq->pring; in lpfc_sli4_issue_wqe() [all …]
|
| H A D | lpfc_nvme.c | 733 pring = phba->sli4_hba.nvmels_wq->pring; in __lpfc_nvme_ls_abort() 2253 pring = qp->io_wq->pring; in lpfc_nvme_lport_unreg_wait() 2254 if (!pring) in lpfc_nvme_lport_unreg_wait() 2261 pring = phba->sli4_hba.nvmels_wq->pring; in lpfc_nvme_lport_unreg_wait() 2262 if (pring) in lpfc_nvme_lport_unreg_wait() 2773 pring = phba->sli4_hba.hdwq[i].io_wq->pring; in lpfc_nvme_wait_for_io_drain() 2775 if (!pring) in lpfc_nvme_wait_for_io_drain() 2864 pring = phba->sli4_hba.nvmels_wq->pring; in lpfc_nvmels_flush_cmd() 2866 if (unlikely(!pring)) in lpfc_nvmels_flush_cmd() 2872 pring->txq_cnt = 0; in lpfc_nvmels_flush_cmd() [all …]
|
| H A D | lpfc_mbox.c | 1009 struct lpfc_sli_ring *pring; in lpfc_config_pcb_setup() local 1019 pring = &psli->sli3_ring[i]; in lpfc_config_pcb_setup() 1021 pring->sli.sli3.sizeCiocb = in lpfc_config_pcb_setup() 1024 pring->sli.sli3.sizeRiocb = in lpfc_config_pcb_setup() 1030 (pring->sli.sli3.numRiocb == 0)) { in lpfc_config_pcb_setup() 1037 pring->sli.sli3.cmdringaddr = NULL; in lpfc_config_pcb_setup() 1038 pring->sli.sli3.rspringaddr = NULL; in lpfc_config_pcb_setup() 1050 iocbCnt += pring->sli.sli3.numCiocb; in lpfc_config_pcb_setup() 1272 struct lpfc_sli_ring *pring; in lpfc_config_ring() local 1282 pring = &psli->sli3_ring[ring]; in lpfc_config_ring() [all …]
|
| H A D | lpfc_nvmet.c | 1018 struct lpfc_sli_ring *pring; in lpfc_nvmet_xmt_fcp_op() local 1104 pring = wq->pring; in lpfc_nvmet_xmt_fcp_op() 1105 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op() 2016 struct lpfc_sli_ring *pring; in lpfc_nvmet_wqfull_flush() local 2023 pring = wq->pring; in lpfc_nvmet_wqfull_flush() 2031 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2038 spin_unlock_irqrestore(&pring->ring_lock, in lpfc_nvmet_wqfull_flush() 2066 struct lpfc_sli_ring *pring; in lpfc_nvmet_wqfull_process() local 2076 pring = wq->pring; in lpfc_nvmet_wqfull_process() 2077 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process() [all …]
|
| H A D | lpfc_hbadisc.c | 939 struct lpfc_sli_ring *pring; in lpfc_work_done() local 1041 pring = lpfc_phba_elsring(phba); in lpfc_work_done() 3742 struct lpfc_sli_ring *pring; in lpfc_mbx_cmpl_read_topology() local 3748 pring = lpfc_phba_elsring(phba); in lpfc_mbx_cmpl_read_topology() 3749 if (pring) in lpfc_mbx_cmpl_read_topology() 5110 struct lpfc_sli_ring *pring; in lpfc_sli4_dequeue_nport_iocbs() local 5115 pring = qp->pring; in lpfc_sli4_dequeue_nport_iocbs() 5116 if (!pring) in lpfc_sli4_dequeue_nport_iocbs() 5118 spin_lock(&pring->ring_lock); in lpfc_sli4_dequeue_nport_iocbs() 5950 struct lpfc_sli_ring *pring; in lpfc_free_tx() local [all …]
|
| H A D | lpfc_bsg.c | 1011 pring, dma_addr); in lpfc_bsg_ct_unsol_event() 1054 pring, in lpfc_bsg_ct_unsol_event() 1062 pring, in lpfc_bsg_ct_unsol_event() 1666 struct lpfc_sli_ring *pring; in lpfc_bsg_diag_mode_enter() local 1697 pring = qp->pring; in lpfc_bsg_diag_mode_enter() 1698 if (!pring || (pring->ringno != LPFC_FCP_RING)) in lpfc_bsg_diag_mode_enter() 1701 &pring->ring_lock)) in lpfc_bsg_diag_mode_enter() 2896 struct lpfc_sli_ring *pring; in lpfcdiag_sli3_loop_post_rxbufs() local 2910 pring = lpfc_phba_elsring(phba); in lpfcdiag_sli3_loop_post_rxbufs() 5809 struct lpfc_sli_ring *pring; in lpfc_bsg_timeout() local [all …]
|
| H A D | lpfc_nportdisc.c | 226 struct lpfc_sli_ring *pring; in lpfc_els_abort() local 230 pring = lpfc_phba_elsring(phba); in lpfc_els_abort() 233 if (unlikely(!pring)) in lpfc_els_abort() 252 spin_lock(&pring->ring_lock); in lpfc_els_abort() 255 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) in lpfc_els_abort() 259 spin_unlock(&pring->ring_lock); in lpfc_els_abort() 266 retval = lpfc_sli_issue_abort_iotag(phba, pring, iocb, NULL); in lpfc_els_abort() 286 spin_lock(&pring->ring_lock); in lpfc_els_abort() 288 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, list) { in lpfc_els_abort() 290 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) { in lpfc_els_abort() [all …]
|
| H A D | lpfc_els.c | 1459 struct lpfc_sli_ring *pring; in lpfc_els_abort_flogi() local 1470 if (unlikely(!pring)) in lpfc_els_abort_flogi() 9418 struct lpfc_sli_ring *pring; in lpfc_els_timeout_handler() local 9432 if (unlikely(!pring)) in lpfc_els_timeout_handler() 9542 struct lpfc_sli_ring *pring; in lpfc_els_flush_cmd() local 9560 if (unlikely(!pring)) { in lpfc_els_flush_cmd() 10826 pring, in lpfc_els_unsol_event() 11881 struct lpfc_sli_ring *pring; in lpfc_fabric_abort_nport() local 11885 if (unlikely(!pring)) in lpfc_fabric_abort_nport() 11986 struct lpfc_sli_ring *pring; in lpfc_sli4_els_xri_aborted() local [all …]
|
| H A D | lpfc_init.c | 1025 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq() 1036 pring = qp->pring; in lpfc_hba_clean_txcmplq() 1037 if (!pring) in lpfc_hba_clean_txcmplq() 1041 &pring->txcmplq, list) in lpfc_hba_clean_txcmplq() 1044 pring->txcmplq_cnt = 0; in lpfc_hba_clean_txcmplq() 2789 cnt += pring->missbufcnt; in lpfc_sli3_post_buffer() 2796 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer() 2809 pring->missbufcnt = cnt; in lpfc_sli3_post_buffer() 2868 pring->missbufcnt = 0; in lpfc_sli3_post_buffer() 10997 pring = wq->pring; in lpfc_create_wq_cq() [all …]
|
| H A D | lpfc_attr.c | 1379 struct lpfc_sli_ring *pring; in lpfc_do_offline() local 1417 pring = &psli->sli3_ring[i]; in lpfc_do_offline() 1418 if (!lpfc_emptyq_wait(phba, &pring->txcmplq, in lpfc_do_offline() 1424 pring = qp->pring; in lpfc_do_offline() 1425 if (!pring) in lpfc_do_offline() 1427 if (!lpfc_emptyq_wait(phba, &pring->txcmplq, in lpfc_do_offline() 1428 &pring->ring_lock)) in lpfc_do_offline() 3676 struct lpfc_sli_ring *pring = lpfc_phba_elsring(phba); in lpfc_txq_hw_show() local 3679 pring ? pring->txq_max : 0); in lpfc_txq_hw_show() 3690 struct lpfc_sli_ring *pring = lpfc_phba_elsring(phba); in lpfc_txcmplq_hw_show() local [all …]
|
| H A D | lpfc_scsi.c | 434 struct lpfc_sli_ring *pring = phba->sli4_hba.els_wq->pring; in lpfc_sli4_io_xri_aborted() local 535 if (!list_empty(&pring->txq)) in lpfc_sli4_io_xri_aborted() 5528 struct lpfc_sli_ring *pring = NULL; in lpfc_abort_handler() local 5566 !phba->sli4_hba.hdwq[iocb->hba_wqidx].io_wq->pring) { in lpfc_abort_handler() 5577 pring_s4 = phba->sli4_hba.hdwq[iocb->hba_wqidx].io_wq->pring; in lpfc_abort_handler() 5620 pring = &phba->sli.sli3_ring[LPFC_FCP_RING]; in lpfc_abort_handler() 5621 ret_val = lpfc_sli_issue_abort_iotag(phba, pring, iocb, in lpfc_abort_handler()
|
| H A D | lpfc.h | 966 (struct lpfc_hba *phba, struct lpfc_sli_ring *pring, 1702 return phba->sli4_hba.els_wq->pring; in lpfc_phba_elsring()
|
| H A D | lpfc_ct.c | 337 lpfc_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_ct_unsol_event() argument 374 lpfc_sli3_post_buffer(phba, pring, 2); in lpfc_ct_unsol_event() 394 if (!lpfc_bsg_ct_unsol_event(phba, pring, ctiocbq)) in lpfc_ct_unsol_event() 440 mp = lpfc_sli_ringpostbuf_get(phba, pring, in lpfc_ct_unsol_event() 446 lpfc_sli3_post_buffer(phba, pring, i); in lpfc_ct_unsol_event()
|
| H A D | lpfc_debugfs.c | 532 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()
|
| H A D | lpfc_sli4.h | 220 struct lpfc_sli_ring *pring; /* ptr to io ring associated with q */ member
|
| H A D | lpfc_crtn.h | 226 int lpfc_sli3_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt);
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | mlx4_en.h | 703 struct mlx4_en_tx_ring **pring, 707 struct mlx4_en_tx_ring **pring); 718 struct mlx4_en_rx_ring **pring, 721 struct mlx4_en_rx_ring **pring,
|
| H A D | en_tx.c | 52 struct mlx4_en_tx_ring **pring, u32 size, in mlx4_en_create_tx_ring() argument 146 *pring = ring; in mlx4_en_create_tx_ring() 161 *pring = NULL; in mlx4_en_create_tx_ring() 166 struct mlx4_en_tx_ring **pring) in mlx4_en_destroy_tx_ring() argument 169 struct mlx4_en_tx_ring *ring = *pring; in mlx4_en_destroy_tx_ring() 183 *pring = NULL; in mlx4_en_destroy_tx_ring()
|
| H A D | en_rx.c | 238 struct mlx4_en_rx_ring **pring, in mlx4_en_create_rx_ring() argument 303 *pring = ring; in mlx4_en_create_rx_ring() 315 *pring = NULL; in mlx4_en_create_rx_ring() 404 struct mlx4_en_rx_ring **pring, in mlx4_en_destroy_rx_ring() argument 408 struct mlx4_en_rx_ring *ring = *pring; in mlx4_en_destroy_rx_ring() 422 *pring = NULL; in mlx4_en_destroy_rx_ring()
|
| /linux-6.15/drivers/infiniband/hw/irdma/ |
| H A D | uk.c | 976 struct irdma_ring *pring = NULL; in irdma_uk_cq_poll_cmpl() local 1122 pring = &qp->rq_ring; in irdma_uk_cq_poll_cmpl() 1177 pring = &qp->sq_ring; in irdma_uk_cq_poll_cmpl() 1184 if (pring && IRDMA_RING_MORE_WORK(*pring)) in irdma_uk_cq_poll_cmpl() 1205 qword3 |= FIELD_PREP(IRDMA_CQ_WQEIDX, pring->tail); in irdma_uk_cq_poll_cmpl()
|
| /linux-6.15/scripts/ |
| H A D | Kbuild.include | 121 # pring log
|
| /linux-6.15/Documentation/scsi/ |
| H A D | ChangeLog.lpfc | 496 * New static function lpfc_sli_next_iocb(phba, pring, &piocb) to
|