Lines Matching refs:rsp_len
1528 u32 rsp_len = 0; in ibmvfc_scsi_done() local
1543 rsp_len = be32_to_cpu(rsp->fcp_rsp_len); in ibmvfc_scsi_done()
1544 if ((sense_len + rsp_len) > SCSI_SENSE_BUFFERSIZE) in ibmvfc_scsi_done()
1545 sense_len = SCSI_SENSE_BUFFERSIZE - rsp_len; in ibmvfc_scsi_done()
1546 if ((rsp->flags & FCP_SNS_LEN_VALID) && rsp->fcp_sense_len && rsp_len <= 8) in ibmvfc_scsi_done()
1547 memcpy(cmnd->sense_buffer, rsp->data.sense + rsp_len, sense_len); in ibmvfc_scsi_done()
1825 u32 fc_flags, rsp_len; in ibmvfc_bsg_request() local
1906 mad->iu.rsp_len = cpu_to_be32(job->reply_payload.payload_len); in ibmvfc_bsg_request()
1916 rsp_len = be32_to_cpu(mad->iu.rsp.len); in ibmvfc_bsg_request()
1933 job->reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request()
3643 mad->iu.rsp_len = cpu_to_be32(sizeof(mad->fc_iu.response)); in ibmvfc_init_passthru()