• Home
  • Raw
  • Download

Lines Matching refs:sense_len

2807 		     uint32_t sense_len, struct rsp_que *rsp, int res)  in qla2x00_handle_sense()  argument
2813 if (sense_len >= SCSI_SENSE_BUFFERSIZE) in qla2x00_handle_sense()
2814 sense_len = SCSI_SENSE_BUFFERSIZE; in qla2x00_handle_sense()
2816 SET_CMD_SENSE_LEN(sp, sense_len); in qla2x00_handle_sense()
2818 track_sense_len = sense_len; in qla2x00_handle_sense()
2820 if (sense_len > par_sense_len) in qla2x00_handle_sense()
2821 sense_len = par_sense_len; in qla2x00_handle_sense()
2823 memcpy(cp->sense_buffer, sense_data, sense_len); in qla2x00_handle_sense()
2825 SET_CMD_SENSE_PTR(sp, cp->sense_buffer + sense_len); in qla2x00_handle_sense()
2826 track_sense_len -= sense_len; in qla2x00_handle_sense()
2834 if (sense_len) { in qla2x00_handle_sense()
2840 cp->sense_buffer, sense_len); in qla2x00_handle_sense()
3136 uint32_t sense_len, par_sense_len, rsp_info_len, resid_len, in qla2x00_status_entry() local
3245 sense_len = par_sense_len = rsp_info_len = resid_len = in qla2x00_status_entry()
3249 sense_len = le32_to_cpu(sts24->sense_len); in qla2x00_status_entry()
3264 sense_len = le16_to_cpu(sts->req_sense_length); in qla2x00_status_entry()
3343 qla2x00_handle_sense(sp, sense_data, par_sense_len, sense_len, in qla2x00_status_entry()
3415 sense_len, rsp, res); in qla2x00_status_entry()
3524 uint32_t sense_len; in qla2x00_status_cont_entry() local
3530 sense_len = GET_CMD_SENSE_LEN(sp); in qla2x00_status_cont_entry()
3542 if (sense_len > sizeof(pkt->data)) in qla2x00_status_cont_entry()
3545 sense_sz = sense_len; in qla2x00_status_cont_entry()
3554 sense_len -= sense_sz; in qla2x00_status_cont_entry()
3558 SET_CMD_SENSE_LEN(sp, sense_len); in qla2x00_status_cont_entry()
3561 if (sense_len == 0) { in qla2x00_status_cont_entry()