/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_cmnd.h | 117 unsigned resid_len; /* residual count */ member 198 cmd->resid_len = resid; in scsi_set_resid() 203 return cmd->resid_len; in scsi_get_resid()
|
H A D | scsi_eh.h | 35 unsigned int resid_len; member
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_bsg.c | 88 hdr->din_resid = scmd->resid_len; in scsi_bsg_sg_io_fn() 90 hdr->dout_resid = scmd->resid_len; in scsi_bsg_sg_io_fn()
|
H A D | scsi_lib.c | 246 if (unlikely(scmd->resid_len > 0 && scmd->resid_len <= bufflen)) in scsi_execute_cmd() 247 memset(buffer + bufflen - scmd->resid_len, 0, scmd->resid_len); in scsi_execute_cmd() 250 *args->resid = scmd->resid_len; in scsi_execute_cmd()
|
H A D | scsi_error.c | 1054 ses->resid_len = scmd->resid_len; in scsi_eh_prep_cmnd() 1065 scmd->resid_len = 0; in scsi_eh_prep_cmnd() 1118 scmd->resid_len = ses->resid_len; in scsi_eh_restore_cmnd()
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_request.h | 15 unsigned int resid_len; /* residual count */ member
|
H A D | scsi_eh.h | 35 unsigned int resid_len; member
|
H A D | scsi_cmnd.h | 202 cmd->req.resid_len = resid; in scsi_set_resid() 207 return cmd->req.resid_len; in scsi_get_resid()
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-atapi.c | 449 scsi_req(rq)->resid_len = 0; in ide_pc_intr() 542 scsi_req(rq)->resid_len -= done; in ide_pc_intr() 550 scsi_req(rq)->cmd[0], done, bcount, scsi_req(rq)->resid_len); in ide_pc_intr() 725 scsi_req(rq)->resid_len = bcount; in ide_issue_pc()
|
H A D | ide-cd.c | 474 *bufflen = scsi_req(rq)->resid_len; in ide_cd_queue_pc() 765 scsi_req(rq)->resid_len = 0; in cdrom_newpc_intr() 786 scsi_req(rq)->resid_len -= cmd->nbytes - cmd->nleft; in cdrom_newpc_intr() 788 scsi_req(rq)->resid_len += cmd->last_xfer_len; in cdrom_newpc_intr()
|
H A D | ide-tape.c | 286 scsi_req(rq)->resid_len = tape->blk_size * get_unaligned_be32(&sense[3]); in idetape_analyze_error() 320 (blk_rq_bytes(rq) - scsi_req(rq)->resid_len)) in idetape_analyze_error() 352 (blk_rq_bytes(rq) - scsi_req(rq)->resid_len) / tape->blk_size; in ide_tape_callback() 874 size -= scsi_req(rq)->resid_len; in idetape_queue_rw_tail()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 1394 u32 resid_len, 1401 u32 resid_len, 1408 u32 resid_len, 2157 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_fdmi_rhba_response() 2480 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_fdmi_rprt_response() 2573 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_lport_fdmi_rpa_response() 2833 u32 resid_len, 2843 u32 resid_len, 2852 u32 resid_len, 3167 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_ms_gmal_response() 2155 bfa_fcs_lport_fdmi_rhba_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_fdmi_rhba_response() argument 2478 bfa_fcs_lport_fdmi_rprt_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_fdmi_rprt_response() argument 2571 bfa_fcs_lport_fdmi_rpa_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_fdmi_rpa_response() argument 3165 bfa_fcs_lport_ms_gmal_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ms_gmal_response() argument 3366 bfa_fcs_lport_ms_gfn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ms_gfn_response() argument 3448 bfa_fcs_lport_ms_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ms_plogi_response() argument 4413 bfa_fcs_lport_ns_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_plogi_response() argument 4509 bfa_fcs_lport_ns_rnn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rnn_id_response() argument 4589 bfa_fcs_lport_ns_rsnn_nn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rsnn_nn_response() argument 4687 bfa_fcs_lport_ns_rspn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rspn_id_response() argument 4760 bfa_fcs_lport_ns_rft_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rft_id_response() argument 4838 bfa_fcs_lport_ns_rff_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rff_id_response() argument 4922 bfa_fcs_lport_ns_gid_ft_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_gid_ft_response() argument 5410 bfa_fcs_lport_scn_scr_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_scn_scr_response() argument [all...] |
H A D | bfa_fcs_rport.c | 52 u32 resid_len, struct fchs_s *rsp_fchs); 58 u32 resid_len, struct fchs_s *rsp_fchs); 64 u32 resid_len, struct fchs_s *rsp_fchs); 68 u32 resid_len, struct fchs_s *rsp_fchs); 1729 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_plogi_response() 1881 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_adisc_response() 1950 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_gidpn_response() 2023 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_gpnid_response() 3105 u32 resid_len, 3394 u32 resid_len, struc in bfa_fcs_rpf_rpsc2_response() 1727 bfa_fcs_rport_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_plogi_response() argument 1879 bfa_fcs_rport_adisc_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_adisc_response() argument 1948 bfa_fcs_rport_gidpn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_gidpn_response() argument 2021 bfa_fcs_rport_gpnid_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_gpnid_response() argument 3392 bfa_fcs_rpf_rpsc2_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rpf_rpsc2_response() argument [all...] |
H A D | bfa_fcs_fcpim.c | 32 u32 resid_len, struct fchs_s *rsp_fchs); 477 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_itnim_prli_response() 475 bfa_fcs_itnim_prli_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_itnim_prli_response() argument
|
H A D | bfa_svc.h | 112 u32 rsp_len, u32 resid_len, 119 u32 rsp_len, u32 resid_len,
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 1394 u32 resid_len, 1401 u32 resid_len, 1408 u32 resid_len, 2165 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_fdmi_rhba_response() 2488 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_fdmi_rprt_response() 2581 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_lport_fdmi_rpa_response() 2841 u32 resid_len, 2851 u32 resid_len, 2860 u32 resid_len, 3175 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_ms_gmal_response() 2163 bfa_fcs_lport_fdmi_rhba_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_fdmi_rhba_response() argument 2486 bfa_fcs_lport_fdmi_rprt_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_fdmi_rprt_response() argument 2579 bfa_fcs_lport_fdmi_rpa_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_fdmi_rpa_response() argument 3173 bfa_fcs_lport_ms_gmal_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ms_gmal_response() argument 3374 bfa_fcs_lport_ms_gfn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ms_gfn_response() argument 3456 bfa_fcs_lport_ms_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ms_plogi_response() argument 4421 bfa_fcs_lport_ns_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_plogi_response() argument 4517 bfa_fcs_lport_ns_rnn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rnn_id_response() argument 4597 bfa_fcs_lport_ns_rsnn_nn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rsnn_nn_response() argument 4695 bfa_fcs_lport_ns_rspn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rspn_id_response() argument 4768 bfa_fcs_lport_ns_rft_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rft_id_response() argument 4846 bfa_fcs_lport_ns_rff_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_rff_id_response() argument 4930 bfa_fcs_lport_ns_gid_ft_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_gid_ft_response() argument 5418 bfa_fcs_lport_scn_scr_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_scn_scr_response() argument [all...] |
H A D | bfa_fcs_rport.c | 52 u32 resid_len, struct fchs_s *rsp_fchs); 58 u32 resid_len, struct fchs_s *rsp_fchs); 64 u32 resid_len, struct fchs_s *rsp_fchs); 68 u32 resid_len, struct fchs_s *rsp_fchs); 1729 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_plogi_response() 1881 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_adisc_response() 1950 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_gidpn_response() 2023 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_gpnid_response() 3105 u32 resid_len, 3394 u32 resid_len, struc in bfa_fcs_rpf_rpsc2_response() 1727 bfa_fcs_rport_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_plogi_response() argument 1879 bfa_fcs_rport_adisc_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_adisc_response() argument 1948 bfa_fcs_rport_gidpn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_gidpn_response() argument 2021 bfa_fcs_rport_gpnid_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_gpnid_response() argument 3392 bfa_fcs_rpf_rpsc2_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rpf_rpsc2_response() argument [all...] |
H A D | bfa_svc.h | 112 u32 rsp_len, u32 resid_len, 119 u32 rsp_len, u32 resid_len,
|
H A D | bfa_fcs_fcpim.c | 32 u32 resid_len, struct fchs_s *rsp_fchs); 477 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_itnim_prli_response() 475 bfa_fcs_itnim_prli_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_itnim_prli_response() argument
|
/kernel/linux/linux-5.10/block/ |
H A D | bsg.c | 116 hdr->din_resid = sreq->resid_len; in bsg_scsi_complete_rq() 118 hdr->dout_resid = sreq->resid_len; in bsg_scsi_complete_rq()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_lib.c | 280 if (unlikely(rq->resid_len > 0 && rq->resid_len <= bufflen)) in __scsi_execute() 281 memset(buffer + (bufflen - rq->resid_len), 0, rq->resid_len); in __scsi_execute() 284 *resid = rq->resid_len; in __scsi_execute()
|
H A D | scsi_error.c | 971 ses->resid_len = scmd->req.resid_len; in scsi_eh_prep_cmnd() 982 scmd->req.resid_len = 0; in scsi_eh_prep_cmnd() 1035 scmd->req.resid_len = ses->resid_len; in scsi_eh_restore_cmnd()
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A D | qla_mr.c | 2259 uint32_t sense_len, par_sense_len, rsp_info_len, resid_len, in qlafx00_status_entry() local 2321 sense_len = par_sense_len = rsp_info_len = resid_len = in qlafx00_status_entry() 2327 resid_len = le32_to_cpu(sts->residual_len); in qlafx00_status_entry() 2350 resid = resid_len; in qlafx00_status_entry() 2390 resid = resid_len; in qlafx00_status_entry() 2394 && fw_resid_len != resid_len) { in qlafx00_status_entry() 2509 rsp_info, resid_len, fw_resid_len, sense_len, in qlafx00_status_entry()
|
H A D | qla_isr.c | 2856 uint32_t sense_len, par_sense_len, rsp_info_len, resid_len, in qla2x00_status_entry() local 2962 sense_len = par_sense_len = rsp_info_len = resid_len = in qla2x00_status_entry() 2970 resid_len = le32_to_cpu(sts24->rsp_residual_count); in qla2x00_status_entry() 2984 resid_len = le32_to_cpu(sts->residual_length); in qla2x00_status_entry() 3031 resid = resid_len; in qla2x00_status_entry() 3066 resid = IS_FWI2_CAPABLE(ha) ? fw_resid_len : resid_len; in qla2x00_status_entry() 3069 if (IS_FWI2_CAPABLE(ha) && fw_resid_len != resid_len) { in qla2x00_status_entry() 3196 resid_len, fw_resid_len, sp, cp); in qla2x00_status_entry() 3216 resid_len, fw_resid_len, sp, cp); in qla2x00_status_entry()
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_mr.c | 2260 uint32_t sense_len, par_sense_len, rsp_info_len, resid_len, in qlafx00_status_entry() local 2322 sense_len = par_sense_len = rsp_info_len = resid_len = in qlafx00_status_entry() 2328 resid_len = le32_to_cpu(sts->residual_len); in qlafx00_status_entry() 2351 resid = resid_len; in qlafx00_status_entry() 2391 resid = resid_len; in qlafx00_status_entry() 2395 && fw_resid_len != resid_len) { in qlafx00_status_entry() 2510 rsp_info, resid_len, fw_resid_len, sense_len, in qlafx00_status_entry()
|