Home
last modified time | relevance | path

Searched refs:sense_len (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/scsi/
A Dmyrs.h696 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 Dscsi_logging.c294 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 Dscsi_bsg.c78 if (sreq->sense_len && hdr->response) { in scsi_bsg_sg_io_fn()
80 sreq->sense_len); in scsi_bsg_sg_io_fn()
A Dmyrs.c562 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 Dscsi_ioctl.c395 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 Dxen-scsifront.c253 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 Dvirtio_scsi.c117 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 Da100u2w.h161 u8 sense_len; /*20 Sense Allocation Length */ member
/linux/drivers/scsi/qla4xxx/
A Dql4_isr.c23 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 Dsnic_res.h31 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 Dsnic_fwint.h270 __le32 sense_len; /* Sense buffer length */ member
299 __le16 sense_len; /* Sense Length */ member
/linux/drivers/scsi/qla2xxx/
A Dqla_mr.c2116 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 Dqla_isr.c2818 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 Dqla_mr.h74 uint32_t sense_len; /* FCP SENSE length. */ member
/linux/drivers/s390/scsi/
A Dzfcp_fc.h275 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 Dfcpio.h208 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 Dfnic_res.h82 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 Dscsi_request.h14 unsigned int sense_len; member
A Dscsi_dbg.h17 int sense_len);
/linux/include/xen/interface/io/
A Dvscsiif.h202 uint8_t sense_len; member
/linux/drivers/scsi/esas2r/
A Desas2r_int.c884 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 Datvda.h1036 u8 sense_len; member
1233 u8 sense_len; member
/linux/include/uapi/linux/
A Dvirtio_blk.h194 __virtio32 sense_len; member
A Dvirtio_scsi.h67 __virtio32 sense_len; /* Sense data length */ member
/linux/drivers/scsi/megaraid/
A Dmegaraid_sas.h1731 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

Completed in 114 milliseconds

12