Home
last modified time | relevance | path

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

12

/drivers/scsi/libsas/
Dsas_host_smp.c277 req->resid_len -= 8; in sas_smp_host_handler()
278 rsp->resid_len -= 32; in sas_smp_host_handler()
284 req->resid_len -= 8; in sas_smp_host_handler()
285 rsp->resid_len -= 64; in sas_smp_host_handler()
298 req->resid_len -= 16; in sas_smp_host_handler()
299 if ((int)req->resid_len < 0) { in sas_smp_host_handler()
300 req->resid_len = 0; in sas_smp_host_handler()
304 rsp->resid_len -= 56; in sas_smp_host_handler()
314 req->resid_len -= 16; in sas_smp_host_handler()
315 if ((int)req->resid_len < 0) { in sas_smp_host_handler()
[all …]
Dsas_expander.c2177 rsp->resid_len = ret; in sas_smp_handler()
2178 req->resid_len = 0; in sas_smp_handler()
2181 rsp->resid_len = 0; in sas_smp_handler()
2182 req->resid_len = 0; in sas_smp_handler()
/drivers/scsi/bfa/
Dbfa_fcs_lport.c1390 u32 resid_len,
1397 u32 resid_len,
1404 u32 resid_len,
2153 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_fdmi_rhba_response() argument
2476 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_fdmi_rprt_response() argument
2569 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_lport_fdmi_rpa_response() argument
2829 u32 resid_len,
2839 u32 resid_len,
2848 u32 resid_len,
3163 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_ms_gmal_response() argument
[all …]
Dbfa_fcs_rport.c59 u32 resid_len, struct fchs_s *rsp_fchs);
65 u32 resid_len, struct fchs_s *rsp_fchs);
71 u32 resid_len, struct fchs_s *rsp_fchs);
75 u32 resid_len, struct fchs_s *rsp_fchs);
1741 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_plogi_response() argument
1893 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_adisc_response() argument
1962 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_gidpn_response() argument
2035 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rport_gpnid_response() argument
3120 u32 resid_len,
3409 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_rpf_rpsc2_response() argument
Dbfa_svc.h119 u32 rsp_len, u32 resid_len,
126 u32 rsp_len, u32 resid_len,
Dbfa_fcs_fcpim.c39 u32 resid_len, struct fchs_s *rsp_fchs);
484 u32 resid_len, struct fchs_s *rsp_fchs) in bfa_fcs_itnim_prli_response() argument
Dbfa_fcs.c241 u32 resid_len,
1481 u32 resid_len, struct fchs_s *rspfchs) in bfa_fcs_fabric_flogiacc_comp() argument
/drivers/ide/
Dide-atapi.c423 rq->resid_len = 0; in ide_pc_intr()
515 rq->resid_len -= done; in ide_pc_intr()
523 rq->cmd[0], done, bcount, rq->resid_len); in ide_pc_intr()
698 rq->resid_len = bcount; in ide_issue_pc()
Dide-cd.c463 *bufflen = rq->resid_len; in ide_cd_queue_pc()
667 rq->resid_len = 0; in cdrom_newpc_intr()
688 rq->resid_len -= cmd->nbytes - cmd->nleft; in cdrom_newpc_intr()
690 rq->resid_len += cmd->last_xfer_len; in cdrom_newpc_intr()
Dide-tape.c285 rq->resid_len = tape->blk_size * get_unaligned_be32(&sense[3]); in idetape_analyze_error()
319 (blk_rq_bytes(rq) - rq->resid_len)) in idetape_analyze_error()
351 (blk_rq_bytes(rq) - rq->resid_len) / tape->blk_size; in ide_tape_callback()
871 size -= rq->resid_len; in idetape_queue_rw_tail()
/drivers/scsi/
Dscsi_lib.c251 if (unlikely(req->resid_len > 0 && req->resid_len <= bufflen)) in scsi_execute()
252 memset(buffer + (bufflen - req->resid_len), 0, req->resid_len); in scsi_execute()
255 *resid = req->resid_len; in scsi_execute()
867 req->resid_len = scsi_get_resid(cmd); in scsi_io_completion()
874 req->next_rq->resid_len = scsi_in(cmd)->resid; in scsi_io_completion()
Dscsi_transport_fc.c3600 req->resid_len = 0; in fc_bsg_jobdone()
3603 WARN_ON(job->reply->reply_payload_rcv_len > rsp->resid_len); in fc_bsg_jobdone()
3606 rsp->resid_len -= min(job->reply->reply_payload_rcv_len, in fc_bsg_jobdone()
3607 rsp->resid_len); in fc_bsg_jobdone()
Dsg.c1365 resid = rq->resid_len; in sg_rq_end_io()
/drivers/scsi/qla2xxx/
Dqla_isr.c2001 uint32_t sense_len, par_sense_len, rsp_info_len, resid_len, in qla2x00_status_entry() local
2089 sense_len = par_sense_len = rsp_info_len = resid_len = in qla2x00_status_entry()
2097 resid_len = le32_to_cpu(sts24->rsp_residual_count); in qla2x00_status_entry()
2113 resid_len = le32_to_cpu(sts->residual_length); in qla2x00_status_entry()
2160 resid = resid_len; in qla2x00_status_entry()
2196 resid = IS_FWI2_CAPABLE(ha) ? fw_resid_len : resid_len; in qla2x00_status_entry()
2199 if (IS_FWI2_CAPABLE(ha) && fw_resid_len != resid_len) { in qla2x00_status_entry()
2336 resid_len, fw_resid_len); in qla2x00_status_entry()
Dqla_mr.c2285 uint32_t sense_len, par_sense_len, rsp_info_len, resid_len, in qlafx00_status_entry() local
2348 sense_len = par_sense_len = rsp_info_len = resid_len = in qlafx00_status_entry()
2354 resid_len = le32_to_cpu(sts->residual_len); in qlafx00_status_entry()
2377 resid = resid_len; in qlafx00_status_entry()
2417 resid = resid_len; in qlafx00_status_entry()
2421 && fw_resid_len != resid_len) { in qlafx00_status_entry()
2536 rsp_info_len, resid_len, fw_resid_len, sense_len, in qlafx00_status_entry()
/drivers/scsi/lpfc/
Dlpfc_mbox.c1768 uint32_t resid_len; in lpfc_sli4_config() local
1824 resid_len = length - alloc_len; in lpfc_sli4_config()
1825 if (resid_len > SLI4_PAGE_SIZE) { in lpfc_sli4_config()
1831 resid_len); in lpfc_sli4_config()
/drivers/block/
Dvirtio_blk.c125 req->resid_len = vbr->in_hdr.residual; in virtblk_request_done()
Dcciss.c1847 rq->resid_len = c->err_info->ResidualCnt; in cciss_softirq_done()
3144 cmd->rq->resid_len = cmd->err_info->ResidualCnt; in complete_command()
/drivers/scsi/mpt2sas/
Dmpt2sas_transport.c2098 req->resid_len = 0; in _transport_smp_handler()
2099 rsp->resid_len -= in _transport_smp_handler()
/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c2058 req->resid_len = 0; in _transport_smp_handler()
2059 rsp->resid_len -= in _transport_smp_handler()
/drivers/scsi/osd/
Dosd_initiator.c485 or->out.residual = or->out.req->resid_len; in _set_error_resid()
487 or->in.residual = or->in.req->resid_len; in _set_error_resid()
/drivers/target/
Dtarget_core_pscsi.c1123 pt->pscsi_resid = req->resid_len; in pscsi_req_done()
/drivers/md/
Ddm.c1036 rq->resid_len = clone->resid_len; in dm_end_request()
/drivers/scsi/libfc/
Dfc_lport.c2097 rsp->resid_len = job->reply_payload.payload_len; in fc_lport_bsg_request()
/drivers/message/fusion/
Dmptsas.c2325 req->resid_len = 0; in mptsas_smp_handler()
2326 rsp->resid_len -= smprep->ResponseDataLength; in mptsas_smp_handler()

12