Searched refs:sense_sz (Results 1 – 2 of 2) sorted by relevance
3684 int sense_sz; in qla1280_status_entry() local3734 sense_sz = req_sense_length; in qla1280_status_entry()3741 sense_sz = CMD_SNSLEN(cmd) - 1; in qla1280_status_entry()3744 &pkt->req_sense_data, sense_sz); in qla1280_status_entry()3746 sense_sz = 0; in qla1280_status_entry()3747 memset(cmd->sense_buffer + sense_sz, 0, in qla1280_status_entry()3748 SCSI_SENSE_BUFFERSIZE - sense_sz); in qla1280_status_entry()3753 if (sense_sz) in qla1280_status_entry()3756 sense_sz); in qla1280_status_entry()
1818 uint8_t sense_sz = 0; in qla2x00_status_cont_entry() local1837 sense_sz = sizeof(pkt->data); in qla2x00_status_cont_entry()1839 sense_sz = sp->request_sense_length; in qla2x00_status_cont_entry()1845 memcpy(sp->request_sense_ptr, pkt->data, sense_sz); in qla2x00_status_cont_entry()1846 DEBUG5(qla2x00_dump_buffer(sp->request_sense_ptr, sense_sz)); in qla2x00_status_cont_entry()1848 sp->request_sense_ptr += sense_sz; in qla2x00_status_cont_entry()1849 sp->request_sense_length -= sense_sz; in qla2x00_status_cont_entry()