Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/scsi/
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
833 unsigned char sense_len; /* Byte 20 */ member
[all …]
Dscsi_logging.c293 const unsigned char *sense_buffer, int sense_len) in scsi_log_dump_sense() argument
303 for (i = 0; i < sense_len; i += 16) { in scsi_log_dump_sense()
304 int len = min(sense_len - i, 16); in scsi_log_dump_sense()
344 const unsigned char *sense_buffer, int sense_len) in scsi_log_print_sense() argument
348 if (scsi_normalize_sense(sense_buffer, sense_len, &sshdr)) in scsi_log_print_sense()
351 scsi_log_dump_sense(sdev, name, tag, sense_buffer, sense_len); in scsi_log_print_sense()
367 const unsigned char *sense_buffer, int sense_len) in __scsi_print_sense() argument
369 scsi_log_print_sense(sdev, name, -1, sense_buffer, sense_len); in __scsi_print_sense()
Dgdth_ioctl.h95 u32 sense_len; /* sense data length */ member
114 u32 sense_len; /* sense data length */ member
184 unsigned long sense_len; /* sense buffer size */ member
Dxen-scsifront.c252 uint8_t sense_len; in scsifront_cdb_cmd_done() local
266 sense_len = min_t(uint8_t, VSCSIIF_SENSE_BUFFERSIZE, in scsifront_cdb_cmd_done()
267 ring_rsp->sense_len); in scsifront_cdb_cmd_done()
269 if (sense_len) in scsifront_cdb_cmd_done()
270 memcpy(sc->sense_buffer, ring_rsp->sense_buffer, sense_len); in scsifront_cdb_cmd_done()
384 resp.sense_len = 0; in scsifront_finish_all()
Dmyrs.c563 mbox->set_mbox.sense_len = 0; in myrs_enable_mmio_mbox()
1661 mbox->SCSI_10.sense_len = MYRS_SENSE_SIZE; in myrs_queuecommand()
1707 mbox->SCSI_255.sense_len = MYRS_SENSE_SIZE; in myrs_queuecommand()
2062 if (status == MYRS_STATUS_FAILED && cmd_blk->sense_len) { in myrs_handle_scsi()
2063 unsigned int sense_len = SCSI_SENSE_BUFFERSIZE; in myrs_handle_scsi() local
2065 if (sense_len > cmd_blk->sense_len) in myrs_handle_scsi()
2066 sense_len = cmd_blk->sense_len; in myrs_handle_scsi()
2067 memcpy(scmd->sense_buffer, cmd_blk->sense, sense_len); in myrs_handle_scsi()
2641 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_GEM_intr_handler()
2891 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_BA_intr_handler()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/snic/
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()
Dsnic_fwint.h270 __le32 sense_len; /* Sense buffer length */ member
299 __le16 sense_len; /* Sense Length */ member
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_isr.c23 uint16_t sense_len; in qla4xxx_copy_sense() local
26 sense_len = le16_to_cpu(sts_entry->senseDataByteCnt); in qla4xxx_copy_sense()
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()
43 memcpy(cmd->sense_buffer, sts_entry->senseData, sense_len); in qla4xxx_copy_sense()
54 DEBUG5(qla4xxx_dump_buffer(cmd->sense_buffer, sense_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()
[all …]
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_fc.h277 u32 sense_len, resid; in zfcp_fc_eval_fcp_rsp() local
299 sense_len = min_t(u32, be32_to_cpu(fcp_rsp->ext.fr_sns_len), in zfcp_fc_eval_fcp_rsp()
301 memcpy(scsi->sense_buffer, sense, sense_len); in zfcp_fc_eval_fcp_rsp()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_mr.c2103 uint32_t sense_len, struct rsp_que *rsp, int res) in qlafx00_handle_sense() argument
2109 SET_FW_SENSE_LEN(sp, sense_len); in qlafx00_handle_sense()
2111 if (sense_len >= SCSI_SENSE_BUFFERSIZE) in qlafx00_handle_sense()
2112 sense_len = SCSI_SENSE_BUFFERSIZE; in qlafx00_handle_sense()
2114 SET_CMD_SENSE_LEN(sp, sense_len); in qlafx00_handle_sense()
2116 track_sense_len = sense_len; in qlafx00_handle_sense()
2118 if (sense_len > par_sense_len) in qlafx00_handle_sense()
2119 sense_len = par_sense_len; in qlafx00_handle_sense()
2121 memcpy(cp->sense_buffer, sense_data, sense_len); in qlafx00_handle_sense()
2123 SET_FW_SENSE_LEN(sp, GET_FW_SENSE_LEN(sp) - sense_len); in qlafx00_handle_sense()
[all …]
Dqla_isr.c2521 uint32_t sense_len, struct rsp_que *rsp, int res) in qla2x00_handle_sense() argument
2527 if (sense_len >= SCSI_SENSE_BUFFERSIZE) in qla2x00_handle_sense()
2528 sense_len = SCSI_SENSE_BUFFERSIZE; in qla2x00_handle_sense()
2530 SET_CMD_SENSE_LEN(sp, sense_len); in qla2x00_handle_sense()
2532 track_sense_len = sense_len; in qla2x00_handle_sense()
2534 if (sense_len > par_sense_len) in qla2x00_handle_sense()
2535 sense_len = par_sense_len; in qla2x00_handle_sense()
2537 memcpy(cp->sense_buffer, sense_data, sense_len); in qla2x00_handle_sense()
2539 SET_CMD_SENSE_PTR(sp, cp->sense_buffer + sense_len); in qla2x00_handle_sense()
2540 track_sense_len -= sense_len; in qla2x00_handle_sense()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
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
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()
/kernel/linux/linux-5.10/drivers/ide/
Dide-atapi.c178 unsigned int cmd_len, sense_len; in ide_prep_sense() local
184 sense_len = 18; in ide_prep_sense()
188 sense_len = 20; in ide_prep_sense()
192 sense_len = 18; in ide_prep_sense()
195 BUG_ON(sense_len > sizeof(*sense)); in ide_prep_sense()
212 err = blk_rq_map_kern(drive->queue, sense_rq, sense, sense_len, in ide_prep_sense()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_request.h14 unsigned int sense_len; member
Dscsi_dbg.h17 int sense_len);
/kernel/linux/linux-5.10/block/
Dscsi_ioctl.c266 if (req->sense_len && hdr->sbp) { in blk_complete_sghdr_rq()
267 int len = min((unsigned int) hdr->mx_sb_len, req->sense_len); in blk_complete_sghdr_rq()
500 if (req->sense_len && req->sense) { in sg_scsi_ioctl()
501 bytes = (OMAX_SB_LEN > req->sense_len) ? in sg_scsi_ioctl()
502 req->sense_len : OMAX_SB_LEN; in sg_scsi_ioctl()
882 req->sense_len = 0; in scsi_req_init()
/kernel/linux/linux-5.10/include/xen/interface/io/
Dvscsiif.h219 uint8_t sense_len; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dvirtio_blk.h81 __virtio32 sense_len; member
Dvirtio_scsi.h36 __virtio32 sense_len; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dvirtio_blk.h194 __virtio32 sense_len; member
Dvirtio_scsi.h67 __virtio32 sense_len; /* Sense data length */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dvirtio_blk.h94 __virtio32 sense_len; member
Dvirtio_scsi.h49 __virtio32 sense_len; member
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Desas2r_int.c882 snslen = snslen2 = rq->func_rsp.scsi_rsp.sense_len; in esas2r_check_req_rsp_sense()
884 if (snslen > rq->sense_len) in esas2r_check_req_rsp_sense()
885 snslen = rq->sense_len; in esas2r_check_req_rsp_sense()
913 rq->sense_len = snslen; in esas2r_check_req_rsp_sense()

123