/linux-2.6.39/drivers/scsi/ |
D | constants.c | 1304 scsi_decode_sense_buffer(const unsigned char *sense_buffer, int sense_len, in scsi_decode_sense_buffer() argument 1309 res = scsi_normalize_sense(sense_buffer, sense_len, sshdr); in scsi_decode_sense_buffer() 1312 num = (sense_len < 32) ? sense_len : 32; in scsi_decode_sense_buffer() 1327 scsi_decode_sense_extras(const unsigned char *sense_buffer, int sense_len, in scsi_decode_sense_extras() argument 1371 num = (sense_len < num) ? sense_len : num; in scsi_decode_sense_extras() 1389 int sense_len) in __scsi_print_sense() argument 1394 scsi_decode_sense_buffer(sense_buffer, sense_len, &sshdr); in __scsi_print_sense() 1396 scsi_decode_sense_extras(sense_buffer, sense_len, &sshdr); in __scsi_print_sense()
|
D | gdth_ioctl.h | 98 u32 sense_len; /* sense data length */ member 117 u32 sense_len; /* sense data length */ member 272 unsigned long sense_len; /* sense buffer size */ member
|
D | scsi_tgt_priv.h | 24 unsigned long sense_uaddr, u32 sense_len, u8 rw);
|
D | a100u2w.h | 161 u8 sense_len; /*20 Sense Allocation Length */ member
|
D | scsi_tgt_lib.c | 452 u32 sense_len, u8 rw) in scsi_tgt_kspace_exec() argument 500 scsi_tgt_copy_sense(cmd, sense_uaddr, sense_len); in scsi_tgt_kspace_exec()
|
D | gdth.c | 2677 cmdp->u.raw64.sense_len = 16; in gdth_fill_raw_cmd() 2694 cmdp->u.raw.sense_len = 16; in gdth_fill_raw_cmd() 4185 if (gen.sense_len > INT_MAX) in ioc_general() 4187 if (gen.data_len + gen.sense_len > INT_MAX) in ioc_general() 4190 if (gen.data_len + gen.sense_len != 0) { in ioc_general() 4191 if (!(buf = gdth_ioctl_alloc(ha, gen.data_len + gen.sense_len, in ioc_general() 4195 gen.data_len + gen.sense_len)) { in ioc_general() 4196 gdth_ioctl_free(ha, gen.data_len+gen.sense_len, buf, paddr); in ioc_general() 4235 gen.command.u.raw64.sense_len = gen.command.u.raw.sense_len; in ioc_general() 4270 gdth_ioctl_free(ha, gen.data_len+gen.sense_len, buf, paddr); in ioc_general() [all …]
|
/linux-2.6.39/drivers/scsi/qla4xxx/ |
D | ql4_isr.c | 24 uint16_t sense_len; in qla4xxx_copy_sense() local 27 sense_len = le16_to_cpu(sts_entry->senseDataByteCnt); in qla4xxx_copy_sense() 28 if (sense_len == 0) in qla4xxx_copy_sense() 33 sense_len = min_t(uint16_t, sense_len, SCSI_SENSE_BUFFERSIZE); in qla4xxx_copy_sense() 35 srb->req_sense_len = sense_len; in qla4xxx_copy_sense() 38 sense_len = min_t(uint16_t, sense_len, IOCB_MAX_SENSEDATA_LEN); in qla4xxx_copy_sense() 39 memcpy(cmd->sense_buffer, sts_entry->senseData, sense_len); in qla4xxx_copy_sense() 50 DEBUG5(qla4xxx_dump_buffer(cmd->sense_buffer, sense_len)); in qla4xxx_copy_sense() 54 srb->req_sense_ptr += sense_len; in qla4xxx_copy_sense() 55 srb->req_sense_len -= sense_len; in qla4xxx_copy_sense() [all …]
|
/linux-2.6.39/drivers/s390/scsi/ |
D | zfcp_fc.h | 260 u32 sense_len, resid; in zfcp_fc_eval_fcp_rsp() local 282 sense_len = min(fcp_rsp->ext.fr_sns_len, in zfcp_fc_eval_fcp_rsp() 284 memcpy(scsi->sense_buffer, sense, sense_len); in zfcp_fc_eval_fcp_rsp()
|
/linux-2.6.39/drivers/scsi/device_handler/ |
D | scsi_dh_alua.c | 152 rq->sense_len = h->senselen = 0; in submit_std_inquiry() 159 h->senselen = rq->sense_len; in submit_std_inquiry() 189 rq->sense_len = h->senselen = 0; in submit_vpd_inquiry() 196 h->senselen = rq->sense_len; in submit_vpd_inquiry() 228 rq->sense_len = h->senselen = 0; in submit_rtpg() 235 h->senselen = rq->sense_len; in submit_rtpg() 333 rq->sense_len = h->senselen = 0; in submit_stpg()
|
D | scsi_dh_hp_sw.c | 130 req->sense_len = 0; in hp_sw_tur() 134 if (req->sense_len > 0) { in hp_sw_tur() 215 if (req->sense_len > 0) { in start_stop_endio() 261 req->sense_len = 0; in hp_sw_start_stop()
|
D | scsi_dh_emc.c | 331 rq->sense_len = csdev->senselen = 0; in send_inquiry_cmd() 344 csdev->senselen = rq->sense_len; in send_inquiry_cmd() 384 rq->sense_len = csdev->senselen = 0; in send_trespass_cmd() 388 if (rq->sense_len) { in send_trespass_cmd()
|
/linux-2.6.39/block/ |
D | scsi_ioctl.c | 266 if (rq->sense_len && hdr->sbp) { in blk_complete_sghdr_rq() 267 int len = min((unsigned int) hdr->mx_sb_len, rq->sense_len); in blk_complete_sghdr_rq() 375 rq->sense_len = 0; in sg_io() 512 rq->sense_len = 0; in sg_scsi_ioctl() 520 if (rq->sense_len && rq->sense) { in sg_scsi_ioctl() 521 bytes = (OMAX_SB_LEN > rq->sense_len) ? in sg_scsi_ioctl() 522 rq->sense_len : OMAX_SB_LEN; in sg_scsi_ioctl()
|
D | blk-exec.c | 94 rq->sense_len = 0; in blk_execute_rq()
|
D | bsg.c | 318 rq->sense_len = 0; in bsg_map_hdr() 444 if (rq->sense_len && hdr->response) { in blk_complete_sgv4_hdr_rq() 446 rq->sense_len); in blk_complete_sgv4_hdr_rq()
|
/linux-2.6.39/drivers/scsi/fnic/ |
D | fcpio.h | 208 u32 sense_len; /* sense buffer length */ member 256 u32 sense_len; /* sense buffer length */ member 350 u32 sense_len; /* sense data buffer length */ member 507 u32 sense_len; /* SCSI sense length */ member
|
D | fnic_res.h | 82 u32 sgl_cnt, u32 sense_len, in fnic_queue_wq_copy_desc_icmnd_16() argument 104 desc->u.icmnd_16.sense_len = sense_len; /* sense buffer length */ in fnic_queue_wq_copy_desc_icmnd_16()
|
/linux-2.6.39/drivers/scsi/osd/ |
D | osd_initiator.c | 478 or->sense_len = req->sense_len; in _set_error_resid() 1594 req->sense_len = 0; in _init_blk_request() 1722 int sense_len, original_sense_len; in osd_req_decode_sense_full() local 1740 sense_len = or->sense_len; in osd_req_decode_sense_full() 1741 if ((sense_len < (int)sizeof(*ssdb) || !ssdb->sense_key)) { in osd_req_decode_sense_full() 1744 or->req_errors, sense_len, ssdb->sense_key); in osd_req_decode_sense_full() 1750 ssdb->response_code, sense_len); in osd_req_decode_sense_full() 1764 osi->key, original_sense_len, sense_len, in osd_req_decode_sense_full() 1768 if (original_sense_len < sense_len) in osd_req_decode_sense_full() 1769 sense_len = original_sense_len; in osd_req_decode_sense_full() [all …]
|
/linux-2.6.39/include/scsi/ |
D | scsi_dbg.h | 17 int sense_len);
|
D | scsi_tgt_if.h | 56 uint32_t sense_len; member
|
/linux-2.6.39/drivers/ide/ |
D | ide-atapi.c | 174 unsigned int cmd_len, sense_len; in ide_prep_sense() local 180 sense_len = 18; in ide_prep_sense() 184 sense_len = 20; in ide_prep_sense() 188 sense_len = 18; in ide_prep_sense() 191 BUG_ON(sense_len > sizeof(*sense)); in ide_prep_sense() 200 err = blk_rq_map_kern(drive->queue, sense_rq, sense, sense_len, in ide_prep_sense()
|
/linux-2.6.39/include/linux/ |
D | virtio_blk.h | 91 __u32 sense_len; member
|
/linux-2.6.39/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 1410 uint32_t sense_len, struct rsp_que *rsp) in qla2x00_handle_sense() argument 1414 if (sense_len >= SCSI_SENSE_BUFFERSIZE) in qla2x00_handle_sense() 1415 sense_len = SCSI_SENSE_BUFFERSIZE; in qla2x00_handle_sense() 1417 sp->request_sense_length = sense_len; in qla2x00_handle_sense() 1420 sense_len = par_sense_len; in qla2x00_handle_sense() 1422 memcpy(cp->sense_buffer, sense_data, sense_len); in qla2x00_handle_sense() 1424 sp->request_sense_ptr += sense_len; in qla2x00_handle_sense() 1425 sp->request_sense_length -= sense_len; in qla2x00_handle_sense() 1432 if (sense_len) in qla2x00_handle_sense() 1433 DEBUG5(qla2x00_dump_buffer(cp->sense_buffer, sense_len)); in qla2x00_handle_sense() [all …]
|
/linux-2.6.39/drivers/scsi/megaraid/ |
D | megaraid_sas.h | 867 u8 sense_len; /*01h */ member 934 u8 sense_len; /*01h */ member 963 u8 sense_len; /*01h */ member 1436 u32 sense_len; member 1460 u32 sense_len; member
|
D | megaraid_sas_base.c | 1168 pthru->sense_len = SCSI_SENSE_BUFFERSIZE; in megasas_build_dcdb() 1300 ldio->sense_len = SCSI_SENSE_BUFFERSIZE; in megasas_build_ldio() 2203 hdr->sense_len); in megasas_complete_cmd() 4680 if (ioc->sense_len) { in megasas_mgmt_fw_ioctl() 4681 sense = dma_alloc_coherent(&instance->pdev->dev, ioc->sense_len, in megasas_mgmt_fw_ioctl() 4715 if (ioc->sense_len) { in megasas_mgmt_fw_ioctl() 4724 sense, ioc->sense_len)) { in megasas_mgmt_fw_ioctl() 4743 dma_free_coherent(&instance->pdev->dev, ioc->sense_len, in megasas_mgmt_fw_ioctl() 4938 copy_in_user(&ioc->sense_len, &cioc->sense_len, sizeof(u32)) || in megasas_mgmt_compat_ioctl_fw() 4948 if (ioc->sense_len) { in megasas_mgmt_compat_ioctl_fw()
|
/linux-2.6.39/drivers/block/ |
D | virtio_blk.c | 71 vbr->req->sense_len = vbr->in_hdr.sense_len; in blk_done()
|