Home
last modified time | relevance | path

Searched refs:piocb (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_sli.c1528 struct lpfc_iocbq *piocb; in lpfc_sli_cancel_iocbs() local
1531 list_remove_head(iocblist, piocb, struct lpfc_iocbq, list); in lpfc_sli_cancel_iocbs()
1532 if (piocb->wqe_cmpl) { in lpfc_sli_cancel_iocbs()
1533 if (piocb->iocb_flag & LPFC_IO_NVME) in lpfc_sli_cancel_iocbs()
1534 lpfc_nvme_cancel_iocb(phba, piocb, in lpfc_sli_cancel_iocbs()
1537 lpfc_sli_release_iocbq(phba, piocb); in lpfc_sli_cancel_iocbs()
1539 } else if (piocb->iocb_cmpl) { in lpfc_sli_cancel_iocbs()
1540 piocb->iocb.ulpStatus = ulpstatus; in lpfc_sli_cancel_iocbs()
1541 piocb->iocb.un.ulpWord[4] = ulpWord4; in lpfc_sli_cancel_iocbs()
1542 (piocb->iocb_cmpl) (phba, piocb, piocb); in lpfc_sli_cancel_iocbs()
[all …]
Dlpfc_els.c8934 struct lpfc_iocbq *tmp_iocb, *piocb; in lpfc_els_timeout_handler() local
8956 list_for_each_entry_safe(piocb, tmp_iocb, &pring->txcmplq, list) { in lpfc_els_timeout_handler()
8957 cmd = &piocb->iocb; in lpfc_els_timeout_handler()
8959 if ((piocb->iocb_flag & LPFC_IO_LIBDFC) != 0 || in lpfc_els_timeout_handler()
8960 piocb->iocb.ulpCommand == CMD_ABORT_XRI_CN || in lpfc_els_timeout_handler()
8961 piocb->iocb.ulpCommand == CMD_CLOSE_XRI_CN) in lpfc_els_timeout_handler()
8964 if (piocb->vport != vport) in lpfc_els_timeout_handler()
8967 pcmd = (struct lpfc_dmabuf *) piocb->context2; in lpfc_els_timeout_handler()
8976 if (piocb->drvrTimeout > 0) { in lpfc_els_timeout_handler()
8977 if (piocb->drvrTimeout >= timeout) in lpfc_els_timeout_handler()
[all …]
Dlpfc_scsi.c5019 IOCB_t *piocb; in lpfc_scsi_prep_task_mgmt_cmd() local
5030 piocb = &piocbq->iocb; in lpfc_scsi_prep_task_mgmt_cmd()
5039 lpfc_fcpcmd_to_iocb(piocb->unsli3.fcp_ext.icd, fcp_cmnd); in lpfc_scsi_prep_task_mgmt_cmd()
5040 piocb->ulpCommand = CMD_FCP_ICMND64_CR; in lpfc_scsi_prep_task_mgmt_cmd()
5041 piocb->ulpContext = ndlp->nlp_rpi; in lpfc_scsi_prep_task_mgmt_cmd()
5043 piocb->ulpContext = in lpfc_scsi_prep_task_mgmt_cmd()
5046 piocb->ulpFCP2Rcvy = (ndlp->nlp_fcp_info & NLP_FCP_2_DEVICE) ? 1 : 0; in lpfc_scsi_prep_task_mgmt_cmd()
5047 piocb->ulpClass = (ndlp->nlp_fcp_info & 0x0f); in lpfc_scsi_prep_task_mgmt_cmd()
5048 piocb->ulpPU = 0; in lpfc_scsi_prep_task_mgmt_cmd()
5049 piocb->un.fcpi.fcpi_parm = 0; in lpfc_scsi_prep_task_mgmt_cmd()
[all …]
Dlpfc_crtn.h346 struct lpfc_iocbq *piocb, uint32_t flag);
Dlpfc.h929 struct lpfc_iocbq *piocb, uint32_t flag);
Dlpfc_init.c957 struct lpfc_iocbq *piocb, *next_iocb; in lpfc_hba_clean_txcmplq() local
983 list_for_each_entry_safe(piocb, next_iocb, in lpfc_hba_clean_txcmplq()
985 piocb->iocb_flag &= ~LPFC_IO_ON_TXCMPLQ; in lpfc_hba_clean_txcmplq()
/Linux-v5.15/Documentation/scsi/
DChangeLog.lpfc496 * New static function lpfc_sli_next_iocb(phba, pring, &piocb) to