Home
last modified time | relevance | path

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

/drivers/scsi/lpfc/
Dlpfc_els.c4935 struct lpfc_iocbq *tmp_iocb, *piocb; in lpfc_els_timeout_handler() local
4947 list_for_each_entry_safe(piocb, tmp_iocb, &pring->txcmplq, list) { in lpfc_els_timeout_handler()
4948 cmd = &piocb->iocb; in lpfc_els_timeout_handler()
4950 if ((piocb->iocb_flag & LPFC_IO_LIBDFC) != 0 || in lpfc_els_timeout_handler()
4951 piocb->iocb.ulpCommand == CMD_ABORT_XRI_CN || in lpfc_els_timeout_handler()
4952 piocb->iocb.ulpCommand == CMD_CLOSE_XRI_CN) in lpfc_els_timeout_handler()
4955 if (piocb->vport != vport) in lpfc_els_timeout_handler()
4958 pcmd = (struct lpfc_dmabuf *) piocb->context2; in lpfc_els_timeout_handler()
4967 if (piocb->drvrTimeout > 0) { in lpfc_els_timeout_handler()
4968 if (piocb->drvrTimeout >= timeout) in lpfc_els_timeout_handler()
[all …]
Dlpfc_sli.c354 struct lpfc_iocbq *piocb) in lpfc_sli_ringtxcmpl_put() argument
356 list_add_tail(&piocb->list, &pring->txcmplq); in lpfc_sli_ringtxcmpl_put()
359 (piocb->iocb.ulpCommand != CMD_ABORT_XRI_CN) && in lpfc_sli_ringtxcmpl_put()
360 (piocb->iocb.ulpCommand != CMD_CLOSE_XRI_CN)) { in lpfc_sli_ringtxcmpl_put()
361 if (!piocb->vport) in lpfc_sli_ringtxcmpl_put()
364 mod_timer(&piocb->vport->els_tmofunc, in lpfc_sli_ringtxcmpl_put()
3646 struct lpfc_iocbq *piocb) in __lpfc_sli_ringtx_put() argument
3649 list_add_tail(&piocb->list, &pring->txq); in __lpfc_sli_ringtx_put()
3672 struct lpfc_iocbq **piocb) in lpfc_sli_next_iocb() argument
3678 nextiocb = *piocb; in lpfc_sli_next_iocb()
[all …]
Dlpfc_scsi.c2069 IOCB_t *piocb; in lpfc_scsi_prep_task_mgmt_cmd() local
2081 piocb = &piocbq->iocb; in lpfc_scsi_prep_task_mgmt_cmd()
2090 lpfc_fcpcmd_to_iocb(piocb->unsli3.fcp_ext.icd, fcp_cmnd); in lpfc_scsi_prep_task_mgmt_cmd()
2091 piocb->ulpCommand = CMD_FCP_ICMND64_CR; in lpfc_scsi_prep_task_mgmt_cmd()
2092 piocb->ulpContext = ndlp->nlp_rpi; in lpfc_scsi_prep_task_mgmt_cmd()
2094 piocb->ulpFCP2Rcvy = 1; in lpfc_scsi_prep_task_mgmt_cmd()
2096 piocb->ulpClass = (ndlp->nlp_fcp_info & 0x0f); in lpfc_scsi_prep_task_mgmt_cmd()
2104 piocb->ulpTimeout = 0; in lpfc_scsi_prep_task_mgmt_cmd()
2106 piocb->ulpTimeout = lpfc_cmd->timeout; in lpfc_scsi_prep_task_mgmt_cmd()