lpfc_cmd         3903 drivers/scsi/lpfc/lpfc_init.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         3932 drivers/scsi/lpfc/lpfc_init.c 		list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list);
lpfc_cmd         3933 drivers/scsi/lpfc/lpfc_init.c 		if (!lpfc_cmd)
lpfc_cmd         3936 drivers/scsi/lpfc/lpfc_init.c 			list_add_tail(&lpfc_cmd->list, cbuf);
lpfc_cmd         3939 drivers/scsi/lpfc/lpfc_init.c 		xri = lpfc_cmd->cur_iocbq.sli4_xritag;
lpfc_cmd         3945 drivers/scsi/lpfc/lpfc_init.c 					list_add(&lpfc_cmd->list,
lpfc_cmd         3948 drivers/scsi/lpfc/lpfc_init.c 					list_add(&lpfc_cmd->list, cbuf);
lpfc_cmd         3955 drivers/scsi/lpfc/lpfc_init.c 			list_add_tail(&lpfc_cmd->list, cbuf);
lpfc_cmd         3964 drivers/scsi/lpfc/lpfc_init.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         3971 drivers/scsi/lpfc/lpfc_init.c 			list_remove_head(cbuf, lpfc_cmd,
lpfc_cmd         3973 drivers/scsi/lpfc/lpfc_init.c 			if (!lpfc_cmd)
lpfc_cmd         3977 drivers/scsi/lpfc/lpfc_init.c 			lpfc_cmd->hdwq_no = idx;
lpfc_cmd         3978 drivers/scsi/lpfc/lpfc_init.c 			lpfc_cmd->hdwq = qp;
lpfc_cmd         3979 drivers/scsi/lpfc/lpfc_init.c 			lpfc_cmd->cur_iocbq.wqe_cmpl = NULL;
lpfc_cmd         3980 drivers/scsi/lpfc/lpfc_init.c 			lpfc_cmd->cur_iocbq.iocb_cmpl = NULL;
lpfc_cmd         3982 drivers/scsi/lpfc/lpfc_init.c 			list_add_tail(&lpfc_cmd->list,
lpfc_cmd          124 drivers/scsi/lpfc/lpfc_scsi.c 				struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd          126 drivers/scsi/lpfc/lpfc_scsi.c 	struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
lpfc_cmd          144 drivers/scsi/lpfc/lpfc_scsi.c lpfc_update_stats(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd          148 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *cmd = lpfc_cmd->pCmd;
lpfc_cmd          160 drivers/scsi/lpfc/lpfc_scsi.c 	latency = jiffies_to_msecs((long)jiffies - (long)lpfc_cmd->start_time);
lpfc_cmd          161 drivers/scsi/lpfc/lpfc_scsi.c 	rdata = lpfc_cmd->rdata;
lpfc_cmd          594 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_io_buf *lpfc_cmd = NULL;
lpfc_cmd          599 drivers/scsi/lpfc/lpfc_scsi.c 	list_remove_head(scsi_buf_list_get, lpfc_cmd, struct lpfc_io_buf,
lpfc_cmd          601 drivers/scsi/lpfc/lpfc_scsi.c 	if (!lpfc_cmd) {
lpfc_cmd          606 drivers/scsi/lpfc/lpfc_scsi.c 		list_remove_head(scsi_buf_list_get, lpfc_cmd,
lpfc_cmd          612 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_ndlp_check_qdepth(phba, ndlp) && lpfc_cmd) {
lpfc_cmd          614 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->flags |= LPFC_SBUF_BUMP_QDEPTH;
lpfc_cmd          616 drivers/scsi/lpfc/lpfc_scsi.c 	return  lpfc_cmd;
lpfc_cmd          633 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd          651 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd = lpfc_get_io_buf(phba, ndlp, idx,
lpfc_cmd          653 drivers/scsi/lpfc/lpfc_scsi.c 	if (!lpfc_cmd) {
lpfc_cmd          662 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->cur_iocbq.iocb_flag = LPFC_IO_FCP;
lpfc_cmd          663 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->prot_seg_cnt = 0;
lpfc_cmd          664 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->seg_cnt = 0;
lpfc_cmd          665 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->timeout = 0;
lpfc_cmd          666 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->flags = 0;
lpfc_cmd          667 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->start_time = jiffies;
lpfc_cmd          668 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->waitq = NULL;
lpfc_cmd          669 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->cpu = cpu;
lpfc_cmd          671 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->prot_data_type = 0;
lpfc_cmd          673 drivers/scsi/lpfc/lpfc_scsi.c 	tmp = lpfc_get_cmd_rsp_buf_per_hdwq(phba, lpfc_cmd);
lpfc_cmd          675 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_release_io_buf(phba, lpfc_cmd, lpfc_cmd->hdwq);
lpfc_cmd          679 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->fcp_cmnd = tmp->fcp_cmnd;
lpfc_cmd          680 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->fcp_rsp = tmp->fcp_rsp;
lpfc_cmd          687 drivers/scsi/lpfc/lpfc_scsi.c 	sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
lpfc_cmd          710 drivers/scsi/lpfc/lpfc_scsi.c 	iocb = &lpfc_cmd->cur_iocbq.iocb;
lpfc_cmd          724 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_ndlp_check_qdepth(phba, ndlp) && lpfc_cmd) {
lpfc_cmd          726 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->flags |= LPFC_SBUF_BUMP_QDEPTH;
lpfc_cmd          728 drivers/scsi/lpfc/lpfc_scsi.c 	return  lpfc_cmd;
lpfc_cmd          835 drivers/scsi/lpfc/lpfc_scsi.c lpfc_scsi_prep_dma_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd          837 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd;
lpfc_cmd          839 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd          840 drivers/scsi/lpfc/lpfc_scsi.c 	struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl;
lpfc_cmd          841 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_iocbq *iocbq = &lpfc_cmd->cur_iocbq;
lpfc_cmd          842 drivers/scsi/lpfc/lpfc_scsi.c 	IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb;
lpfc_cmd          868 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->seg_cnt = nseg;
lpfc_cmd          869 drivers/scsi/lpfc/lpfc_scsi.c 		if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) {
lpfc_cmd          874 drivers/scsi/lpfc/lpfc_scsi.c 			       lpfc_cmd->seg_cnt);
lpfc_cmd          875 drivers/scsi/lpfc/lpfc_scsi.c 			WARN_ON_ONCE(lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt);
lpfc_cmd          876 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->seg_cnt = 0;
lpfc_cmd          929 drivers/scsi/lpfc/lpfc_scsi.c 			physaddr = lpfc_cmd->dma_handle;
lpfc_cmd          988 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_io_buf *lpfc_cmd = NULL;
lpfc_cmd         1047 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd = (struct lpfc_io_buf *)sc->host_scribble;
lpfc_cmd         1074 drivers/scsi/lpfc/lpfc_scsi.c 					if (lpfc_cmd) {
lpfc_cmd         1075 drivers/scsi/lpfc/lpfc_scsi.c 						lpfc_cmd->prot_data_type =
lpfc_cmd         1077 drivers/scsi/lpfc/lpfc_scsi.c 						lpfc_cmd->prot_data_segment =
lpfc_cmd         1079 drivers/scsi/lpfc/lpfc_scsi.c 						lpfc_cmd->prot_data =
lpfc_cmd         1194 drivers/scsi/lpfc/lpfc_scsi.c 					if (lpfc_cmd) {
lpfc_cmd         1195 drivers/scsi/lpfc/lpfc_scsi.c 						lpfc_cmd->prot_data_type =
lpfc_cmd         1197 drivers/scsi/lpfc/lpfc_scsi.c 						lpfc_cmd->prot_data_segment =
lpfc_cmd         1199 drivers/scsi/lpfc/lpfc_scsi.c 						lpfc_cmd->prot_data =
lpfc_cmd         1948 drivers/scsi/lpfc/lpfc_scsi.c 		struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         2036 drivers/scsi/lpfc/lpfc_scsi.c 			sgl_xtra = lpfc_get_sgl_per_hdwq(phba, lpfc_cmd);
lpfc_cmd         2039 drivers/scsi/lpfc/lpfc_scsi.c 				lpfc_cmd->seg_cnt = 0;
lpfc_cmd         2128 drivers/scsi/lpfc/lpfc_scsi.c 		struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         2197 drivers/scsi/lpfc/lpfc_scsi.c 			sgl_xtra = lpfc_get_sgl_per_hdwq(phba, lpfc_cmd);
lpfc_cmd         2324 drivers/scsi/lpfc/lpfc_scsi.c 								 lpfc_cmd);
lpfc_cmd         2476 drivers/scsi/lpfc/lpfc_scsi.c 		       struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         2478 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *sc = lpfc_cmd->pCmd;
lpfc_cmd         2519 drivers/scsi/lpfc/lpfc_scsi.c 		struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         2521 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd;
lpfc_cmd         2522 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         2523 drivers/scsi/lpfc/lpfc_scsi.c 	struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl;
lpfc_cmd         2524 drivers/scsi/lpfc/lpfc_scsi.c 	IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb;
lpfc_cmd         2550 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->seg_cnt = datasegcnt;
lpfc_cmd         2553 drivers/scsi/lpfc/lpfc_scsi.c 		if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) {
lpfc_cmd         2554 drivers/scsi/lpfc/lpfc_scsi.c 			WARN_ON_ONCE(lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt);
lpfc_cmd         2565 drivers/scsi/lpfc/lpfc_scsi.c 			if ((lpfc_cmd->seg_cnt + 2) > phba->cfg_total_seg_cnt) {
lpfc_cmd         2593 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->prot_seg_cnt = protsegcnt;
lpfc_cmd         2599 drivers/scsi/lpfc/lpfc_scsi.c 			if ((lpfc_cmd->prot_seg_cnt * 4) >
lpfc_cmd         2618 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->seg_cnt = 0;
lpfc_cmd         2638 drivers/scsi/lpfc/lpfc_scsi.c 	fcpdl = lpfc_bg_scsi_adjust_dl(phba, lpfc_cmd);
lpfc_cmd         2657 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->seg_cnt)
lpfc_cmd         2659 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->prot_seg_cnt)
lpfc_cmd         2667 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->seg_cnt, lpfc_cmd->prot_seg_cnt,
lpfc_cmd         2671 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->seg_cnt = 0;
lpfc_cmd         2672 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->prot_seg_cnt = 0;
lpfc_cmd         2711 drivers/scsi/lpfc/lpfc_scsi.c lpfc_calc_bg_err(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         2715 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *cmd = lpfc_cmd->pCmd;
lpfc_cmd         2745 drivers/scsi/lpfc/lpfc_scsi.c 	protsegcnt = lpfc_cmd->prot_seg_cnt;
lpfc_cmd         2896 drivers/scsi/lpfc/lpfc_scsi.c lpfc_parse_bg_err(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd,
lpfc_cmd         2899 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *cmd = lpfc_cmd->pCmd;
lpfc_cmd         3024 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_calc_bg_err(phba, lpfc_cmd);
lpfc_cmd         3044 drivers/scsi/lpfc/lpfc_scsi.c lpfc_scsi_prep_dma_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         3046 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd;
lpfc_cmd         3048 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         3049 drivers/scsi/lpfc/lpfc_scsi.c 	struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
lpfc_cmd         3051 drivers/scsi/lpfc/lpfc_scsi.c 	IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb;
lpfc_cmd         3085 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->seg_cnt = nseg;
lpfc_cmd         3087 drivers/scsi/lpfc/lpfc_scsi.c 		    lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) {
lpfc_cmd         3092 drivers/scsi/lpfc/lpfc_scsi.c 			       lpfc_cmd->seg_cnt);
lpfc_cmd         3093 drivers/scsi/lpfc/lpfc_scsi.c 			WARN_ON_ONCE(lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt);
lpfc_cmd         3094 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->seg_cnt = 0;
lpfc_cmd         3130 drivers/scsi/lpfc/lpfc_scsi.c 							phba, lpfc_cmd);
lpfc_cmd         3133 drivers/scsi/lpfc/lpfc_scsi.c 						lpfc_cmd->seg_cnt = 0;
lpfc_cmd         3234 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->cur_iocbq.iocb_flag |= (LPFC_IO_OAS | LPFC_IO_FOF);
lpfc_cmd         3235 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->cur_iocbq.priority = ((struct lpfc_device_data *)
lpfc_cmd         3257 drivers/scsi/lpfc/lpfc_scsi.c 		struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         3259 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd;
lpfc_cmd         3260 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         3261 drivers/scsi/lpfc/lpfc_scsi.c 	struct sli4_sge *sgl = (struct sli4_sge *)(lpfc_cmd->dma_sgl);
lpfc_cmd         3262 drivers/scsi/lpfc/lpfc_scsi.c 	IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb;
lpfc_cmd         3294 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->seg_cnt = datasegcnt;
lpfc_cmd         3297 drivers/scsi/lpfc/lpfc_scsi.c 		if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt &&
lpfc_cmd         3299 drivers/scsi/lpfc/lpfc_scsi.c 			WARN_ON_ONCE(lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt);
lpfc_cmd         3309 drivers/scsi/lpfc/lpfc_scsi.c 			if (((lpfc_cmd->seg_cnt + 1) >
lpfc_cmd         3317 drivers/scsi/lpfc/lpfc_scsi.c 					datasegcnt, lpfc_cmd);
lpfc_cmd         3340 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->prot_seg_cnt = protsegcnt;
lpfc_cmd         3345 drivers/scsi/lpfc/lpfc_scsi.c 			if (((lpfc_cmd->prot_seg_cnt * 3) >
lpfc_cmd         3353 drivers/scsi/lpfc/lpfc_scsi.c 					datasegcnt, protsegcnt, lpfc_cmd);
lpfc_cmd         3367 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->seg_cnt = 0;
lpfc_cmd         3379 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->cur_iocbq.iocb_flag |= LPFC_IO_DIF_STRIP;
lpfc_cmd         3383 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->cur_iocbq.iocb_flag |= LPFC_IO_DIF_INSERT;
lpfc_cmd         3387 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->cur_iocbq.iocb_flag |= LPFC_IO_DIF_PASS;
lpfc_cmd         3391 drivers/scsi/lpfc/lpfc_scsi.c 	fcpdl = lpfc_bg_scsi_adjust_dl(phba, lpfc_cmd);
lpfc_cmd         3414 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->cur_iocbq.iocb_flag |= (LPFC_IO_OAS | LPFC_IO_FOF);
lpfc_cmd         3418 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->seg_cnt)
lpfc_cmd         3420 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->prot_seg_cnt)
lpfc_cmd         3428 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->seg_cnt, lpfc_cmd->prot_seg_cnt,
lpfc_cmd         3432 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->seg_cnt = 0;
lpfc_cmd         3433 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->prot_seg_cnt = 0;
lpfc_cmd         3450 drivers/scsi/lpfc/lpfc_scsi.c lpfc_scsi_prep_dma_buf(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         3452 drivers/scsi/lpfc/lpfc_scsi.c 	return phba->lpfc_scsi_prep_dma_buf(phba, lpfc_cmd);
lpfc_cmd         3469 drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         3471 drivers/scsi/lpfc/lpfc_scsi.c 	return phba->lpfc_bg_scsi_prep_dma_buf(phba, lpfc_cmd);
lpfc_cmd         3486 drivers/scsi/lpfc/lpfc_scsi.c 		struct lpfc_io_buf *lpfc_cmd, struct lpfc_iocbq *rsp_iocb) {
lpfc_cmd         3487 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *cmnd = lpfc_cmd->pCmd;
lpfc_cmd         3488 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp;
lpfc_cmd         3493 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_nodelist *pnode = lpfc_cmd->rdata->pnode;
lpfc_cmd         3605 drivers/scsi/lpfc/lpfc_scsi.c lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd,
lpfc_cmd         3609 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *cmnd = lpfc_cmd->pCmd;
lpfc_cmd         3610 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_cmnd *fcpcmd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         3611 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp;
lpfc_cmd         3752 drivers/scsi/lpfc/lpfc_scsi.c 				 lpfc_cmd->cur_iocbq.sli4_xritag :
lpfc_cmd         3780 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_send_scsi_error_event(vport->phba, vport, lpfc_cmd, rsp_iocb);
lpfc_cmd         3797 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_io_buf *lpfc_cmd =
lpfc_cmd         3800 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_rport_data *rdata = lpfc_cmd->rdata;
lpfc_cmd         3813 drivers/scsi/lpfc/lpfc_scsi.c 	spin_lock(&lpfc_cmd->buf_lock);
lpfc_cmd         3816 drivers/scsi/lpfc/lpfc_scsi.c 	cmd = lpfc_cmd->pCmd;
lpfc_cmd         3820 drivers/scsi/lpfc/lpfc_scsi.c 		spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         3824 drivers/scsi/lpfc/lpfc_scsi.c 	idx = lpfc_cmd->cur_iocbq.hba_wqidx;
lpfc_cmd         3837 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->result = (pIocbOut->iocb.un.ulpWord[4] & IOERR_PARAM_MASK);
lpfc_cmd         3838 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->status = pIocbOut->iocb.ulpStatus;
lpfc_cmd         3841 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->flags |= LPFC_SBUF_XBUSY;
lpfc_cmd         3843 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->flags &= ~LPFC_SBUF_XBUSY;
lpfc_cmd         3846 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->prot_data_type) {
lpfc_cmd         3849 drivers/scsi/lpfc/lpfc_scsi.c 		src =  (struct scsi_dif_tuple *)lpfc_cmd->prot_data_segment;
lpfc_cmd         3854 drivers/scsi/lpfc/lpfc_scsi.c 		switch (lpfc_cmd->prot_data_type) {
lpfc_cmd         3857 drivers/scsi/lpfc/lpfc_scsi.c 				lpfc_cmd->prot_data;
lpfc_cmd         3861 drivers/scsi/lpfc/lpfc_scsi.c 				(uint16_t)lpfc_cmd->prot_data;
lpfc_cmd         3865 drivers/scsi/lpfc/lpfc_scsi.c 				(uint16_t)lpfc_cmd->prot_data;
lpfc_cmd         3871 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->prot_data = 0;
lpfc_cmd         3872 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->prot_data_type = 0;
lpfc_cmd         3873 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->prot_data_segment = NULL;
lpfc_cmd         3877 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->status) {
lpfc_cmd         3878 drivers/scsi/lpfc/lpfc_scsi.c 		if (lpfc_cmd->status == IOSTAT_LOCAL_REJECT &&
lpfc_cmd         3879 drivers/scsi/lpfc/lpfc_scsi.c 		    (lpfc_cmd->result & IOERR_DRVR_MASK))
lpfc_cmd         3880 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->status = IOSTAT_DRIVER_REJECT;
lpfc_cmd         3881 drivers/scsi/lpfc/lpfc_scsi.c 		else if (lpfc_cmd->status >= IOSTAT_CNT)
lpfc_cmd         3882 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_cmd->status = IOSTAT_DEFAULT;
lpfc_cmd         3883 drivers/scsi/lpfc/lpfc_scsi.c 		if (lpfc_cmd->status == IOSTAT_FCP_RSP_ERROR &&
lpfc_cmd         3884 drivers/scsi/lpfc/lpfc_scsi.c 		    !lpfc_cmd->fcp_rsp->rspStatus3 &&
lpfc_cmd         3885 drivers/scsi/lpfc/lpfc_scsi.c 		    (lpfc_cmd->fcp_rsp->rspStatus2 & RESID_UNDER) &&
lpfc_cmd         3898 drivers/scsi/lpfc/lpfc_scsi.c 			 lpfc_cmd->status, lpfc_cmd->result,
lpfc_cmd         3902 drivers/scsi/lpfc/lpfc_scsi.c 			     lpfc_cmd->cur_iocbq.sli4_xritag : 0xffff,
lpfc_cmd         3904 drivers/scsi/lpfc/lpfc_scsi.c 			 lpfc_cmd->cur_iocbq.iocb.ulpIoTag);
lpfc_cmd         3906 drivers/scsi/lpfc/lpfc_scsi.c 		switch (lpfc_cmd->status) {
lpfc_cmd         3909 drivers/scsi/lpfc/lpfc_scsi.c 			lpfc_handle_fcp_err(vport, lpfc_cmd, pIocbOut);
lpfc_cmd         3920 drivers/scsi/lpfc/lpfc_scsi.c 				(lpfc_cmd->status == IOSTAT_NPORT_BSY) ?
lpfc_cmd         3941 drivers/scsi/lpfc/lpfc_scsi.c 			if (lpfc_cmd->result == IOERR_ELXSEC_KEY_UNWRAP_ERROR ||
lpfc_cmd         3942 drivers/scsi/lpfc/lpfc_scsi.c 			    lpfc_cmd->result ==
lpfc_cmd         3944 drivers/scsi/lpfc/lpfc_scsi.c 			    lpfc_cmd->result == IOERR_ELXSEC_CRYPTO_ERROR ||
lpfc_cmd         3945 drivers/scsi/lpfc/lpfc_scsi.c 			    lpfc_cmd->result ==
lpfc_cmd         3950 drivers/scsi/lpfc/lpfc_scsi.c 			if (lpfc_cmd->result == IOERR_INVALID_RPI ||
lpfc_cmd         3951 drivers/scsi/lpfc/lpfc_scsi.c 			    lpfc_cmd->result == IOERR_NO_RESOURCES ||
lpfc_cmd         3952 drivers/scsi/lpfc/lpfc_scsi.c 			    lpfc_cmd->result == IOERR_ABORT_REQUESTED ||
lpfc_cmd         3953 drivers/scsi/lpfc/lpfc_scsi.c 			    lpfc_cmd->result == IOERR_SLER_CMD_RCV_FAILURE) {
lpfc_cmd         3957 drivers/scsi/lpfc/lpfc_scsi.c 			if ((lpfc_cmd->result == IOERR_RX_DMA_FAILED ||
lpfc_cmd         3958 drivers/scsi/lpfc/lpfc_scsi.c 			     lpfc_cmd->result == IOERR_TX_DMA_FAILED) &&
lpfc_cmd         3965 drivers/scsi/lpfc/lpfc_scsi.c 					lpfc_parse_bg_err(phba, lpfc_cmd,
lpfc_cmd         3975 drivers/scsi/lpfc/lpfc_scsi.c 			if ((lpfc_cmd->status == IOSTAT_REMOTE_STOP)
lpfc_cmd         3983 drivers/scsi/lpfc/lpfc_scsi.c 					lpfc_cmd->cur_iocbq.sli4_lxritag,
lpfc_cmd         3999 drivers/scsi/lpfc/lpfc_scsi.c 	if (cmd->result || lpfc_cmd->fcp_rsp->rspSnsLen) {
lpfc_cmd         4010 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_update_stats(phba, lpfc_cmd);
lpfc_cmd         4012 drivers/scsi/lpfc/lpfc_scsi.c 	   time_after(jiffies, lpfc_cmd->start_time +
lpfc_cmd         4029 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_scsi_unprep_dma_buf(phba, lpfc_cmd);
lpfc_cmd         4031 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->pCmd = NULL;
lpfc_cmd         4032 drivers/scsi/lpfc/lpfc_scsi.c 	spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         4041 drivers/scsi/lpfc/lpfc_scsi.c 	spin_lock(&lpfc_cmd->buf_lock);
lpfc_cmd         4042 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->cur_iocbq.iocb_flag &= ~LPFC_DRIVER_ABORTED;
lpfc_cmd         4043 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->waitq)
lpfc_cmd         4044 drivers/scsi/lpfc/lpfc_scsi.c 		wake_up(lpfc_cmd->waitq);
lpfc_cmd         4045 drivers/scsi/lpfc/lpfc_scsi.c 	spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         4047 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_release_scsi_buf(phba, lpfc_cmd);
lpfc_cmd         4078 drivers/scsi/lpfc/lpfc_scsi.c lpfc_scsi_prep_cmnd(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd,
lpfc_cmd         4082 drivers/scsi/lpfc/lpfc_scsi.c 	struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd;
lpfc_cmd         4083 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         4084 drivers/scsi/lpfc/lpfc_scsi.c 	IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb;
lpfc_cmd         4085 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_iocbq *piocbq = &(lpfc_cmd->cur_iocbq);
lpfc_cmd         4096 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->fcp_rsp->rspSnsLen = 0;
lpfc_cmd         4098 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->fcp_cmnd->fcpCntl2 = 0;
lpfc_cmd         4100 drivers/scsi/lpfc/lpfc_scsi.c 	int_to_scsilun(lpfc_cmd->pCmd->device->lun,
lpfc_cmd         4101 drivers/scsi/lpfc/lpfc_scsi.c 			&lpfc_cmd->fcp_cmnd->fcp_lun);
lpfc_cmd         4114 drivers/scsi/lpfc/lpfc_scsi.c 	idx = lpfc_cmd->hdwq_no;
lpfc_cmd         4172 drivers/scsi/lpfc/lpfc_scsi.c 	piocbq->context1  = lpfc_cmd;
lpfc_cmd         4174 drivers/scsi/lpfc/lpfc_scsi.c 	piocbq->iocb.ulpTimeout = lpfc_cmd->timeout;
lpfc_cmd         4194 drivers/scsi/lpfc/lpfc_scsi.c 			     struct lpfc_io_buf *lpfc_cmd,
lpfc_cmd         4201 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_rport_data *rdata = lpfc_cmd->rdata;
lpfc_cmd         4208 drivers/scsi/lpfc/lpfc_scsi.c 	piocbq = &(lpfc_cmd->cur_iocbq);
lpfc_cmd         4213 drivers/scsi/lpfc/lpfc_scsi.c 	fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         4233 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->timeout > 0xff) {
lpfc_cmd         4240 drivers/scsi/lpfc/lpfc_scsi.c 		piocb->ulpTimeout = lpfc_cmd->timeout;
lpfc_cmd         4243 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_sli4_set_rsp_sgl_last(vport->phba, lpfc_cmd);
lpfc_cmd         4303 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_io_buf *lpfc_cmd =
lpfc_cmd         4305 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd)
lpfc_cmd         4306 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_release_scsi_buf(phba, lpfc_cmd);
lpfc_cmd         4503 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         4572 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd = lpfc_get_scsi_buf(phba, ndlp, cmnd);
lpfc_cmd         4573 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd == NULL) {
lpfc_cmd         4586 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->pCmd  = cmnd;
lpfc_cmd         4587 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->rdata = rdata;
lpfc_cmd         4588 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->ndlp = ndlp;
lpfc_cmd         4589 drivers/scsi/lpfc/lpfc_scsi.c 	cmnd->host_scribble = (unsigned char *)lpfc_cmd;
lpfc_cmd         4603 drivers/scsi/lpfc/lpfc_scsi.c 		err = lpfc_bg_scsi_prep_dma_buf(phba, lpfc_cmd);
lpfc_cmd         4615 drivers/scsi/lpfc/lpfc_scsi.c 		err = lpfc_scsi_prep_dma_buf(phba, lpfc_cmd);
lpfc_cmd         4625 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_scsi_prep_cmnd(vport, lpfc_cmd, ndlp);
lpfc_cmd         4632 drivers/scsi/lpfc/lpfc_scsi.c 					&phba->sli4_hba.hdwq[lpfc_cmd->hdwq_no];
lpfc_cmd         4638 drivers/scsi/lpfc/lpfc_scsi.c 				  &lpfc_cmd->cur_iocbq, SLI_IOCB_RET_IOCB);
lpfc_cmd         4650 drivers/scsi/lpfc/lpfc_scsi.c 				 lpfc_cmd->cur_iocbq.sli4_xritag : 0xffff,
lpfc_cmd         4651 drivers/scsi/lpfc/lpfc_scsi.c 				 lpfc_cmd->cur_iocbq.iocb.ulpContext,
lpfc_cmd         4652 drivers/scsi/lpfc/lpfc_scsi.c 				 lpfc_cmd->cur_iocbq.iocb.ulpIoTag,
lpfc_cmd         4653 drivers/scsi/lpfc/lpfc_scsi.c 				 lpfc_cmd->cur_iocbq.iocb.ulpTimeout,
lpfc_cmd         4668 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_keep_pvt_pool_above_lowwm(phba, lpfc_cmd->hdwq_no);
lpfc_cmd         4673 drivers/scsi/lpfc/lpfc_scsi.c 	idx = lpfc_cmd->hdwq_no;
lpfc_cmd         4674 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_scsi_unprep_dma_buf(phba, lpfc_cmd);
lpfc_cmd         4676 drivers/scsi/lpfc/lpfc_scsi.c 		switch (lpfc_cmd->fcp_cmnd->fcpCntl3) {
lpfc_cmd         4687 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_release_scsi_buf(phba, lpfc_cmd);
lpfc_cmd         4695 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_release_scsi_buf(phba, lpfc_cmd);
lpfc_cmd         4721 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         4733 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd = (struct lpfc_io_buf *)cmnd->host_scribble;
lpfc_cmd         4734 drivers/scsi/lpfc/lpfc_scsi.c 	if (!lpfc_cmd)
lpfc_cmd         4748 drivers/scsi/lpfc/lpfc_scsi.c 	spin_lock(&lpfc_cmd->buf_lock);
lpfc_cmd         4750 drivers/scsi/lpfc/lpfc_scsi.c 	if (!lpfc_cmd->pCmd) {
lpfc_cmd         4758 drivers/scsi/lpfc/lpfc_scsi.c 	iocb = &lpfc_cmd->cur_iocbq;
lpfc_cmd         4781 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->pCmd != cmnd) {
lpfc_cmd         4788 drivers/scsi/lpfc/lpfc_scsi.c 	BUG_ON(iocb->context1 != lpfc_cmd);
lpfc_cmd         4796 drivers/scsi/lpfc/lpfc_scsi.c 		spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         4841 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->waitq = &waitq;
lpfc_cmd         4855 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_cmd->waitq = NULL;
lpfc_cmd         4856 drivers/scsi/lpfc/lpfc_scsi.c 		spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         4864 drivers/scsi/lpfc/lpfc_scsi.c 	spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         4874 drivers/scsi/lpfc/lpfc_scsi.c 			  (lpfc_cmd->pCmd != cmnd),
lpfc_cmd         4877 drivers/scsi/lpfc/lpfc_scsi.c 	spin_lock(&lpfc_cmd->buf_lock);
lpfc_cmd         4879 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd->pCmd == cmnd) {
lpfc_cmd         4889 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->waitq = NULL;
lpfc_cmd         4891 drivers/scsi/lpfc/lpfc_scsi.c 	spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         4898 drivers/scsi/lpfc/lpfc_scsi.c 	spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         4945 drivers/scsi/lpfc/lpfc_scsi.c lpfc_check_fcp_rsp(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd)
lpfc_cmd         4947 drivers/scsi/lpfc/lpfc_scsi.c 	struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp;
lpfc_cmd         5025 drivers/scsi/lpfc/lpfc_scsi.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         5038 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd = lpfc_get_scsi_buf(phba, pnode, NULL);
lpfc_cmd         5039 drivers/scsi/lpfc/lpfc_scsi.c 	if (lpfc_cmd == NULL)
lpfc_cmd         5041 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->timeout = phba->cfg_task_mgmt_tmo;
lpfc_cmd         5042 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->rdata = rdata;
lpfc_cmd         5043 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->pCmd = cmnd;
lpfc_cmd         5044 drivers/scsi/lpfc/lpfc_scsi.c 	lpfc_cmd->ndlp = pnode;
lpfc_cmd         5046 drivers/scsi/lpfc/lpfc_scsi.c 	status = lpfc_scsi_prep_task_mgmt_cmd(vport, lpfc_cmd, lun_id,
lpfc_cmd         5049 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_release_scsi_buf(phba, lpfc_cmd);
lpfc_cmd         5053 drivers/scsi/lpfc/lpfc_scsi.c 	iocbq = &lpfc_cmd->cur_iocbq;
lpfc_cmd         5056 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_release_scsi_buf(phba, lpfc_cmd);
lpfc_cmd         5069 drivers/scsi/lpfc/lpfc_scsi.c 					  iocbq, iocbqrsp, lpfc_cmd->timeout);
lpfc_cmd         5087 drivers/scsi/lpfc/lpfc_scsi.c 				ret = lpfc_check_fcp_rsp(vport, lpfc_cmd);
lpfc_cmd         5101 drivers/scsi/lpfc/lpfc_scsi.c 		lpfc_release_scsi_buf(phba, lpfc_cmd);
lpfc_cmd         1117 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         1130 drivers/scsi/lpfc/lpfc_sli.c 		lpfc_cmd = (struct lpfc_io_buf *) piocbq->context1;
lpfc_cmd         1131 drivers/scsi/lpfc/lpfc_sli.c 		ndlp = lpfc_cmd->rdata->pnode;
lpfc_cmd         9495 drivers/scsi/lpfc/lpfc_sli.c 			struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         9502 drivers/scsi/lpfc/lpfc_sli.c 			lpfc_cmd = iocbq->context1;
lpfc_cmd         9503 drivers/scsi/lpfc/lpfc_sli.c 			sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
lpfc_cmd         9504 drivers/scsi/lpfc/lpfc_sli.c 			fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         9559 drivers/scsi/lpfc/lpfc_sli.c 			struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         9566 drivers/scsi/lpfc/lpfc_sli.c 			lpfc_cmd = iocbq->context1;
lpfc_cmd         9567 drivers/scsi/lpfc/lpfc_sli.c 			sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
lpfc_cmd         9568 drivers/scsi/lpfc/lpfc_sli.c 			fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         9616 drivers/scsi/lpfc/lpfc_sli.c 			struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         9623 drivers/scsi/lpfc/lpfc_sli.c 			lpfc_cmd = iocbq->context1;
lpfc_cmd         9624 drivers/scsi/lpfc/lpfc_sli.c 			sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
lpfc_cmd         9625 drivers/scsi/lpfc/lpfc_sli.c 			fcp_cmnd = lpfc_cmd->fcp_cmnd;
lpfc_cmd         10026 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         10036 drivers/scsi/lpfc/lpfc_sli.c 			lpfc_cmd = (struct lpfc_io_buf *)piocb->context1;
lpfc_cmd         10037 drivers/scsi/lpfc/lpfc_sli.c 			piocb->hba_wqidx = lpfc_cmd->hdwq_no;
lpfc_cmd         11337 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         11347 drivers/scsi/lpfc/lpfc_sli.c 	lpfc_cmd = container_of(iocbq, struct lpfc_io_buf, cur_iocbq);
lpfc_cmd         11349 drivers/scsi/lpfc/lpfc_sli.c 	if (lpfc_cmd->pCmd == NULL)
lpfc_cmd         11354 drivers/scsi/lpfc/lpfc_sli.c 		if ((lpfc_cmd->rdata) && (lpfc_cmd->rdata->pnode) &&
lpfc_cmd         11355 drivers/scsi/lpfc/lpfc_sli.c 		    (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id) &&
lpfc_cmd         11356 drivers/scsi/lpfc/lpfc_sli.c 		    (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id))
lpfc_cmd         11360 drivers/scsi/lpfc/lpfc_sli.c 		if ((lpfc_cmd->rdata) && (lpfc_cmd->rdata->pnode) &&
lpfc_cmd         11361 drivers/scsi/lpfc/lpfc_sli.c 		    (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id))
lpfc_cmd         11574 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         11600 drivers/scsi/lpfc/lpfc_sli.c 		lpfc_cmd = container_of(iocbq, struct lpfc_io_buf, cur_iocbq);
lpfc_cmd         11601 drivers/scsi/lpfc/lpfc_sli.c 		spin_lock(&lpfc_cmd->buf_lock);
lpfc_cmd         11603 drivers/scsi/lpfc/lpfc_sli.c 		if (!lpfc_cmd->pCmd) {
lpfc_cmd         11604 drivers/scsi/lpfc/lpfc_sli.c 			spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         11612 drivers/scsi/lpfc/lpfc_sli.c 				spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         11627 drivers/scsi/lpfc/lpfc_sli.c 			spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         11636 drivers/scsi/lpfc/lpfc_sli.c 			spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         11659 drivers/scsi/lpfc/lpfc_sli.c 		ndlp = lpfc_cmd->rdata->pnode;
lpfc_cmd         11685 drivers/scsi/lpfc/lpfc_sli.c 		spin_unlock(&lpfc_cmd->buf_lock);
lpfc_cmd         11720 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         11749 drivers/scsi/lpfc/lpfc_sli.c 		lpfc_cmd = container_of(cmdiocbq, struct lpfc_io_buf,
lpfc_cmd         11752 drivers/scsi/lpfc/lpfc_sli.c 			lpfc_cmd->flags |= LPFC_SBUF_XBUSY;
lpfc_cmd         11754 drivers/scsi/lpfc/lpfc_sli.c 			lpfc_cmd->flags &= ~LPFC_SBUF_XBUSY;
lpfc_cmd         20481 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_io_buf *lpfc_cmd, *lpfc_cmd_next;
lpfc_cmd         20484 drivers/scsi/lpfc/lpfc_sli.c 	list_for_each_entry_safe(lpfc_cmd, lpfc_cmd_next,
lpfc_cmd         20487 drivers/scsi/lpfc/lpfc_sli.c 					 lpfc_cmd->cur_iocbq.sli4_lxritag))
lpfc_cmd         20490 drivers/scsi/lpfc/lpfc_sli.c 		if (lpfc_cmd->flags & LPFC_SBUF_NOT_POSTED)
lpfc_cmd         20493 drivers/scsi/lpfc/lpfc_sli.c 		list_del_init(&lpfc_cmd->list);
lpfc_cmd         20495 drivers/scsi/lpfc/lpfc_sli.c 		lpfc_cmd->hdwq = qp;
lpfc_cmd         20496 drivers/scsi/lpfc/lpfc_sli.c 		lpfc_cmd->hdwq_no = idx;
lpfc_cmd         20497 drivers/scsi/lpfc/lpfc_sli.c 		return lpfc_cmd;
lpfc_cmd         20526 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_io_buf *lpfc_cmd;
lpfc_cmd         20529 drivers/scsi/lpfc/lpfc_sli.c 	lpfc_cmd = NULL;
lpfc_cmd         20532 drivers/scsi/lpfc/lpfc_sli.c 		lpfc_cmd = lpfc_get_io_buf_from_multixri_pools(
lpfc_cmd         20538 drivers/scsi/lpfc/lpfc_sli.c 			lpfc_cmd = lpfc_io_buf(phba, ndlp, hwqid);
lpfc_cmd         20539 drivers/scsi/lpfc/lpfc_sli.c 		if (!lpfc_cmd) {
lpfc_cmd         20550 drivers/scsi/lpfc/lpfc_sli.c 				lpfc_cmd = lpfc_io_buf(phba, ndlp, hwqid);
lpfc_cmd         20555 drivers/scsi/lpfc/lpfc_sli.c 	return lpfc_cmd;