/linux/drivers/scsi/ |
A D | myrs.h | 696 unsigned char sense_len; /* Byte 20 */ member 709 unsigned char sense_len; /* Byte 20 */ member 722 unsigned char sense_len; /* Byte 20 */ member 738 unsigned char sense_len; /* Byte 20 */ member 752 unsigned char sense_len; /* Byte 20 */ member 766 unsigned char sense_len; /* Byte 20 */ member 781 unsigned char sense_len; /* Byte 20 */ member 799 unsigned char sense_len; /* Byte 20 */ member 814 unsigned char sense_len; /* Byte 20 */ member 866 unsigned char sense_len; /* Byte 3 */ member [all …]
|
A D | scsi_logging.c | 294 const unsigned char *sense_buffer, int sense_len) in scsi_log_dump_sense() argument 304 for (i = 0; i < sense_len; i += 16) { in scsi_log_dump_sense() 305 int len = min(sense_len - i, 16); in scsi_log_dump_sense() 345 const unsigned char *sense_buffer, int sense_len) in scsi_log_print_sense() argument 349 if (scsi_normalize_sense(sense_buffer, sense_len, &sshdr)) in scsi_log_print_sense() 352 scsi_log_dump_sense(sdev, name, tag, sense_buffer, sense_len); in scsi_log_print_sense() 368 const unsigned char *sense_buffer, int sense_len) in __scsi_print_sense() argument 370 scsi_log_print_sense(sdev, name, -1, sense_buffer, sense_len); in __scsi_print_sense()
|
A D | scsi_bsg.c | 78 if (sreq->sense_len && hdr->response) { in scsi_bsg_sg_io_fn() 80 sreq->sense_len); in scsi_bsg_sg_io_fn()
|
A D | myrs.c | 562 mbox->set_mbox.sense_len = 0; in myrs_enable_mmio_mbox() 1659 mbox->SCSI_10.sense_len = MYRS_SENSE_SIZE; in myrs_queuecommand() 1705 mbox->SCSI_255.sense_len = MYRS_SENSE_SIZE; in myrs_queuecommand() 2059 if (status == MYRS_STATUS_FAILED && cmd_blk->sense_len) { in myrs_handle_scsi() 2060 unsigned int sense_len = SCSI_SENSE_BUFFERSIZE; in myrs_handle_scsi() local 2062 if (sense_len > cmd_blk->sense_len) in myrs_handle_scsi() 2063 sense_len = cmd_blk->sense_len; in myrs_handle_scsi() 2064 memcpy(scmd->sense_buffer, cmd_blk->sense, sense_len); in myrs_handle_scsi() 2600 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_GEM_intr_handler() 2819 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_BA_intr_handler() [all …]
|
A D | scsi_ioctl.c | 395 if (req->sense_len && hdr->sbp) { in scsi_complete_sghdr_rq() 396 int len = min((unsigned int) hdr->mx_sb_len, req->sense_len); in scsi_complete_sghdr_rq() 627 if (req->sense_len && req->sense) { in sg_scsi_ioctl() 628 bytes = (OMAX_SB_LEN > req->sense_len) ? in sg_scsi_ioctl() 629 req->sense_len : OMAX_SB_LEN; in sg_scsi_ioctl()
|
A D | xen-scsifront.c | 253 uint8_t sense_len; in scsifront_cdb_cmd_done() local 273 sense_len = min_t(uint8_t, VSCSIIF_SENSE_BUFFERSIZE, in scsifront_cdb_cmd_done() 274 ring_rsp->sense_len); in scsifront_cdb_cmd_done() 276 if (sense_len) in scsifront_cdb_cmd_done() 277 memcpy(sc->sense_buffer, ring_rsp->sense_buffer, sense_len); in scsifront_cdb_cmd_done() 391 resp.sense_len = 0; in scsifront_finish_all()
|
A D | virtio_scsi.c | 117 sc, resp->response, resp->status, resp->sense_len); in virtscsi_complete_cmd() 158 WARN_ON(virtio32_to_cpu(vscsi->vdev, resp->sense_len) > in virtscsi_complete_cmd() 160 if (resp->sense_len) { in virtscsi_complete_cmd() 163 virtio32_to_cpu(vscsi->vdev, resp->sense_len), in virtscsi_complete_cmd()
|
A D | a100u2w.h | 161 u8 sense_len; /*20 Sense Allocation Length */ member
|
/linux/drivers/scsi/qla4xxx/ |
A D | ql4_isr.c | 23 uint16_t sense_len; in qla4xxx_copy_sense() local 27 if (sense_len == 0) { in qla4xxx_copy_sense() 37 sense_len = min_t(uint16_t, sense_len, SCSI_SENSE_BUFFERSIZE); in qla4xxx_copy_sense() 39 srb->req_sense_len = sense_len; in qla4xxx_copy_sense() 42 sense_len = min_t(uint16_t, sense_len, IOCB_MAX_SENSEDATA_LEN); in qla4xxx_copy_sense() 58 srb->req_sense_ptr += sense_len; in qla4xxx_copy_sense() 59 srb->req_sense_len -= sense_len; in qla4xxx_copy_sense() 79 uint16_t sense_len; in qla4xxx_status_cont_entry() local 94 sense_len = min_t(uint16_t, srb->req_sense_len, in qla4xxx_status_cont_entry() 99 srb->req_sense_ptr += sense_len; in qla4xxx_status_cont_entry() [all …]
|
/linux/drivers/scsi/snic/ |
A D | snic_res.h | 31 dma_addr_t sns_addr_pa, u32 sense_len) in snic_icmnd_init() argument 44 req->u.icmnd.sense_len = cpu_to_le32(sense_len); in snic_icmnd_init()
|
A D | snic_fwint.h | 270 __le32 sense_len; /* Sense buffer length */ member 299 __le16 sense_len; /* Sense Length */ member
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_mr.c | 2116 track_sense_len = sense_len; in qlafx00_handle_sense() 2119 sense_len = par_sense_len; in qlafx00_handle_sense() 2126 track_sense_len -= sense_len; in qlafx00_handle_sense() 2137 if (sense_len) { in qlafx00_handle_sense() 2324 sense_len = sts->sense_len; in qlafx00_status_entry() 2464 sense_len, rsp, res); in qlafx00_status_entry() 2533 uint32_t sense_len; in qlafx00_status_cont_entry() local 2569 sense_sz = sense_len; in qlafx00_status_cont_entry() 2578 sense_len -= sense_sz; in qlafx00_status_cont_entry() 2585 sense_len = (sense_len > sizeof(pkt->data)) ? in qlafx00_status_cont_entry() [all …]
|
A D | qla_isr.c | 2818 track_sense_len = sense_len; in qla2x00_handle_sense() 2820 if (sense_len > par_sense_len) in qla2x00_handle_sense() 2821 sense_len = par_sense_len; in qla2x00_handle_sense() 2826 track_sense_len -= sense_len; in qla2x00_handle_sense() 2834 if (sense_len) { in qla2x00_handle_sense() 3249 sense_len = le32_to_cpu(sts24->sense_len); in qla2x00_status_entry() 3417 sense_len, rsp, res); in qla2x00_status_entry() 3525 uint32_t sense_len; in qla2x00_status_cont_entry() local 3546 sense_sz = sense_len; in qla2x00_status_cont_entry() 3555 sense_len -= sense_sz; in qla2x00_status_cont_entry() [all …]
|
A D | qla_mr.h | 74 uint32_t sense_len; /* FCP SENSE length. */ member
|
/linux/drivers/s390/scsi/ |
A D | zfcp_fc.h | 275 u32 sense_len, resid; in zfcp_fc_eval_fcp_rsp() local 296 sense_len = min_t(u32, be32_to_cpu(fcp_rsp->ext.fr_sns_len), in zfcp_fc_eval_fcp_rsp() 298 memcpy(scsi->sense_buffer, sense, sense_len); in zfcp_fc_eval_fcp_rsp()
|
/linux/drivers/scsi/fnic/ |
A 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
|
A 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/include/scsi/ |
A D | scsi_request.h | 14 unsigned int sense_len; member
|
A D | scsi_dbg.h | 17 int sense_len);
|
/linux/include/xen/interface/io/ |
A D | vscsiif.h | 202 uint8_t sense_len; member
|
/linux/drivers/scsi/esas2r/ |
A D | esas2r_int.c | 884 snslen = snslen2 = rq->func_rsp.scsi_rsp.sense_len; in esas2r_check_req_rsp_sense() 886 if (snslen > rq->sense_len) in esas2r_check_req_rsp_sense() 887 snslen = rq->sense_len; in esas2r_check_req_rsp_sense() 915 rq->sense_len = snslen; in esas2r_check_req_rsp_sense()
|
A D | atvda.h | 1036 u8 sense_len; member 1233 u8 sense_len; member
|
/linux/include/uapi/linux/ |
A D | virtio_blk.h | 194 __virtio32 sense_len; member
|
A D | virtio_scsi.h | 67 __virtio32 sense_len; /* Sense data length */ member
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_sas.h | 1731 u8 sense_len; /*01h */ member 1843 u8 sense_len; /*01h */ member 1872 u8 sense_len; /*01h */ member 2607 u32 sense_len; member 2630 u32 sense_len; member
|