Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/
Dqla1280.c3594 int sense_sz; in qla1280_status_entry() local
3639 sense_sz = req_sense_length; in qla1280_status_entry()
3646 sense_sz = CMD_SNSLEN(cmd) - 1; in qla1280_status_entry()
3649 &pkt->req_sense_data, sense_sz); in qla1280_status_entry()
3651 sense_sz = 0; in qla1280_status_entry()
3652 memset(cmd->sense_buffer + sense_sz, 0, in qla1280_status_entry()
3653 SCSI_SENSE_BUFFERSIZE - sense_sz); in qla1280_status_entry()
3659 if (sense_sz) in qla1280_status_entry()
3662 sense_sz); in qla1280_status_entry()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_mr.c2529 uint8_t sense_sz = 0; in qlafx00_status_cont_entry() local
2568 sense_sz = sizeof(pkt->data); in qlafx00_status_cont_entry()
2570 sense_sz = sense_len; in qlafx00_status_cont_entry()
2575 memcpy(sense_ptr, pkt->data, sense_sz); in qlafx00_status_cont_entry()
2577 sense_ptr, sense_sz); in qlafx00_status_cont_entry()
2579 sense_len -= sense_sz; in qlafx00_status_cont_entry()
2580 sense_ptr += sense_sz; in qlafx00_status_cont_entry()
Dqla_isr.c3695 uint8_t sense_sz = 0; in qla2x00_status_cont_entry() local
3719 sense_sz = sizeof(pkt->data); in qla2x00_status_cont_entry()
3721 sense_sz = sense_len; in qla2x00_status_cont_entry()
3726 memcpy(sense_ptr, pkt->data, sense_sz); in qla2x00_status_cont_entry()
3728 sense_ptr, sense_sz); in qla2x00_status_cont_entry()
3730 sense_len -= sense_sz; in qla2x00_status_cont_entry()
3731 sense_ptr += sense_sz; in qla2x00_status_cont_entry()
/linux-6.6.21/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c487 int sense_sz; in megasas_create_sg_sense_fusion() local
492 sense_sz = instance->max_mpt_cmds * SCSI_SENSE_BUFFERSIZE; in megasas_create_sg_sense_fusion()
501 sense_sz, 64, 0); in megasas_create_sg_sense_fusion()
529 sense_sz)) { in megasas_create_sg_sense_fusion()
537 sense_sz, roundup_pow_of_two(sense_sz), in megasas_create_sg_sense_fusion()
/linux-6.6.21/drivers/scsi/mpt3sas/
Dmpt3sas_base.c6274 u32 rdpq_sz = 0, sense_sz = 0; in _base_allocate_memory_pools() local
6618 sense_sz = ioc->scsiio_depth * SCSI_SENSE_BUFFERSIZE; in _base_allocate_memory_pools()
6619 rc = _base_allocate_sense_dma_pool(ioc, sense_sz); in _base_allocate_memory_pools()
6624 total_sz += sense_sz; in _base_allocate_memory_pools()