Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/scsi/
Discsi_proto.h198 __be32 residual_count; member
383 __be32 residual_count; member
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_transport.c880 cmd->residual_count += cmd->data_length - length; in target_set_cmd_data_length()
883 cmd->residual_count = cmd->data_length - length; in target_set_cmd_data_length()
1270 cmd->residual_count = (size - mtl); in target_check_max_data_sg_nents()
1272 u32 orig_dl = size + cmd->residual_count; in target_check_max_data_sg_nents()
1273 cmd->residual_count = (orig_dl - mtl); in target_check_max_data_sg_nents()
1276 cmd->residual_count = (cmd->data_length - mtl); in target_check_max_data_sg_nents()
1354 cmd->residual_count = (size - cmd->data_length); in target_cmd_size_check()
1357 cmd->residual_count = (cmd->data_length - size); in target_cmd_size_check()
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c60 u32 residual_count = se_cmd->residual_count; in ibmvscsis_determine_resid() local
62 if (!residual_count) in ibmvscsis_determine_resid()
69 rsp->data_out_res_cnt = cpu_to_be32(residual_count); in ibmvscsis_determine_resid()
73 rsp->data_in_res_cnt = cpu_to_be32(residual_count); in ibmvscsis_determine_resid()
79 rsp->data_out_res_cnt = cpu_to_be32(residual_count); in ibmvscsis_determine_resid()
83 rsp->data_in_res_cnt = cpu_to_be32(residual_count); in ibmvscsis_determine_resid()
3067 (se_cmd->residual_count == 0 || in ibmvscsis_fast_fail()
3068 se_cmd->residual_count == se_cmd->data_length)) { in ibmvscsis_fast_fail()
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target.c2791 hdr->residual_count = cpu_to_be32(cmd->se_cmd.residual_count); in iscsit_build_datain_pdu()
2794 hdr->residual_count = cpu_to_be32(cmd->se_cmd.residual_count); in iscsit_build_datain_pdu()
3223 hdr->residual_count = cpu_to_be32(cmd->se_cmd.residual_count); in iscsit_build_rsp_pdu()
3226 hdr->residual_count = cpu_to_be32(cmd->se_cmd.residual_count); in iscsit_build_rsp_pdu()
/kernel/linux/linux-5.10/include/linux/qed/
Discsi_common.h404 __le32 residual_count; member
634 __le32 residual_count; member
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
Dtfc_cmd.c143 fcp->ext.fr_resid = cpu_to_be32(se_cmd->residual_count); in ft_queue_status()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_hwi.h343 __le32 residual_count; member
Dpm80xx_hwi.h562 __le32 residual_count; member
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_fw.c625 hdr->residual_count = cpu_to_be32(cqe_data_in->residual_count); in qedi_scsi_completion()
641 qedi_conn->iscsi_conn_id, hdr->residual_count, in qedi_scsi_completion()
643 hdr->residual_count = cpu_to_be32(scsi_bufflen(sc_cmd)); in qedi_scsi_completion()
/kernel/linux/linux-5.10/include/target/
Dtarget_core_base.h478 u32 residual_count; member
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c2667 int residual_count; in pqi_process_raid_io_error() local
2685 residual_count = scsi_bufflen(scmd) - xfer_count; in pqi_process_raid_io_error()
2686 scsi_set_resid(scmd, residual_count); in pqi_process_raid_io_error()
2768 int residual_count; in pqi_process_aio_io_error() local
2789 residual_count = get_unaligned_le32( in pqi_process_aio_io_error()
2790 &error_info->residual_count); in pqi_process_aio_io_error()
2791 scsi_set_resid(scmd, residual_count); in pqi_process_aio_io_error()
2792 xfer_count = scsi_bufflen(scmd) - residual_count; in pqi_process_aio_io_error()
8797 residual_count) != 0x4); in verify_structures()
Dsmartpqi.h464 __le32 residual_count; member
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c717 se_cmd->residual_count = 0; in tcm_qla2xxx_queue_status()
720 se_cmd->residual_count += se_cmd->data_length; in tcm_qla2xxx_queue_status()
Dqla_fw.h1824 __le32 residual_count; member
Dqla_target.c2765 prm->residual = se_cmd->residual_count; in qlt_pre_xmit_response()
2773 prm->residual = se_cmd->residual_count; in qlt_pre_xmit_response()
/kernel/linux/linux-5.10/drivers/target/loopback/
Dtcm_loop.c572 scsi_set_resid(sc, se_cmd->residual_count); in tcm_loop_queue_data_or_status()
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Dcommctrl.c963 le32_to_cpu(err->residual_count); in aac_send_raw_srb()
Daacraid.h291 __le32 residual_count; /* Residual data length in bytes */ member
Daachba.c3608 scsi_set_resid(scsicmd, le32_to_cpu(err->residual_count)); in hba_resp_task_complete()
/kernel/linux/linux-5.10/drivers/vhost/
Dscsi.c566 cmd, se_cmd->residual_count, se_cmd->scsi_status); in vhost_scsi_complete_cmd_work()
569 v_rsp.resid = cpu_to_vhost32(cmd->tvc_vq, se_cmd->residual_count); in vhost_scsi_complete_cmd_work()
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h345 u32 residual_count; member
Dbnx2i_hwi.c1390 hdr->residual_count = cpu_to_be32(resp_cqe->residual_count); in bnx2i_process_scsi_cmd_resp()
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi.c873 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_scsi_cmd_rsp()
914 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_data_in_rsp()
/kernel/linux/linux-5.10/drivers/xen/
Dxen-scsiback.c342 resid = pending_req->se_cmd.residual_count; in scsiback_cmd_done()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c1372 u32 resid = cmd->residual_count; in srpt_build_cmd_rsp()