Home
last modified time | relevance | path

Searched refs:fcp_rsp (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/s390/scsi/
Dzfcp_fc.h272 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()
Dzfcp_dbf.h266 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()
Dzfcp_dbf.c636 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()
Dzfcp_fsf.c2462 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()
Dzfcp_fsf.h351 } fcp_rsp; member
/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_io.c26 struct fcoe_fcp_rsp_payload *fcp_rsp,
1758 struct fcoe_fcp_rsp_payload *fcp_rsp, in bnx2fc_parse_fcp_rsp() argument
1762 u8 rsp_flags = fcp_rsp->fcp_flags.flags; in bnx2fc_parse_fcp_rsp()
1771 io_req->fcp_resid = fcp_rsp->fcp_resid; in bnx2fc_parse_fcp_rsp()
1774 io_req->cdb_status = fcp_rsp->scsi_status_code; in bnx2fc_parse_fcp_rsp()
1788 = fcp_rsp->fcp_rsp_len; in bnx2fc_parse_fcp_rsp()
1793 fcp_sns_len = fcp_rsp->fcp_sns_len; in bnx2fc_parse_fcp_rsp()
1794 rq_buff_len += fcp_rsp->fcp_sns_len; in bnx2fc_parse_fcp_rsp()
1908 struct fcoe_fcp_rsp_payload *fcp_rsp; in bnx2fc_process_scsi_cmd_compl() local
1940 fcp_rsp = (struct fcoe_fcp_rsp_payload *) in bnx2fc_process_scsi_cmd_compl()
[all …]
D57xx_hsi_bnx2fc.h199 struct fcoe_fcp_rsp_union fcp_rsp; member
Dbnx2fc.h442 struct fcp_rsp *rsp;
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_io.c1051 struct fcoe_cqe_rsp_info *fcp_rsp) in qedf_parse_fcp_rsp() argument
1055 u8 rsp_flags = fcp_rsp->rsp_flags.flags; in qedf_parse_fcp_rsp()
1064 io_req->fcp_resid = fcp_rsp->fcp_resid; in qedf_parse_fcp_rsp()
1067 io_req->cdb_status = fcp_rsp->scsi_status_code; in qedf_parse_fcp_rsp()
1071 fcp_rsp_len = fcp_rsp->fcp_rsp_len; in qedf_parse_fcp_rsp()
1075 fcp_sns_len = fcp_rsp->fcp_sns_len; in qedf_parse_fcp_rsp()
1121 struct fcoe_cqe_rsp_info *fcp_rsp; in qedf_scsi_completion() local
1144 fcp_rsp = &cqe->cqe_info.rsp_info; in qedf_scsi_completion()
1184 qedf_parse_fcp_rsp(io_req, fcp_rsp); in qedf_scsi_completion()
1203 io_req->xid, fcp_rsp->rsp_flags.flags, in qedf_scsi_completion()
[all …]
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_scsi.h61 struct fcp_rsp { struct
Dlpfc_scsi.c266 (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp)); in lpfc_new_scsi_buf_s3()
272 (int)sizeof(struct fcp_rsp), bpl_size); in lpfc_new_scsi_buf_s3()
304 psb->fcp_rsp = psb->data + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
306 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
313 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
329 bpl[1].tus.f.bdeSize = sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
353 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
652 lpfc_cmd->fcp_rsp = tmp->fcp_rsp; in lpfc_get_scsi_buf_s4()
676 sgl->sge_len = cpu_to_le32(sizeof(struct fcp_rsp)); in lpfc_get_scsi_buf_s4()
910 sizeof(struct fcp_rsp) + in lpfc_scsi_prep_dma_buf_s3()
[all …]
Dlpfc_sli.h452 struct fcp_rsp *fcp_rsp; member
Dlpfc_hw4.h2162 struct fcp_rsp *fcp_rsp; member
Dlpfc_init.c7798 sizeof(struct fcp_rsp) + in lpfc_sli_driver_resource_setup()
7813 sizeof(struct fcp_rsp) + in lpfc_sli_driver_resource_setup()
7851 sizeof(struct fcp_rsp), in lpfc_sli_driver_resource_setup()
8235 sizeof(struct fcp_rsp) + max_buf_size; in lpfc_sli4_driver_resource_setup()
8257 sizeof(struct fcp_rsp) + in lpfc_sli4_driver_resource_setup()
8320 sizeof(struct fcp_rsp), in lpfc_sli4_driver_resource_setup()
Dlpfc_sli.c22382 tmp->fcp_rsp = (struct fcp_rsp *)((uint8_t *)tmp->fcp_cmnd + in lpfc_get_cmd_rsp_buf_per_hdwq()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic_defs.h2501 struct fcoe_fcp_rsp_union fcp_rsp; member
/linux-6.1.9/Documentation/scsi/
DChangeLog.lpfc1027 * Changed FCP_RSP to struct fcp_rsp.