Home
last modified time | relevance | path

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

/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c1522 struct lpfc_iocbq *piocb; in lpfc_sli_cancel_iocbs() local
1525 list_remove_head(iocblist, piocb, struct lpfc_iocbq, list); in lpfc_sli_cancel_iocbs()
1526 if (piocb->cmd_cmpl) { in lpfc_sli_cancel_iocbs()
1527 if (piocb->cmd_flag & LPFC_IO_NVME) { in lpfc_sli_cancel_iocbs()
1528 lpfc_nvme_cancel_iocb(phba, piocb, in lpfc_sli_cancel_iocbs()
1533 &piocb->wcqe_cmpl, ulpstatus); in lpfc_sli_cancel_iocbs()
1534 piocb->wcqe_cmpl.parameter = ulpWord4; in lpfc_sli_cancel_iocbs()
1536 piocb->iocb.ulpStatus = ulpstatus; in lpfc_sli_cancel_iocbs()
1537 piocb->iocb.un.ulpWord[4] = ulpWord4; in lpfc_sli_cancel_iocbs()
1539 (piocb->cmd_cmpl) (phba, piocb, piocb); in lpfc_sli_cancel_iocbs()
[all …]
H A Dlpfc_els.c9493 struct lpfc_iocbq *tmp_iocb, *piocb; in lpfc_els_timeout_handler() local
9516 list_for_each_entry_safe(piocb, tmp_iocb, &pring->txcmplq, list) { in lpfc_els_timeout_handler()
9517 ulp_command = get_job_cmnd(phba, piocb); in lpfc_els_timeout_handler()
9518 ulp_context = get_job_ulpcontext(phba, piocb); in lpfc_els_timeout_handler()
9519 did = get_job_els_rsp64_did(phba, piocb); in lpfc_els_timeout_handler()
9522 iotag = get_wqe_reqtag(piocb); in lpfc_els_timeout_handler()
9524 cmd = &piocb->iocb; in lpfc_els_timeout_handler()
9528 if ((piocb->cmd_flag & LPFC_IO_LIBDFC) != 0 || in lpfc_els_timeout_handler()
9534 if (piocb->vport != vport) in lpfc_els_timeout_handler()
9537 pcmd = piocb->cmd_dmabuf; in lpfc_els_timeout_handler()
[all …]
H A Dlpfc_scsi.c4852 IOCB_t *piocb; in lpfc_scsi_prep_task_mgmt_cmd_s3() local
4863 piocb = &piocbq->iocb; in lpfc_scsi_prep_task_mgmt_cmd_s3()
4871 lpfc_fcpcmd_to_iocb(piocb->unsli3.fcp_ext.icd, fcp_cmnd); in lpfc_scsi_prep_task_mgmt_cmd_s3()
4872 piocb->ulpCommand = CMD_FCP_ICMND64_CR; in lpfc_scsi_prep_task_mgmt_cmd_s3()
4873 piocb->ulpContext = ndlp->nlp_rpi; in lpfc_scsi_prep_task_mgmt_cmd_s3()
4874 piocb->ulpFCP2Rcvy = (ndlp->nlp_fcp_info & NLP_FCP_2_DEVICE) ? 1 : 0; in lpfc_scsi_prep_task_mgmt_cmd_s3()
4875 piocb->ulpClass = (ndlp->nlp_fcp_info & 0x0f); in lpfc_scsi_prep_task_mgmt_cmd_s3()
4876 piocb->ulpPU = 0; in lpfc_scsi_prep_task_mgmt_cmd_s3()
4877 piocb->un.fcpi.fcpi_parm = 0; in lpfc_scsi_prep_task_mgmt_cmd_s3()
4885 piocb->ulpTimeout = 0; in lpfc_scsi_prep_task_mgmt_cmd_s3()
[all …]
H A Dlpfc_crtn.h361 struct lpfc_iocbq *piocb, uint32_t flag);
H A Dlpfc.h956 struct lpfc_iocbq *piocb, uint32_t flag);
H A Dlpfc_init.c1014 struct lpfc_iocbq *piocb, *next_iocb; in lpfc_hba_clean_txcmplq() local
1040 list_for_each_entry_safe(piocb, next_iocb, in lpfc_hba_clean_txcmplq()
1042 piocb->cmd_flag &= ~LPFC_IO_ON_TXCMPLQ; in lpfc_hba_clean_txcmplq()
/linux/Documentation/scsi/
H A DChangeLog.lpfc496 * New static function lpfc_sli_next_iocb(phba, pring, &piocb) to