Home
last modified time | relevance | path

Searched refs:scsi_sense_length (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/target/tcm_fc/
Dtfc_cmd.c115 len = sizeof(*fcp) + se_cmd->scsi_sense_length; in ft_queue_status()
126 len = se_cmd->scsi_sense_length; in ft_queue_status()
/linux-6.6.21/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c3054 se_cmd->scsi_sense_length, &sshdr)) in ibmvscsis_fast_fail()
3105 if (se_cmd->scsi_sense_length && se_cmd->sense_buffer) { in srp_build_response()
3107 cpu_to_be32(se_cmd->scsi_sense_length); in srp_build_response()
3109 len += se_cmd->scsi_sense_length; in srp_build_response()
3111 se_cmd->scsi_sense_length); in srp_build_response()
3766 se_cmd->scsi_sense_length = 18; in ibmvscsis_queue_data_in()
3767 memset(se_cmd->sense_buffer, 0, se_cmd->scsi_sense_length); in ibmvscsis_queue_data_in()
/linux-6.6.21/drivers/infiniband/ulp/isert/
Dib_isert.c1784 put_unaligned_be16(cmd->se_cmd.scsi_sense_length, in isert_put_response()
1786 cmd->se_cmd.scsi_sense_length += sizeof(__be16); in isert_put_response()
1788 padding = -(cmd->se_cmd.scsi_sense_length) & 3; in isert_put_response()
1789 hton24(hdr->dlength, (u32)cmd->se_cmd.scsi_sense_length); in isert_put_response()
1790 pdu_len = cmd->se_cmd.scsi_sense_length + padding; in isert_put_response()
/linux-6.6.21/drivers/scsi/elx/efct/
Defct_lio.c550 rsp.sense_data_length = cmd->scsi_sense_length; in efct_lio_send_resp()
664 cmd->scsi_sense_length); in efct_lio_queue_status()
669 rsp.sense_data_length = cmd->scsi_sense_length; in efct_lio_queue_status()
/linux-6.6.21/drivers/target/iscsi/
Discsi_target.c3300 put_unaligned_be16(cmd->se_cmd.scsi_sense_length, cmd->sense_buffer); in iscsit_send_response()
3301 cmd->se_cmd.scsi_sense_length += sizeof (__be16); in iscsit_send_response()
3303 padding = -(cmd->se_cmd.scsi_sense_length) & 3; in iscsit_send_response()
3304 hton24(hdr->dlength, (u32)cmd->se_cmd.scsi_sense_length); in iscsit_send_response()
3306 data_buf_len = cmd->se_cmd.scsi_sense_length + padding; in iscsit_send_response()
3310 cmd->se_cmd.scsi_sense_length, 0, padding); in iscsit_send_response()
3317 cmd->se_cmd.scsi_sense_length); in iscsit_send_response()
/linux-6.6.21/drivers/target/
Dtarget_core_transport.c807 cmd->scsi_sense_length = TRANSPORT_SENSE_BUFFER; in transport_get_sense_buffer()
827 memcpy(cmd_sense_buf, sense, cmd->scsi_sense_length); in transport_copy_sense_to_cmd()
3522 cmd->scsi_sense_length = TRANSPORT_SENSE_BUFFER; in translate_sense_reason()
3526 cmd->scsi_sense_length, in translate_sense_reason()
/linux-6.6.21/include/target/
Dtarget_core_base.h466 u16 scsi_sense_length; member
/linux-6.6.21/drivers/target/sbp/
Dsbp_target.c1361 WARN_ON(se_cmd->scsi_sense_length < 18); in sbp_sense_mangle()
1426 if (se_cmd->scsi_sense_length) { in sbp_send_sense()
/linux-6.6.21/drivers/vhost/
Dscsi.c572 se_cmd->scsi_sense_length); in vhost_scsi_complete_cmd_work()
574 se_cmd->scsi_sense_length); in vhost_scsi_complete_cmd_work()
/linux-6.6.21/drivers/usb/gadget/function/
Df_tcm.c556 iu->len = cpu_to_be16(se_cmd->scsi_sense_length); in uasp_prepare_status()
560 stream->req_status->length = se_cmd->scsi_sense_length + 16; in uasp_prepare_status()
/linux-6.6.21/drivers/infiniband/ulp/srpt/
Dib_srpt.c1390 sense_data_len = ioctx->cmd.scsi_sense_length; in srpt_build_cmd_rsp()