cmdiocb 5880 drivers/scsi/lpfc/lpfc_bsg.c struct lpfc_iocbq *cmdiocb; cmdiocb 5917 drivers/scsi/lpfc/lpfc_bsg.c cmdiocb = dd_data->context_un.iocb.cmdiocbq; cmdiocb 5922 drivers/scsi/lpfc/lpfc_bsg.c if (!(cmdiocb->iocb_flag & LPFC_IO_CMD_OUTSTANDING)) { cmdiocb 5928 drivers/scsi/lpfc/lpfc_bsg.c if (check_iocb == cmdiocb) { cmdiocb 5934 drivers/scsi/lpfc/lpfc_bsg.c lpfc_sli_issue_abort_iotag(phba, pring, cmdiocb); cmdiocb 5959 drivers/scsi/lpfc/lpfc_bsg.c cmdiocb = dd_data->context_un.menlo.cmdiocbq; cmdiocb 5965 drivers/scsi/lpfc/lpfc_bsg.c if (check_iocb == cmdiocb) { cmdiocb 5971 drivers/scsi/lpfc/lpfc_bsg.c lpfc_sli_issue_abort_iotag(phba, pring, cmdiocb); cmdiocb 575 drivers/scsi/lpfc/lpfc_crtn.h struct lpfc_iocbq *cmdiocb, cmdiocb 660 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_gid_ft(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 663 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 674 drivers/scsi/lpfc/lpfc_ct.c ndlp = cmdiocb->context_un.ndlp; cmdiocb 677 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->context_un.rsp_iocb = rspiocb; cmdiocb 678 drivers/scsi/lpfc/lpfc_ct.c inp = (struct lpfc_dmabuf *) cmdiocb->context1; cmdiocb 679 drivers/scsi/lpfc/lpfc_ct.c outp = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 740 drivers/scsi/lpfc/lpfc_ct.c type = lpfc_get_gidft_type(vport, cmdiocb); cmdiocb 856 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->context_un.ndlp = ndlp; /* Now restore ndlp for free */ cmdiocb 857 drivers/scsi/lpfc/lpfc_ct.c lpfc_ct_free_iocb(phba, cmdiocb); cmdiocb 862 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_gid_pt(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 865 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 876 drivers/scsi/lpfc/lpfc_ct.c ndlp = cmdiocb->context_un.ndlp; cmdiocb 879 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->context_un.rsp_iocb = rspiocb; cmdiocb 880 drivers/scsi/lpfc/lpfc_ct.c inp = (struct lpfc_dmabuf *)cmdiocb->context1; cmdiocb 881 drivers/scsi/lpfc/lpfc_ct.c outp = (struct lpfc_dmabuf *)cmdiocb->context2; cmdiocb 1049 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->context_un.ndlp = ndlp; /* Now restore ndlp for free */ cmdiocb 1050 drivers/scsi/lpfc/lpfc_ct.c lpfc_ct_free_iocb(phba, cmdiocb); cmdiocb 1054 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_gff_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1057 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1060 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_dmabuf *inp = (struct lpfc_dmabuf *) cmdiocb->context1; cmdiocb 1061 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_dmabuf *outp = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1102 drivers/scsi/lpfc/lpfc_ct.c if (cmdiocb->retry < LPFC_MAX_NS_RETRY) { cmdiocb 1119 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->retry++; cmdiocb 1123 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->retry++; cmdiocb 1128 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->retry, did); cmdiocb 1131 drivers/scsi/lpfc/lpfc_ct.c lpfc_ct_free_iocb(phba, cmdiocb); cmdiocb 1179 drivers/scsi/lpfc/lpfc_ct.c lpfc_ct_free_iocb(phba, cmdiocb); cmdiocb 1184 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_gft_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1187 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1189 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_dmabuf *inp = (struct lpfc_dmabuf *)cmdiocb->context1; cmdiocb 1190 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_dmabuf *outp = (struct lpfc_dmabuf *)cmdiocb->context2; cmdiocb 1262 drivers/scsi/lpfc/lpfc_ct.c lpfc_ct_free_iocb(phba, cmdiocb); cmdiocb 1266 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1269 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1280 drivers/scsi/lpfc/lpfc_ct.c ndlp = cmdiocb->context_un.ndlp; cmdiocb 1283 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->context_un.rsp_iocb = rspiocb; cmdiocb 1285 drivers/scsi/lpfc/lpfc_ct.c inp = (struct lpfc_dmabuf *) cmdiocb->context1; cmdiocb 1286 drivers/scsi/lpfc/lpfc_ct.c outp = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1301 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->iocb.ulpContext, cmdiocb->iocb.ulpIoTag); cmdiocb 1319 drivers/scsi/lpfc/lpfc_ct.c retry = cmdiocb->retry; cmdiocb 1332 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->context_un.ndlp = ndlp; /* Now restore ndlp for free */ cmdiocb 1333 drivers/scsi/lpfc/lpfc_ct.c lpfc_ct_free_iocb(phba, cmdiocb); cmdiocb 1338 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_rft_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1342 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1348 drivers/scsi/lpfc/lpfc_ct.c outp = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1354 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct(phba, cmdiocb, rspiocb); cmdiocb 1359 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_rnn_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1363 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1369 drivers/scsi/lpfc/lpfc_ct.c outp = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1375 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct(phba, cmdiocb, rspiocb); cmdiocb 1380 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_rspn_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1384 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1390 drivers/scsi/lpfc/lpfc_ct.c outp = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1396 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct(phba, cmdiocb, rspiocb); cmdiocb 1401 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_rsnn_nn(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1405 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1411 drivers/scsi/lpfc/lpfc_ct.c outp = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1417 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct(phba, cmdiocb, rspiocb); cmdiocb 1422 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_da_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1425 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1429 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct(phba, cmdiocb, rspiocb); cmdiocb 1434 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_rff_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1438 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1444 drivers/scsi/lpfc/lpfc_ct.c outp = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1450 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct(phba, cmdiocb, rspiocb); cmdiocb 1535 drivers/scsi/lpfc/lpfc_ct.c lpfc_get_gidft_type(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb) cmdiocb 1541 drivers/scsi/lpfc/lpfc_ct.c mp = cmdiocb->context1; cmdiocb 1847 drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_disc_fdmi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1850 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1851 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_dmabuf *inp = cmdiocb->context1; cmdiocb 1852 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_dmabuf *outp = cmdiocb->context2; cmdiocb 1883 drivers/scsi/lpfc/lpfc_ct.c cmdiocb->retry++; cmdiocb 1884 drivers/scsi/lpfc/lpfc_ct.c if (cmdiocb->retry >= LPFC_FDMI_MAX_RETRY) cmdiocb 1889 drivers/scsi/lpfc/lpfc_ct.c cmdiocb, 0); cmdiocb 1904 drivers/scsi/lpfc/lpfc_ct.c lpfc_ct_free_iocb(phba, cmdiocb); cmdiocb 980 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 983 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 986 drivers/scsi/lpfc/lpfc_els.c struct lpfc_nodelist *ndlp = cmdiocb->context1; cmdiocb 987 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd = cmdiocb->context2, *prsp; cmdiocb 1052 drivers/scsi/lpfc/lpfc_els.c if (lpfc_els_retry(phba, cmdiocb, rspiocb)) cmdiocb 1059 drivers/scsi/lpfc/lpfc_els.c cmdiocb->sli4_xritag, irsp->ulpTimeout); cmdiocb 1120 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iotag, cmdiocb->sli4_xritag, cmdiocb 1207 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 1219 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_link_down(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1226 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint32_t *)(((struct lpfc_dmabuf *)cmdiocb->context2)->virt); cmdiocb 1234 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb_flag); cmdiocb 1236 drivers/scsi/lpfc/lpfc_els.c if (cmdiocb->iocb_flag & LPFC_IO_FABRIC) { cmdiocb 1237 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb_flag &= ~LPFC_IO_FABRIC; cmdiocb 1240 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 1917 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_rrq(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1920 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 1926 drivers/scsi/lpfc/lpfc_els.c rrq = cmdiocb->context_un.rrq; cmdiocb 1927 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context_un.rsp_iocb = rspiocb; cmdiocb 1968 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 1992 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_plogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1995 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 2003 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context_un.rsp_iocb = rspiocb; cmdiocb 2048 drivers/scsi/lpfc/lpfc_els.c if (lpfc_els_retry(phba, cmdiocb, rspiocb)) { cmdiocb 2068 drivers/scsi/lpfc/lpfc_els.c lpfc_disc_state_machine(vport, ndlp, cmdiocb, cmdiocb 2073 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context2)->list.next, cmdiocb 2076 drivers/scsi/lpfc/lpfc_els.c lpfc_disc_state_machine(vport, ndlp, cmdiocb, cmdiocb 2095 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 2232 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_prli(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 2235 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 2242 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context_un.rsp_iocb = rspiocb; cmdiocb 2245 drivers/scsi/lpfc/lpfc_els.c ndlp = (struct lpfc_nodelist *) cmdiocb->context1; cmdiocb 2272 drivers/scsi/lpfc/lpfc_els.c if (lpfc_els_retry(phba, cmdiocb, rspiocb)) { cmdiocb 2297 drivers/scsi/lpfc/lpfc_els.c lpfc_disc_state_machine(vport, ndlp, cmdiocb, cmdiocb 2305 drivers/scsi/lpfc/lpfc_els.c lpfc_disc_state_machine(vport, ndlp, cmdiocb, cmdiocb 2310 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 2644 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_adisc(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 2647 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 2654 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context_un.rsp_iocb = rspiocb; cmdiocb 2657 drivers/scsi/lpfc/lpfc_els.c ndlp = (struct lpfc_nodelist *) cmdiocb->context1; cmdiocb 2687 drivers/scsi/lpfc/lpfc_els.c if (lpfc_els_retry(phba, cmdiocb, rspiocb)) { cmdiocb 2704 drivers/scsi/lpfc/lpfc_els.c lpfc_disc_state_machine(vport, ndlp, cmdiocb, cmdiocb 2708 drivers/scsi/lpfc/lpfc_els.c lpfc_disc_state_machine(vport, ndlp, cmdiocb, cmdiocb 2715 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 2802 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_logo(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 2805 drivers/scsi/lpfc/lpfc_els.c struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; cmdiocb 2814 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context_un.rsp_iocb = rspiocb; cmdiocb 2843 drivers/scsi/lpfc/lpfc_els.c lpfc_disc_state_machine(vport, ndlp, cmdiocb, cmdiocb 2868 drivers/scsi/lpfc/lpfc_els.c lpfc_disc_state_machine(vport, ndlp, cmdiocb, NLP_EVT_CMPL_LOGO); cmdiocb 2871 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 3019 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_cmd(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 3022 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 3038 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 3594 drivers/scsi/lpfc/lpfc_els.c lpfc_els_retry(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 3597 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 3600 drivers/scsi/lpfc/lpfc_els.c struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; cmdiocb 3601 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 3645 drivers/scsi/lpfc/lpfc_els.c cmdiocb->sli4_lxritag, 0, 0); cmdiocb 3660 drivers/scsi/lpfc/lpfc_els.c if (cmd == ELS_CMD_PLOGI && cmdiocb->retry == 0) cmdiocb 3669 drivers/scsi/lpfc/lpfc_els.c cmd, cmdiocb->retry, delay); cmdiocb 3673 drivers/scsi/lpfc/lpfc_els.c if (cmdiocb->retry > 2) cmdiocb 3680 drivers/scsi/lpfc/lpfc_els.c if (cmdiocb->retry > 100) cmdiocb 3704 drivers/scsi/lpfc/lpfc_els.c (cmdiocb->retry + 1) == maxretry) { cmdiocb 3794 drivers/scsi/lpfc/lpfc_els.c if (cmdiocb->retry >= 32) cmdiocb 3895 drivers/scsi/lpfc/lpfc_els.c if (cmdiocb->retry >= 100) cmdiocb 3897 drivers/scsi/lpfc/lpfc_els.c else if (cmdiocb->retry >= 32) cmdiocb 3906 drivers/scsi/lpfc/lpfc_els.c cmdiocb->retry++; cmdiocb 3907 drivers/scsi/lpfc/lpfc_els.c if (maxretry && (cmdiocb->retry >= maxretry)) { cmdiocb 3924 drivers/scsi/lpfc/lpfc_els.c cmdiocb->retry, delay); cmdiocb 3933 drivers/scsi/lpfc/lpfc_els.c cmd, did, cmdiocb->retry, delay); cmdiocb 3950 drivers/scsi/lpfc/lpfc_els.c ndlp->nlp_retry = cmdiocb->retry; cmdiocb 3973 drivers/scsi/lpfc/lpfc_els.c lpfc_issue_els_flogi(vport, ndlp, cmdiocb->retry); cmdiocb 3976 drivers/scsi/lpfc/lpfc_els.c lpfc_issue_els_fdisc(vport, ndlp, cmdiocb->retry); cmdiocb 3984 drivers/scsi/lpfc/lpfc_els.c lpfc_issue_els_plogi(vport, did, cmdiocb->retry); cmdiocb 3989 drivers/scsi/lpfc/lpfc_els.c lpfc_issue_els_adisc(vport, ndlp, cmdiocb->retry); cmdiocb 3995 drivers/scsi/lpfc/lpfc_els.c lpfc_issue_els_prli(vport, ndlp, cmdiocb->retry); cmdiocb 4000 drivers/scsi/lpfc/lpfc_els.c lpfc_issue_els_logo(vport, ndlp, cmdiocb->retry); cmdiocb 4016 drivers/scsi/lpfc/lpfc_els.c cmd, did, cmdiocb->retry, irsp->ulpStatus, cmdiocb 4187 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_logo_acc(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 4190 drivers/scsi/lpfc/lpfc_els.c struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; cmdiocb 4191 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 4216 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context1 = NULL; cmdiocb 4224 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 4290 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_rsp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 4293 drivers/scsi/lpfc/lpfc_els.c struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; cmdiocb 4304 drivers/scsi/lpfc/lpfc_els.c if (cmdiocb->context_un.mbox) cmdiocb 4305 drivers/scsi/lpfc/lpfc_els.c mbox = cmdiocb->context_un.mbox; cmdiocb 4310 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) cmdiocb->context2)->virt); cmdiocb 4338 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context1 = NULL; cmdiocb 4346 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb.un.elsreq64.remoteID); cmdiocb 4351 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb.ulpIoTag, rspiocb->iocb.ulpStatus, cmdiocb 4418 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context1 = NULL; cmdiocb 4431 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context1 = NULL; cmdiocb 4459 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context1 = NULL; cmdiocb 4463 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 5882 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_rdp(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 5907 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 5932 drivers/scsi/lpfc/lpfc_els.c cmd = &cmdiocb->iocb; cmdiocb 5955 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 6152 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_lcb(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 6163 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *)cmdiocb->context2; cmdiocb 6203 drivers/scsi/lpfc/lpfc_els.c lcb_context->ox_id = cmdiocb->iocb.unsli3.rcvsli3.ox_id; cmdiocb 6204 drivers/scsi/lpfc/lpfc_els.c lcb_context->rx_id = cmdiocb->iocb.ulpContext; cmdiocb 6218 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 6402 drivers/scsi/lpfc/lpfc_els.c struct lpfc_iocbq *cmdiocb) cmdiocb 6410 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 6458 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_rscn(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 6470 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 6482 drivers/scsi/lpfc/lpfc_els.c lpfc_send_rscn_event(vport, cmdiocb); cmdiocb 6494 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 6513 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 6544 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, cmdiocb 6556 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 6601 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context2 = NULL; cmdiocb 6622 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 6641 drivers/scsi/lpfc/lpfc_els.c cmdiocb->context2 = NULL; cmdiocb 6644 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 6765 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_flogi(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 6770 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 6772 drivers/scsi/lpfc/lpfc_els.c IOCB_t *icmd = &cmdiocb->iocb; cmdiocb 6885 drivers/scsi/lpfc/lpfc_els.c phba->defer_flogi_acc_rx_id = cmdiocb->iocb.ulpContext; cmdiocb 6887 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb.unsli3.rcvsli3.ox_id; cmdiocb 6903 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_FLOGI, cmdiocb, ndlp, NULL); cmdiocb 6928 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_rnid(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 6936 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 6948 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_rnid_acc(vport, rn->Format, cmdiocb, ndlp); cmdiocb 6956 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, cmdiocb 6972 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_echo(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 6977 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) cmdiocb->context2)->virt); cmdiocb 6982 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_echo_acc(vport, pcmd, cmdiocb, ndlp); cmdiocb 7000 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_lirr(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7010 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 7031 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_rrq(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7034 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 7036 drivers/scsi/lpfc/lpfc_els.c lpfc_els_clear_rrq(vport, cmdiocb, ndlp); cmdiocb 7241 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_rls(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7257 drivers/scsi/lpfc/lpfc_els.c ((cmdiocb->iocb.unsli3.rcvsli3.ox_id << 16) | cmdiocb 7258 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb.ulpContext)); /* rx_id */ cmdiocb 7278 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 7304 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_rtv(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7333 drivers/scsi/lpfc/lpfc_els.c elsiocb->iocb.ulpContext = cmdiocb->iocb.ulpContext; /* Xri / rx_id */ cmdiocb 7334 drivers/scsi/lpfc/lpfc_els.c elsiocb->iocb.unsli3.rcvsli3.ox_id = cmdiocb->iocb.unsli3.rcvsli3.ox_id; cmdiocb 7366 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 7388 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_rps(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7404 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 7420 drivers/scsi/lpfc/lpfc_els.c ((cmdiocb->iocb.unsli3.rcvsli3.ox_id << 16) | cmdiocb 7421 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb.ulpContext)); /* rx_id */ cmdiocb 7443 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 7628 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_rpl(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7645 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, cmdiocb 7651 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 7664 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_rpl_acc(vport, cmdsize, cmdiocb, ndlp); cmdiocb 7694 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_farp(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7703 drivers/scsi/lpfc/lpfc_els.c icmd = &cmdiocb->iocb; cmdiocb 7705 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 7767 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_farpr(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7775 drivers/scsi/lpfc/lpfc_els.c icmd = &cmdiocb->iocb; cmdiocb 7777 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 7785 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 7810 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_fan(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, cmdiocb 7818 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *)((struct lpfc_dmabuf *)cmdiocb->context2)->virt; cmdiocb 9192 drivers/scsi/lpfc/lpfc_els.c struct lpfc_iocbq *cmdiocb, cmdiocb 9224 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_fdisc(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 9227 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 9229 drivers/scsi/lpfc/lpfc_els.c struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; cmdiocb 9234 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd = cmdiocb->context2, *prsp; cmdiocb 9256 drivers/scsi/lpfc/lpfc_els.c if (lpfc_fabric_login_reqd(phba, cmdiocb, rspiocb)) { cmdiocb 9262 drivers/scsi/lpfc/lpfc_els.c if (lpfc_els_retry(phba, cmdiocb, rspiocb)) cmdiocb 9344 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 9464 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_els_npiv_logo(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 9467 drivers/scsi/lpfc/lpfc_els.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 9472 drivers/scsi/lpfc/lpfc_els.c ndlp = (struct lpfc_nodelist *)cmdiocb->context1; cmdiocb 9478 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 9701 drivers/scsi/lpfc/lpfc_els.c lpfc_cmpl_fabric_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 9706 drivers/scsi/lpfc/lpfc_els.c BUG_ON((cmdiocb->iocb_flag & LPFC_IO_FABRIC) != LPFC_IO_FABRIC); cmdiocb 9732 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb_cmpl = cmdiocb->fabric_iocb_cmpl; cmdiocb 9733 drivers/scsi/lpfc/lpfc_els.c cmdiocb->fabric_iocb_cmpl = NULL; cmdiocb 9734 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb_flag &= ~LPFC_IO_FABRIC; cmdiocb 9735 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb_cmpl(phba, cmdiocb, rspiocb); cmdiocb 170 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_check_elscmpl_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 179 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 284 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb) cmdiocb 300 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 308 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, cmdiocb 317 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, cmdiocb 327 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, cmdiocb 331 drivers/scsi/lpfc/lpfc_nportdisc.c icmd = &cmdiocb->iocb; cmdiocb 374 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_PLOGI, cmdiocb, cmdiocb 508 drivers/scsi/lpfc/lpfc_nportdisc.c rc = lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, cmdiocb 514 drivers/scsi/lpfc/lpfc_nportdisc.c rc = lpfc_els_rsp_acc(vport, ELS_CMD_PLOGI, cmdiocb, ndlp, mbox); cmdiocb 521 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 558 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb) cmdiocb 571 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 585 drivers/scsi/lpfc/lpfc_nportdisc.c icmd = &cmdiocb->iocb; cmdiocb 599 drivers/scsi/lpfc/lpfc_nportdisc.c memcpy((uint8_t *)elsiocb, (uint8_t *)cmdiocb, cmdiocb 612 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_adisc_acc(vport, cmdiocb, ndlp); cmdiocb 614 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_PLOGI, cmdiocb, cmdiocb 631 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 647 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb, uint32_t els_cmd) cmdiocb 662 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_PRLO, cmdiocb, ndlp, NULL); cmdiocb 664 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 741 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb) cmdiocb 747 drivers/scsi/lpfc/lpfc_nportdisc.c payload = ((struct lpfc_dmabuf *)cmdiocb->context2)->virt; cmdiocb 768 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, cmdiocb 775 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb) cmdiocb 784 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 978 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb; cmdiocb 980 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 982 drivers/scsi/lpfc/lpfc_nportdisc.c if (lpfc_rcv_plogi(vport, ndlp, cmdiocb)) { cmdiocb 1001 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1006 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 1039 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = arg; cmdiocb 1040 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_dmabuf *pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1060 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, cmdiocb 1063 drivers/scsi/lpfc/lpfc_nportdisc.c if (lpfc_rcv_plogi(vport, ndlp, cmdiocb) && cmdiocb 1088 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1094 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 1102 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1106 drivers/scsi/lpfc/lpfc_nportdisc.c ndlp->nlp_rpi = cmdiocb->iocb.ulpIoTag; cmdiocb 1110 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_LOGO); cmdiocb 1120 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1126 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 1151 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb, *rspiocb; cmdiocb 1161 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1162 drivers/scsi/lpfc/lpfc_nportdisc.c rspiocb = cmdiocb->context_un.rsp_iocb; cmdiocb 1174 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; cmdiocb 1429 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb; cmdiocb 1434 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1436 drivers/scsi/lpfc/lpfc_nportdisc.c if (lpfc_rcv_plogi(vport, ndlp, cmdiocb)) { cmdiocb 1457 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1459 drivers/scsi/lpfc/lpfc_nportdisc.c if (lpfc_rcv_prli_support_check(vport, ndlp, cmdiocb)) cmdiocb 1460 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_prli_acc(vport, cmdiocb, ndlp); cmdiocb 1469 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb; cmdiocb 1471 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1476 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_LOGO); cmdiocb 1485 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb; cmdiocb 1487 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1489 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_padisc(vport, ndlp, cmdiocb); cmdiocb 1497 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb; cmdiocb 1499 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1502 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_PRLO); cmdiocb 1513 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb, *rspiocb; cmdiocb 1518 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1519 drivers/scsi/lpfc/lpfc_nportdisc.c rspiocb = cmdiocb->context_un.rsp_iocb; cmdiocb 1521 drivers/scsi/lpfc/lpfc_nportdisc.c ap = (ADISC *)lpfc_check_elscmpl_iocb(phba, cmdiocb, rspiocb); cmdiocb 1616 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1618 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_plogi(vport, ndlp, cmdiocb); cmdiocb 1628 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1631 drivers/scsi/lpfc/lpfc_nportdisc.c if (!lpfc_rcv_prli_support_check(vport, ndlp, cmdiocb)) { cmdiocb 1640 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_prli(vport, ndlp, cmdiocb); cmdiocb 1641 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_prli_acc(vport, cmdiocb, ndlp); cmdiocb 1650 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, cmdiocb 1656 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_prli_acc(vport, cmdiocb, ndlp); cmdiocb 1668 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1674 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1712 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_LOGO); cmdiocb 1722 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1724 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_padisc(vport, ndlp, cmdiocb); cmdiocb 1734 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb; cmdiocb 1736 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1737 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_PRLO, cmdiocb, ndlp, NULL); cmdiocb 1907 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb; cmdiocb 1909 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1911 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_plogi(vport, ndlp, cmdiocb); cmdiocb 1919 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1921 drivers/scsi/lpfc/lpfc_nportdisc.c if (!lpfc_rcv_prli_support_check(vport, ndlp, cmdiocb)) cmdiocb 1923 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_prli_acc(vport, cmdiocb, ndlp); cmdiocb 1931 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1936 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_LOGO); cmdiocb 1944 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1946 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_padisc(vport, ndlp, cmdiocb); cmdiocb 1959 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1961 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_PRLO, cmdiocb, ndlp, NULL); cmdiocb 1970 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb, *rspiocb; cmdiocb 1977 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 1978 drivers/scsi/lpfc/lpfc_nportdisc.c rspiocb = cmdiocb->context_un.rsp_iocb; cmdiocb 1986 drivers/scsi/lpfc/lpfc_nportdisc.c temp_ptr = lpfc_check_elscmpl_iocb(phba, cmdiocb, rspiocb); cmdiocb 1987 drivers/scsi/lpfc/lpfc_nportdisc.c if (cmdiocb->iocb_flag & LPFC_PRLI_FCP_REQ) cmdiocb 1989 drivers/scsi/lpfc/lpfc_nportdisc.c else if (cmdiocb->iocb_flag & LPFC_PRLI_NVME_REQ) cmdiocb 2207 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *)arg; cmdiocb 2213 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 2221 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *)arg; cmdiocb 2227 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 2236 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *)arg; cmdiocb 2241 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 2249 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *)arg; cmdiocb 2255 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 2263 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *)arg; cmdiocb 2269 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 2321 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2323 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_plogi(vport, ndlp, cmdiocb); cmdiocb 2331 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2333 drivers/scsi/lpfc/lpfc_nportdisc.c if (!lpfc_rcv_prli_support_check(vport, ndlp, cmdiocb)) cmdiocb 2336 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_prli(vport, ndlp, cmdiocb); cmdiocb 2337 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_prli_acc(vport, cmdiocb, ndlp); cmdiocb 2345 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2347 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_LOGO); cmdiocb 2355 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2357 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_padisc(vport, ndlp, cmdiocb); cmdiocb 2365 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2367 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_PRLO, cmdiocb, ndlp, NULL); cmdiocb 2394 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2396 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_plogi(vport, ndlp, cmdiocb); cmdiocb 2404 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2406 drivers/scsi/lpfc/lpfc_nportdisc.c if (!lpfc_rcv_prli_support_check(vport, ndlp, cmdiocb)) cmdiocb 2408 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_prli_acc(vport, cmdiocb, ndlp); cmdiocb 2416 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2418 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_LOGO); cmdiocb 2427 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2429 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_padisc(vport, ndlp, cmdiocb); cmdiocb 2438 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2445 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_PRLO); cmdiocb 2472 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2477 drivers/scsi/lpfc/lpfc_nportdisc.c if (lpfc_rcv_plogi(vport, ndlp, cmdiocb)) { cmdiocb 2498 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2504 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); cmdiocb 2527 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2529 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_logo(vport, ndlp, cmdiocb, ELS_CMD_LOGO); cmdiocb 2537 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2539 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_padisc(vport, ndlp, cmdiocb); cmdiocb 2566 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2572 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_acc(vport, ELS_CMD_ACC, cmdiocb, ndlp, NULL); cmdiocb 2594 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb, *rspiocb; cmdiocb 2598 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2599 drivers/scsi/lpfc/lpfc_nportdisc.c rspiocb = cmdiocb->context_un.rsp_iocb; cmdiocb 2615 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb, *rspiocb; cmdiocb 2618 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2619 drivers/scsi/lpfc/lpfc_nportdisc.c rspiocb = cmdiocb->context_un.rsp_iocb; cmdiocb 2649 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_iocbq *cmdiocb, *rspiocb; cmdiocb 2652 drivers/scsi/lpfc/lpfc_nportdisc.c cmdiocb = (struct lpfc_iocbq *) arg; cmdiocb 2653 drivers/scsi/lpfc/lpfc_nportdisc.c rspiocb = cmdiocb->context_un.rsp_iocb; cmdiocb 1750 drivers/scsi/lpfc/lpfc_nvme.c lpfc_nvme_abort_fcreq_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 1757 drivers/scsi/lpfc/lpfc_nvme.c cmdiocb->iocb.un.acxri.abortContextTag, cmdiocb 1758 drivers/scsi/lpfc/lpfc_nvme.c cmdiocb->iocb.un.acxri.abortIoTag, cmdiocb 1759 drivers/scsi/lpfc/lpfc_nvme.c cmdiocb->iotag, cmdiocb 1763 drivers/scsi/lpfc/lpfc_nvme.c lpfc_sli_release_iocbq(phba, cmdiocb); cmdiocb 11024 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_abort_els_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 11037 drivers/scsi/lpfc/lpfc_sli.c abort_context = cmdiocb->iocb.un.acxri.abortContextTag; cmdiocb 11038 drivers/scsi/lpfc/lpfc_sli.c abort_iotag = cmdiocb->iocb.un.acxri.abortIoTag; cmdiocb 11070 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_release_iocbq(phba, cmdiocb); cmdiocb 11086 drivers/scsi/lpfc/lpfc_sli.c lpfc_ignore_els_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 11097 drivers/scsi/lpfc/lpfc_sli.c if (cmdiocb->iocb.ulpCommand == CMD_GEN_REQUEST64_CR) cmdiocb 11098 drivers/scsi/lpfc/lpfc_sli.c lpfc_ct_free_iocb(phba, cmdiocb); cmdiocb 11100 drivers/scsi/lpfc/lpfc_sli.c lpfc_els_free_iocb(phba, cmdiocb); cmdiocb 11118 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_iocbq *cmdiocb) cmdiocb 11120 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 11135 drivers/scsi/lpfc/lpfc_sli.c icmd = &cmdiocb->iocb; cmdiocb 11138 drivers/scsi/lpfc/lpfc_sli.c (cmdiocb->iocb_flag & LPFC_DRIVER_ABORTED) != 0) cmdiocb 11149 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->iocb_flag |= LPFC_DRIVER_ABORTED; cmdiocb 11155 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortIoTag = cmdiocb->sli4_xritag; cmdiocb 11156 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortContextTag = cmdiocb->iotag; cmdiocb 11160 drivers/scsi/lpfc/lpfc_sli.c ndlp = (struct lpfc_nodelist *)(cmdiocb->context1); cmdiocb 11168 drivers/scsi/lpfc/lpfc_sli.c abtsiocbp->hba_wqidx = cmdiocb->hba_wqidx; cmdiocb 11169 drivers/scsi/lpfc/lpfc_sli.c if (cmdiocb->iocb_flag & LPFC_IO_FCP) cmdiocb 11171 drivers/scsi/lpfc/lpfc_sli.c if (cmdiocb->iocb_flag & LPFC_IO_FOF) cmdiocb 11229 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_iocbq *cmdiocb) cmdiocb 11231 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_vport *vport = cmdiocb->vport; cmdiocb 11242 drivers/scsi/lpfc/lpfc_sli.c icmd = &cmdiocb->iocb; cmdiocb 11245 drivers/scsi/lpfc/lpfc_sli.c (cmdiocb->iocb_flag & LPFC_DRIVER_ABORTED) != 0) cmdiocb 11249 drivers/scsi/lpfc/lpfc_sli.c if (cmdiocb->iocb_flag & LPFC_IO_FABRIC) cmdiocb 11250 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->fabric_iocb_cmpl = lpfc_ignore_els_cmpl; cmdiocb 11252 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->iocb_cmpl = lpfc_ignore_els_cmpl; cmdiocb 11262 drivers/scsi/lpfc/lpfc_sli.c if (cmdiocb->iocb_flag & LPFC_IO_FABRIC) cmdiocb 11263 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->fabric_iocb_cmpl = lpfc_ignore_els_cmpl; cmdiocb 11265 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->iocb_cmpl = lpfc_ignore_els_cmpl; cmdiocb 11270 drivers/scsi/lpfc/lpfc_sli.c retval = lpfc_sli_abort_iotag_issue(phba, pring, cmdiocb); cmdiocb 11427 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_abort_fcp_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 11434 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->iocb.un.acxri.abortContextTag, cmdiocb 11435 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->iocb.un.acxri.abortIoTag, cmdiocb 11436 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->iotag, rspiocb->iocb.ulpStatus, cmdiocb 11438 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_release_iocbq(phba, cmdiocb); cmdiocb 17910 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mds_loopback_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, cmdiocb 17913 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_dmabuf *pcmd = cmdiocb->context2; cmdiocb 17918 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_release_iocbq(phba, cmdiocb);