Lines Matching refs:rsp_len
1817 u32 rsp_len = 0; in ibmvfc_scsi_done() local
1832 rsp_len = be32_to_cpu(rsp->fcp_rsp_len); in ibmvfc_scsi_done()
1833 if ((sense_len + rsp_len) > SCSI_SENSE_BUFFERSIZE) in ibmvfc_scsi_done()
1834 sense_len = SCSI_SENSE_BUFFERSIZE - rsp_len; in ibmvfc_scsi_done()
1835 if ((rsp->flags & FCP_SNS_LEN_VALID) && rsp->fcp_sense_len && rsp_len <= 8) in ibmvfc_scsi_done()
1836 memcpy(cmnd->sense_buffer, rsp->data.sense + rsp_len, sense_len); in ibmvfc_scsi_done()
2142 u32 fc_flags, rsp_len; in ibmvfc_bsg_request() local
2225 mad->iu.rsp_len = cpu_to_be32(job->reply_payload.payload_len); in ibmvfc_bsg_request()
2235 rsp_len = be32_to_cpu(mad->iu.rsp.len); in ibmvfc_bsg_request()
2252 bsg_reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request()
4479 mad->iu.rsp_len = cpu_to_be32(sizeof(mad->fc_iu.response)); in ibmvfc_init_passthru()