/drivers/scsi/ |
D | constants.c | 1248 scsi_decode_sense_buffer(const unsigned char *sense_buffer, int sense_len, in scsi_decode_sense_buffer() argument 1253 res = scsi_normalize_sense(sense_buffer, sense_len, sshdr); in scsi_decode_sense_buffer() 1256 num = (sense_len < 32) ? sense_len : 32; in scsi_decode_sense_buffer() 1271 scsi_decode_sense_extras(const unsigned char *sense_buffer, int sense_len, in scsi_decode_sense_extras() argument 1315 num = (sense_len < num) ? sense_len : num; in scsi_decode_sense_extras() 1333 int sense_len) in __scsi_print_sense() argument 1338 scsi_decode_sense_buffer(sense_buffer, sense_len, &sshdr); in __scsi_print_sense() 1340 scsi_decode_sense_extras(sense_buffer, sense_len, &sshdr); in __scsi_print_sense()
|
D | gdth_ioctl.h | 106 ulong32 sense_len; /* sense data length */ member 125 ulong32 sense_len; /* sense data length */ member 280 ulong sense_len; /* sense buffer size */ member
|
D | scsi_tgt_priv.h | 24 unsigned long sense_uaddr, u32 sense_len, u8 rw);
|
D | scsi_tgt_lib.c | 450 u32 sense_len, u8 rw) in scsi_tgt_kspace_exec() argument 498 scsi_tgt_copy_sense(cmd, sense_uaddr, sense_len); in scsi_tgt_kspace_exec()
|
D | a100u2w.h | 161 u8 sense_len; /*20 Sense Allocation Length */ member
|
D | eata.c | 758 unchar sense_len; member 781 unchar sense_len; /* Request Sense Length */ 1627 cpp->sense_len = SCSI_SENSE_BUFFERSIZE; in map_dma() 1663 DEV2H(cpp->sense_len), PCI_DMA_FROMDEVICE); in unmap_dma() 1689 DEV2H(cpp->sense_len), in sync_dma()
|
D | gdth.c | 2674 cmdp->u.raw64.sense_len = 16; in gdth_fill_raw_cmd() 2691 cmdp->u.raw.sense_len = 16; in gdth_fill_raw_cmd() 4177 if (gen.data_len + gen.sense_len != 0) { in ioc_general() 4178 if (!(buf = gdth_ioctl_alloc(ha, gen.data_len + gen.sense_len, in ioc_general() 4182 gen.data_len + gen.sense_len)) { in ioc_general() 4183 gdth_ioctl_free(ha, gen.data_len+gen.sense_len, buf, paddr); in ioc_general() 4222 gen.command.u.raw64.sense_len = gen.command.u.raw.sense_len; in ioc_general() 4257 gdth_ioctl_free(ha, gen.data_len+gen.sense_len, buf, paddr); in ioc_general() 4268 gen.data_len + gen.sense_len)) { in ioc_general() 4269 gdth_ioctl_free(ha, gen.data_len+gen.sense_len, buf, paddr); in ioc_general() [all …]
|
D | u14-34f.c | 571 unsigned char sense_len; member 1127 cpp->sense_len = SCSI_SENSE_BUFFERSIZE; in map_dma() 1163 DEV2H(cpp->sense_len), PCI_DMA_FROMDEVICE); in unmap_dma() 1184 DEV2H(cpp->sense_len), PCI_DMA_FROMDEVICE); in sync_dma()
|
D | scsi_tgt_if.c | 216 ev->p.cmd_rsp.sense_len, in event_recv_msg()
|
D | scsi_lib.c | 226 req->sense_len = 0; in scsi_execute() 451 req->sense_len = 0; in scsi_execute_async() 961 req->sense_len = len; in scsi_io_completion()
|
D | a100u2w.c | 889 scb->sense_len = SENSE_SIZE; in inia100_build_scb()
|
D | advansys.c | 313 uchar sense_len; member 351 uchar sense_len; member 1852 uchar sense_len; member 2628 (ulong)le32_to_cpu(q->q1.sense_addr), q->q1.sense_len); in asc_prt_asc_scsi_q() 2705 (ulong)le32_to_cpu(q->sense_addr), q->sense_len); in asc_prt_adv_scsi_req_q() 9089 scsiq->sense_len = (uchar)_val; in _AscCopyLramScsiDoneQ() 9917 asc_scsi_q->q1.sense_len = SCSI_SENSE_BUFFERSIZE; in asc_build_req() 10176 scsiqp->sense_len = SCSI_SENSE_BUFFERSIZE; in adv_build_req()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_alua.c | 142 rq->sense_len = h->senselen = 0; in submit_std_inquiry() 149 h->senselen = rq->sense_len; in submit_std_inquiry() 179 rq->sense_len = h->senselen = 0; in submit_vpd_inquiry() 186 h->senselen = rq->sense_len; in submit_vpd_inquiry() 218 rq->sense_len = h->senselen = 0; in submit_rtpg() 225 h->senselen = rq->sense_len; in submit_rtpg() 268 rq->sense_len = h->senselen = 0; in submit_stpg() 275 h->senselen = rq->sense_len; in submit_stpg()
|
D | scsi_dh_hp_sw.c | 123 req->sense_len = 0; in hp_sw_tur() 127 if (req->sense_len > 0) { in hp_sw_tur() 219 req->sense_len = 0; in hp_sw_start_stop() 224 if (req->sense_len > 0) { in hp_sw_start_stop()
|
D | scsi_dh_emc.c | 330 rq->sense_len = csdev->senselen = 0; in send_inquiry_cmd() 343 csdev->senselen = rq->sense_len; in send_inquiry_cmd() 383 rq->sense_len = csdev->senselen = 0; in send_trespass_cmd() 387 if (rq->sense_len) { in send_trespass_cmd()
|
D | scsi_dh_rdac.c | 290 rq->sense_len = 0; in rdac_failover_get() 355 rq->sense_len = 0; in submit_inquiry()
|
/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 951 qla2x00_handle_sense(srb_t *sp, uint8_t *sense_data, uint32_t sense_len) in qla2x00_handle_sense() argument 955 if (sense_len >= SCSI_SENSE_BUFFERSIZE) in qla2x00_handle_sense() 956 sense_len = SCSI_SENSE_BUFFERSIZE; in qla2x00_handle_sense() 958 CMD_ACTUAL_SNSLEN(cp) = sense_len; in qla2x00_handle_sense() 959 sp->request_sense_length = sense_len; in qla2x00_handle_sense() 962 sense_len = 32; in qla2x00_handle_sense() 964 memcpy(cp->sense_buffer, sense_data, sense_len); in qla2x00_handle_sense() 966 sp->request_sense_ptr += sense_len; in qla2x00_handle_sense() 967 sp->request_sense_length -= sense_len; in qla2x00_handle_sense() 975 if (sense_len) in qla2x00_handle_sense() [all …]
|
D | qla_fw.h | 497 uint32_t sense_len; /* FCP SENSE length. */ member
|
/drivers/scsi/megaraid/ |
D | megaraid_sas.h | 657 u8 sense_len; /*01h */ member 724 u8 sense_len; /*01h */ member 753 u8 sense_len; /*01h */ member 1163 u32 sense_len; member 1187 u32 sense_len; member
|
D | megaraid_sas.c | 703 pthru->sense_len = SCSI_SENSE_BUFFERSIZE; in megasas_build_dcdb() 821 ldio->sense_len = SCSI_SENSE_BUFFERSIZE; in megasas_build_ldio() 1432 hdr->sense_len); in megasas_complete_cmd() 3103 if (ioc->sense_len) { in megasas_mgmt_fw_ioctl() 3104 sense = dma_alloc_coherent(&instance->pdev->dev, ioc->sense_len, in megasas_mgmt_fw_ioctl() 3138 if (ioc->sense_len) { in megasas_mgmt_fw_ioctl() 3147 sense, ioc->sense_len)) { in megasas_mgmt_fw_ioctl() 3166 dma_free_coherent(&instance->pdev->dev, ioc->sense_len, in megasas_mgmt_fw_ioctl() 3292 copy_in_user(&ioc->sense_len, &cioc->sense_len, sizeof(u32)) || in megasas_mgmt_compat_ioctl_fw()
|
/drivers/ide/ |
D | ide-cd.c | 269 failed->sense_len = rq->sense_len; in cdrom_end_request() 945 rq->sense_len += blen; in cdrom_newpc_intr()
|
/drivers/block/ |
D | cciss.c | 2630 if (cmd->rq->sense_len > cmd->err_info->SenseLen) in evaluate_target_status() 2631 cmd->rq->sense_len = cmd->err_info->SenseLen; in evaluate_target_status() 2633 cmd->rq->sense_len); in evaluate_target_status() 2635 cmd->rq->sense_len = 0; in evaluate_target_status()
|
D | ub.c | 802 rq->sense_len = UB_SENSE_SIZE; in ub_rw_cmd_done()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 1465 u32 sense_len = rsp->fcp_sense_len; in ibmvfc_scsi_done() local 1480 if ((sense_len + rsp_len) > SCSI_SENSE_BUFFERSIZE) in ibmvfc_scsi_done() 1481 sense_len = SCSI_SENSE_BUFFERSIZE - rsp_len; in ibmvfc_scsi_done() 1483 memcpy(cmnd->sense_buffer, rsp->data.sense + rsp_len, sense_len); in ibmvfc_scsi_done()
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 6823 inot->sense_len = 0; in ahc_send_lstate_events() 7921 atio->sense_len = 0; in ahc_handle_target_cmd()
|