Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_sli.c1408 struct lpfc_iocbq *piocb; in lpfc_sli_cancel_iocbs() local
1411 list_remove_head(iocblist, piocb, struct lpfc_iocbq, list); in lpfc_sli_cancel_iocbs()
1412 if (!piocb->iocb_cmpl) in lpfc_sli_cancel_iocbs()
1413 lpfc_sli_release_iocbq(phba, piocb); in lpfc_sli_cancel_iocbs()
1415 piocb->iocb.ulpStatus = ulpstatus; in lpfc_sli_cancel_iocbs()
1416 piocb->iocb.un.ulpWord[4] = ulpWord4; in lpfc_sli_cancel_iocbs()
1417 (piocb->iocb_cmpl) (phba, piocb, piocb); in lpfc_sli_cancel_iocbs()
1595 struct lpfc_iocbq *piocb) in lpfc_sli_ringtxcmpl_put() argument
1599 BUG_ON(!piocb); in lpfc_sli_ringtxcmpl_put()
1601 list_add_tail(&piocb->list, &pring->txcmplq); in lpfc_sli_ringtxcmpl_put()
[all …]
Dlpfc_els.c7460 struct lpfc_iocbq *tmp_iocb, *piocb; in lpfc_els_timeout_handler() local
7488 list_for_each_entry_safe(piocb, tmp_iocb, &pring->txcmplq, list) { in lpfc_els_timeout_handler()
7489 cmd = &piocb->iocb; in lpfc_els_timeout_handler()
7491 if ((piocb->iocb_flag & LPFC_IO_LIBDFC) != 0 || in lpfc_els_timeout_handler()
7492 piocb->iocb.ulpCommand == CMD_ABORT_XRI_CN || in lpfc_els_timeout_handler()
7493 piocb->iocb.ulpCommand == CMD_CLOSE_XRI_CN) in lpfc_els_timeout_handler()
7496 if (piocb->vport != vport) in lpfc_els_timeout_handler()
7499 pcmd = (struct lpfc_dmabuf *) piocb->context2; in lpfc_els_timeout_handler()
7508 if (piocb->drvrTimeout > 0) { in lpfc_els_timeout_handler()
7509 if (piocb->drvrTimeout >= timeout) in lpfc_els_timeout_handler()
[all …]
Dlpfc_scsi.c4321 IOCB_t *piocb; in lpfc_scsi_prep_task_mgmt_cmd() local
4333 piocb = &piocbq->iocb; in lpfc_scsi_prep_task_mgmt_cmd()
4342 lpfc_fcpcmd_to_iocb(piocb->unsli3.fcp_ext.icd, fcp_cmnd); in lpfc_scsi_prep_task_mgmt_cmd()
4343 piocb->ulpCommand = CMD_FCP_ICMND64_CR; in lpfc_scsi_prep_task_mgmt_cmd()
4344 piocb->ulpContext = ndlp->nlp_rpi; in lpfc_scsi_prep_task_mgmt_cmd()
4346 piocb->ulpContext = in lpfc_scsi_prep_task_mgmt_cmd()
4349 piocb->ulpFCP2Rcvy = (ndlp->nlp_fcp_info & NLP_FCP_2_DEVICE) ? 1 : 0; in lpfc_scsi_prep_task_mgmt_cmd()
4350 piocb->ulpClass = (ndlp->nlp_fcp_info & 0x0f); in lpfc_scsi_prep_task_mgmt_cmd()
4351 piocb->ulpPU = 0; in lpfc_scsi_prep_task_mgmt_cmd()
4352 piocb->un.fcpi.fcpi_parm = 0; in lpfc_scsi_prep_task_mgmt_cmd()
[all …]
Dlpfc_crtn.h560 struct lpfc_sli_ring *pring, struct lpfc_iocbq *piocb);
Dlpfc_nvmet.c2101 struct lpfc_iocbq *piocb) in lpfc_nvmet_unsol_ls_event() argument
2106 d_buf = piocb->context2; in lpfc_nvmet_unsol_ls_event()
Dlpfc_init.c963 struct lpfc_iocbq *piocb, *next_iocb; in lpfc_hba_clean_txcmplq() local
989 list_for_each_entry_safe(piocb, next_iocb, in lpfc_hba_clean_txcmplq()
991 piocb->iocb_flag &= ~LPFC_IO_ON_TXCMPLQ; in lpfc_hba_clean_txcmplq()
/Linux-v4.19/Documentation/scsi/
DChangeLog.lpfc496 * New static function lpfc_sli_next_iocb(phba, pring, &piocb) to