Searched refs:fcp_rsp (Results 1 – 16 of 16) sorted by relevance
/drivers/s390/scsi/ |
D | zfcp_fc.h | 272 void zfcp_fc_eval_fcp_rsp(struct fcp_resp_with_ext *fcp_rsp, in zfcp_fc_eval_fcp_rsp() argument 280 scsi->result |= fcp_rsp->resp.fr_status; in zfcp_fc_eval_fcp_rsp() 282 rsp_flags = fcp_rsp->resp.fr_flags; in zfcp_fc_eval_fcp_rsp() 285 rsp_info = (struct fcp_resp_rsp_info *) &fcp_rsp[1]; in zfcp_fc_eval_fcp_rsp() 295 sense = (char *) &fcp_rsp[1]; in zfcp_fc_eval_fcp_rsp() 297 sense += be32_to_cpu(fcp_rsp->ext.fr_rsp_len); in zfcp_fc_eval_fcp_rsp() 298 sense_len = min_t(u32, be32_to_cpu(fcp_rsp->ext.fr_sns_len), in zfcp_fc_eval_fcp_rsp() 304 resid = be32_to_cpu(fcp_rsp->ext.fr_resid); in zfcp_fc_eval_fcp_rsp() 308 fcp_rsp->resp.fr_status == SAM_STAT_GOOD) in zfcp_fc_eval_fcp_rsp() 312 if (fcp_rsp->resp.fr_status == SAM_STAT_GOOD) in zfcp_fc_eval_fcp_rsp()
|
D | zfcp_dbf.h | 266 struct fcp_resp_with_ext fcp_rsp; member 332 struct fcp_resp *fcp_rsp; in zfcp_dbf_hba_fsf_resp_suppress() local 337 fcp_rsp = &qtcb->bottom.io.fcp_rsp.iu.resp; in zfcp_dbf_hba_fsf_resp_suppress() 338 rsp_flags = fcp_rsp->fr_flags; in zfcp_dbf_hba_fsf_resp_suppress() 339 fr_status = fcp_rsp->fr_status; in zfcp_dbf_hba_fsf_resp_suppress()
|
D | zfcp_dbf.c | 636 struct fcp_resp_with_ext *fcp_rsp; in zfcp_dbf_scsi_common() local 671 fcp_rsp = &(fsf->qtcb->bottom.io.fcp_rsp.iu); in zfcp_dbf_scsi_common() 673 memcpy(&rec->fcp_rsp, fcp_rsp, FCP_RESP_WITH_EXT); in zfcp_dbf_scsi_common() 674 if (fcp_rsp->resp.fr_flags & FCP_RSP_LEN_VAL) { in zfcp_dbf_scsi_common() 675 fcp_rsp_info = (struct fcp_resp_rsp_info *) &fcp_rsp[1]; in zfcp_dbf_scsi_common() 677 rec->pl_len += be32_to_cpu(fcp_rsp->ext.fr_rsp_len); in zfcp_dbf_scsi_common() 679 if (fcp_rsp->resp.fr_flags & FCP_SNS_LEN_VAL) { in zfcp_dbf_scsi_common() 680 rec->pl_len += be32_to_cpu(fcp_rsp->ext.fr_sns_len); in zfcp_dbf_scsi_common() 685 if (fcp_rsp->resp.fr_flags != 0) in zfcp_dbf_scsi_common() 687 dbf, fcp_rsp, in zfcp_dbf_scsi_common()
|
D | zfcp_fsf.c | 2462 struct fcp_resp_with_ext *fcp_rsp; in zfcp_fsf_fcp_cmnd_handler() local 2496 fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu; in zfcp_fsf_fcp_cmnd_handler() 2497 zfcp_fc_eval_fcp_rsp(fcp_rsp, scpnt); in zfcp_fsf_fcp_cmnd_handler() 2652 struct fcp_resp_with_ext *fcp_rsp; in zfcp_fsf_fcp_task_mgmt_handler() local 2657 fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu; in zfcp_fsf_fcp_task_mgmt_handler() 2658 rsp_info = (struct fcp_resp_rsp_info *) &fcp_rsp[1]; in zfcp_fsf_fcp_task_mgmt_handler()
|
D | zfcp_fsf.h | 351 } fcp_rsp; member
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_io.c | 26 struct fcoe_fcp_rsp_payload *fcp_rsp, 1760 struct fcoe_fcp_rsp_payload *fcp_rsp, in bnx2fc_parse_fcp_rsp() argument 1764 u8 rsp_flags = fcp_rsp->fcp_flags.flags; in bnx2fc_parse_fcp_rsp() 1773 io_req->fcp_resid = fcp_rsp->fcp_resid; in bnx2fc_parse_fcp_rsp() 1777 fcp_rsp->scsi_status_code; in bnx2fc_parse_fcp_rsp() 1791 = fcp_rsp->fcp_rsp_len; in bnx2fc_parse_fcp_rsp() 1796 fcp_sns_len = fcp_rsp->fcp_sns_len; in bnx2fc_parse_fcp_rsp() 1797 rq_buff_len += fcp_rsp->fcp_sns_len; in bnx2fc_parse_fcp_rsp() 1911 struct fcoe_fcp_rsp_payload *fcp_rsp; in bnx2fc_process_scsi_cmd_compl() local 1943 fcp_rsp = (struct fcoe_fcp_rsp_payload *) in bnx2fc_process_scsi_cmd_compl() [all …]
|
D | bnx2fc.h | 444 struct fcp_rsp *rsp;
|
D | 57xx_hsi_bnx2fc.h | 199 struct fcoe_fcp_rsp_union fcp_rsp; member
|
/drivers/scsi/qedf/ |
D | qedf_io.c | 1052 struct fcoe_cqe_rsp_info *fcp_rsp) in qedf_parse_fcp_rsp() argument 1056 u8 rsp_flags = fcp_rsp->rsp_flags.flags; in qedf_parse_fcp_rsp() 1065 io_req->fcp_resid = fcp_rsp->fcp_resid; in qedf_parse_fcp_rsp() 1069 fcp_rsp->scsi_status_code; in qedf_parse_fcp_rsp() 1073 fcp_rsp_len = fcp_rsp->fcp_rsp_len; in qedf_parse_fcp_rsp() 1077 fcp_sns_len = fcp_rsp->fcp_sns_len; in qedf_parse_fcp_rsp() 1123 struct fcoe_cqe_rsp_info *fcp_rsp; in qedf_scsi_completion() local 1146 fcp_rsp = &cqe->cqe_info.rsp_info; in qedf_scsi_completion() 1186 qedf_parse_fcp_rsp(io_req, fcp_rsp); in qedf_scsi_completion() 1205 io_req->xid, fcp_rsp->rsp_flags.flags, in qedf_scsi_completion() [all …]
|
/drivers/scsi/lpfc/ |
D | lpfc_sli.h | 436 struct fcp_rsp *fcp_rsp; member
|
D | lpfc_scsi.c | 328 (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp)); in lpfc_new_scsi_buf_s3() 334 (int)sizeof(struct fcp_rsp), bpl_size); in lpfc_new_scsi_buf_s3() 366 psb->fcp_rsp = psb->data + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 368 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3() 375 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3() 391 bpl[1].tus.f.bdeSize = sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3() 415 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3() 714 lpfc_cmd->fcp_rsp = tmp->fcp_rsp; in lpfc_get_scsi_buf_s4() 738 sgl->sge_len = cpu_to_le32(sizeof(struct fcp_rsp)); in lpfc_get_scsi_buf_s4() 972 sizeof(struct fcp_rsp) + in lpfc_scsi_prep_dma_buf_s3() [all …]
|
D | lpfc_scsi.h | 61 struct fcp_rsp { struct
|
D | lpfc_hw4.h | 2121 struct fcp_rsp *fcp_rsp; member
|
D | lpfc_init.c | 7630 sizeof(struct fcp_rsp) + in lpfc_sli_driver_resource_setup() 7645 sizeof(struct fcp_rsp) + in lpfc_sli_driver_resource_setup() 7683 sizeof(struct fcp_rsp), in lpfc_sli_driver_resource_setup() 8053 sizeof(struct fcp_rsp) + max_buf_size; in lpfc_sli4_driver_resource_setup() 8075 sizeof(struct fcp_rsp) + in lpfc_sli4_driver_resource_setup() 8136 sizeof(struct fcp_rsp), in lpfc_sli4_driver_resource_setup()
|
D | lpfc_sli.c | 10704 xmit_len + sizeof(struct fcp_rsp)); in lpfc_sli4_iocb2wqe() 10768 xmit_len + sizeof(struct fcp_rsp)); in lpfc_sli4_iocb2wqe() 10832 xmit_len + sizeof(struct fcp_rsp)); in lpfc_sli4_iocb2wqe() 22663 tmp->fcp_rsp = (struct fcp_rsp *)((uint8_t *)tmp->fcp_cmnd + in lpfc_get_cmd_rsp_buf_per_hdwq()
|
/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 2501 struct fcoe_fcp_rsp_union fcp_rsp; member
|