Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
Dscsi_bsg.c76 if (scmd->sense_len && hdr->response) { in scsi_bsg_sg_io_fn()
78 scmd->sense_len); in scsi_bsg_sg_io_fn()
Dmyrs.c560 mbox->set_mbox.sense_len = 0; in myrs_enable_mmio_mbox()
1657 mbox->SCSI_10.sense_len = MYRS_SENSE_SIZE; in myrs_queuecommand()
1703 mbox->SCSI_255.sense_len = MYRS_SENSE_SIZE; in myrs_queuecommand()
2057 if (status == MYRS_STATUS_FAILED && cmd_blk->sense_len) { in myrs_handle_scsi()
2058 unsigned int sense_len = SCSI_SENSE_BUFFERSIZE; in myrs_handle_scsi() local
2060 if (sense_len > cmd_blk->sense_len) in myrs_handle_scsi()
2061 sense_len = cmd_blk->sense_len; in myrs_handle_scsi()
2062 memcpy(scmd->sense_buffer, cmd_blk->sense, sense_len); in myrs_handle_scsi()
2599 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_GEM_intr_handler()
2818 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_BA_intr_handler()
[all …]
Dxen-scsifront.c305 uint8_t sense_len; in scsifront_cdb_cmd_done() local
322 sense_len = min_t(uint8_t, VSCSIIF_SENSE_BUFFERSIZE, in scsifront_cdb_cmd_done()
323 ring_rsp->sense_len); in scsifront_cdb_cmd_done()
325 if (sense_len) in scsifront_cdb_cmd_done()
326 memcpy(sc->sense_buffer, ring_rsp->sense_buffer, sense_len); in scsifront_cdb_cmd_done()
463 resp.sense_len = 0; in scsifront_finish_all()
Dscsi_ioctl.c394 if (scmd->sense_len && hdr->sbp) { in scsi_complete_sghdr_rq()
395 int len = min((unsigned int) hdr->mx_sb_len, scmd->sense_len); in scsi_complete_sghdr_rq()
597 if (scmd->sense_len && scmd->sense_buffer) { in sg_scsi_ioctl()
600 min(scmd->sense_len, 16U))) in sg_scsi_ioctl()
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()
Da100u2w.h161 u8 sense_len; /*20 Sense Allocation Length */ member
/linux-6.6.21/drivers/scsi/snic/
Dsnic_res.h17 dma_addr_t sns_addr_pa, u32 sense_len) in snic_icmnd_init() argument
30 req->u.icmnd.sense_len = cpu_to_le32(sense_len); in snic_icmnd_init()
Dsnic_fwint.h256 __le32 sense_len; /* Sense buffer length */ member
285 __le16 sense_len; /* Sense Length */ member
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_mr.c2104 uint32_t sense_len, struct rsp_que *rsp, int res) in qlafx00_handle_sense() argument
2110 SET_FW_SENSE_LEN(sp, sense_len); in qlafx00_handle_sense()
2112 if (sense_len >= SCSI_SENSE_BUFFERSIZE) in qlafx00_handle_sense()
2113 sense_len = SCSI_SENSE_BUFFERSIZE; in qlafx00_handle_sense()
2115 SET_CMD_SENSE_LEN(sp, sense_len); in qlafx00_handle_sense()
2117 track_sense_len = sense_len; in qlafx00_handle_sense()
2119 if (sense_len > par_sense_len) in qlafx00_handle_sense()
2120 sense_len = par_sense_len; in qlafx00_handle_sense()
2122 memcpy(cp->sense_buffer, sense_data, sense_len); in qlafx00_handle_sense()
2124 SET_FW_SENSE_LEN(sp, GET_FW_SENSE_LEN(sp) - sense_len); in qlafx00_handle_sense()
[all …]
Dqla_isr.c2980 uint32_t sense_len, struct rsp_que *rsp, int res) in qla2x00_handle_sense() argument
2986 if (sense_len >= SCSI_SENSE_BUFFERSIZE) in qla2x00_handle_sense()
2987 sense_len = SCSI_SENSE_BUFFERSIZE; in qla2x00_handle_sense()
2989 SET_CMD_SENSE_LEN(sp, sense_len); in qla2x00_handle_sense()
2991 track_sense_len = sense_len; in qla2x00_handle_sense()
2993 if (sense_len > par_sense_len) in qla2x00_handle_sense()
2994 sense_len = par_sense_len; in qla2x00_handle_sense()
2996 memcpy(cp->sense_buffer, sense_data, sense_len); in qla2x00_handle_sense()
2998 SET_CMD_SENSE_PTR(sp, cp->sense_buffer + sense_len); in qla2x00_handle_sense()
2999 track_sense_len -= sense_len; in qla2x00_handle_sense()
[all …]
Dqla_mr.h74 uint32_t sense_len; /* FCP SENSE length. */ member
/linux-6.6.21/drivers/s390/scsi/
Dzfcp_fc.h277 u32 sense_len, resid; in zfcp_fc_eval_fcp_rsp() local
298 sense_len = min_t(u32, be32_to_cpu(fcp_rsp->ext.fr_sns_len), in zfcp_fc_eval_fcp_rsp()
300 memcpy(scsi->sense_buffer, sense, sense_len); in zfcp_fc_eval_fcp_rsp()
/linux-6.6.21/drivers/scsi/fnic/
Dfcpio.h196 u32 sense_len; /* sense buffer length */ member
244 u32 sense_len; /* sense buffer length */ member
338 u32 sense_len; /* sense data buffer length */ member
495 u32 sense_len; /* SCSI sense length */ member
Dfnic_res.h70 u32 sgl_cnt, u32 sense_len, in fnic_queue_wq_copy_desc_icmnd_16() argument
92 desc->u.icmnd_16.sense_len = sense_len; /* sense buffer length */ in fnic_queue_wq_copy_desc_icmnd_16()
/linux-6.6.21/include/scsi/
Dscsi_dbg.h17 int sense_len);
Dscsi_cmnd.h118 unsigned sense_len; member
/linux-6.6.21/include/xen/interface/io/
Dvscsiif.h275 uint8_t sense_len; member
/linux-6.6.21/drivers/scsi/esas2r/
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()
Datvda.h1036 u8 sense_len; member
1233 u8 sense_len; member
/linux-6.6.21/include/uapi/linux/
Dvirtio_scsi.h67 __virtio32 sense_len; /* Sense data length */ member
Dvirtio_blk.h311 __virtio32 sense_len; member
/linux-6.6.21/drivers/scsi/megaraid/
Dmegaraid_sas.h1733 u8 sense_len; /*01h */ member
1847 u8 sense_len; /*01h */ member
1876 u8 sense_len; /*01h */ member
2624 u32 sense_len; member
2647 u32 sense_len; member

12