Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
Dqla1280.c3600 int sense_sz; in qla1280_status_entry() local
3650 sense_sz = req_sense_length; in qla1280_status_entry()
3657 sense_sz = CMD_SNSLEN(cmd) - 1; in qla1280_status_entry()
3660 &pkt->req_sense_data, sense_sz); in qla1280_status_entry()
3662 sense_sz = 0; in qla1280_status_entry()
3663 memset(cmd->sense_buffer + sense_sz, 0, in qla1280_status_entry()
3664 SCSI_SENSE_BUFFERSIZE - sense_sz); in qla1280_status_entry()
3669 if (sense_sz) in qla1280_status_entry()
3672 sense_sz); in qla1280_status_entry()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_mr.c2556 uint8_t sense_sz = 0; in qlafx00_status_cont_entry() local
2595 sense_sz = sizeof(pkt->data); in qlafx00_status_cont_entry()
2597 sense_sz = sense_len; in qlafx00_status_cont_entry()
2602 memcpy(sense_ptr, pkt->data, sense_sz); in qlafx00_status_cont_entry()
2604 sense_ptr, sense_sz); in qlafx00_status_cont_entry()
2606 sense_len -= sense_sz; in qlafx00_status_cont_entry()
2607 sense_ptr += sense_sz; in qlafx00_status_cont_entry()
Dqla_isr.c2795 uint8_t sense_sz = 0; in qla2x00_status_cont_entry() local
2819 sense_sz = sizeof(pkt->data); in qla2x00_status_cont_entry()
2821 sense_sz = sense_len; in qla2x00_status_cont_entry()
2826 memcpy(sense_ptr, pkt->data, sense_sz); in qla2x00_status_cont_entry()
2828 sense_ptr, sense_sz); in qla2x00_status_cont_entry()
2830 sense_len -= sense_sz; in qla2x00_status_cont_entry()
2831 sense_ptr += sense_sz; in qla2x00_status_cont_entry()
/Linux-v5.4/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c439 int sense_sz; in megasas_create_sg_sense_fusion() local
444 sense_sz = instance->max_mpt_cmds * SCSI_SENSE_BUFFERSIZE; in megasas_create_sg_sense_fusion()
453 sense_sz, 64, 0); in megasas_create_sg_sense_fusion()
481 sense_sz)) { in megasas_create_sg_sense_fusion()
489 sense_sz, roundup_pow_of_two(sense_sz), in megasas_create_sg_sense_fusion()