Home
last modified time | relevance | path

Searched refs:sense_sz (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/scsi/
Dqla1280.c3671 int sense_sz; in qla1280_status_entry() local
3721 sense_sz = req_sense_length; in qla1280_status_entry()
3728 sense_sz = CMD_SNSLEN(cmd) - 1; in qla1280_status_entry()
3731 &pkt->req_sense_data, sense_sz); in qla1280_status_entry()
3733 sense_sz = 0; in qla1280_status_entry()
3734 memset(cmd->sense_buffer + sense_sz, 0, in qla1280_status_entry()
3735 SCSI_SENSE_BUFFERSIZE - sense_sz); in qla1280_status_entry()
3740 if (sense_sz) in qla1280_status_entry()
3743 sense_sz); in qla1280_status_entry()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_mr.c2555 uint8_t sense_sz = 0; in qlafx00_status_cont_entry() local
2594 sense_sz = sizeof(pkt->data); in qlafx00_status_cont_entry()
2596 sense_sz = sense_len; in qlafx00_status_cont_entry()
2601 memcpy(sense_ptr, pkt->data, sense_sz); in qlafx00_status_cont_entry()
2603 sense_ptr, sense_sz); in qlafx00_status_cont_entry()
2605 sense_len -= sense_sz; in qlafx00_status_cont_entry()
2606 sense_ptr += sense_sz; in qlafx00_status_cont_entry()
Dqla_isr.c2751 uint8_t sense_sz = 0; in qla2x00_status_cont_entry() local
2775 sense_sz = sizeof(pkt->data); in qla2x00_status_cont_entry()
2777 sense_sz = sense_len; in qla2x00_status_cont_entry()
2782 memcpy(sense_ptr, pkt->data, sense_sz); in qla2x00_status_cont_entry()
2784 sense_ptr, sense_sz); in qla2x00_status_cont_entry()
2786 sense_len -= sense_sz; in qla2x00_status_cont_entry()
2787 sense_ptr += sense_sz; in qla2x00_status_cont_entry()
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c376 int sense_sz; in megasas_create_sg_sense_fusion() local
381 sense_sz = instance->max_mpt_cmds * SCSI_SENSE_BUFFERSIZE; in megasas_create_sg_sense_fusion()
390 sense_sz, 64, 0); in megasas_create_sg_sense_fusion()
418 sense_sz)) { in megasas_create_sg_sense_fusion()
426 sense_sz, roundup_pow_of_two(sense_sz), in megasas_create_sg_sense_fusion()