Searched refs:resid_len (Results 1 - 34 of 34) sorted by relevance

/linux-4.1.27/drivers/scsi/libsas/
H A Dsas_host_smp.c277 req->resid_len -= 8; sas_smp_host_handler()
278 rsp->resid_len -= 32; sas_smp_host_handler()
284 req->resid_len -= 8; sas_smp_host_handler()
285 rsp->resid_len -= 64; sas_smp_host_handler()
298 req->resid_len -= 16; sas_smp_host_handler()
299 if ((int)req->resid_len < 0) { sas_smp_host_handler()
300 req->resid_len = 0; sas_smp_host_handler()
304 rsp->resid_len -= 56; sas_smp_host_handler()
314 req->resid_len -= 16; sas_smp_host_handler()
315 if ((int)req->resid_len < 0) { sas_smp_host_handler()
316 req->resid_len = 0; sas_smp_host_handler()
320 rsp->resid_len -= 60; sas_smp_host_handler()
334 req->resid_len < base_frame_size + to_write * 4) { sas_smp_host_handler()
341 req->resid_len -= base_frame_size + to_write * 4; sas_smp_host_handler()
342 rsp->resid_len -= 8; sas_smp_host_handler()
351 req->resid_len -= 44; sas_smp_host_handler()
352 if ((int)req->resid_len < 0) { sas_smp_host_handler()
353 req->resid_len = 0; sas_smp_host_handler()
357 rsp->resid_len -= 8; sas_smp_host_handler()
H A Dsas_expander.c2177 rsp->resid_len = ret; sas_smp_handler()
2178 req->resid_len = 0; sas_smp_handler()
2181 rsp->resid_len = 0; sas_smp_handler()
2182 req->resid_len = 0; sas_smp_handler()
/linux-4.1.27/block/
H A Dbsg-lib.c66 req->resid_len = 0; bsg_job_done()
69 WARN_ON(reply_payload_rcv_len > rsp->resid_len); bsg_job_done()
72 rsp->resid_len -= min(reply_payload_rcv_len, rsp->resid_len); bsg_job_done()
H A Dbsg.c423 hdr->dout_resid = rq->resid_len; blk_complete_sgv4_hdr_rq()
424 hdr->din_resid = rq->next_rq->resid_len; blk_complete_sgv4_hdr_rq()
428 hdr->din_resid = rq->resid_len; blk_complete_sgv4_hdr_rq()
430 hdr->dout_resid = rq->resid_len; blk_complete_sgv4_hdr_rq()
H A Dblk-mq.c217 rq->resid_len = 0; blk_mq_rq_ctx_init()
423 rq->resid_len = blk_rq_bytes(rq); blk_mq_start_request()
425 rq->next_rq->resid_len = blk_rq_bytes(rq->next_rq); blk_mq_start_request()
H A Dblk-core.c1457 rq->__data_len = rq->resid_len = len; blk_add_request_payload()
2385 * resid_len to full count and add the timeout handler. blk_start_request()
2387 req->resid_len = blk_rq_bytes(req); blk_start_request()
2389 req->next_rq->resid_len = blk_rq_bytes(req->next_rq); blk_start_request()
H A Dscsi_ioctl.c267 hdr->resid = rq->resid_len; blk_complete_sghdr_rq()
/linux-4.1.27/drivers/ide/
H A Dide-atapi.c423 rq->resid_len = 0; ide_pc_intr()
515 rq->resid_len -= done; ide_pc_intr()
523 rq->cmd[0], done, bcount, rq->resid_len); ide_pc_intr()
698 rq->resid_len = bcount; ide_issue_pc()
H A Dide-cd.c463 *bufflen = rq->resid_len; ide_cd_queue_pc()
667 rq->resid_len = 0; cdrom_newpc_intr()
688 rq->resid_len -= cmd->nbytes - cmd->nleft; cdrom_newpc_intr()
690 rq->resid_len += cmd->last_xfer_len; cdrom_newpc_intr()
H A Dide-tape.c285 rq->resid_len = tape->blk_size * get_unaligned_be32(&sense[3]); idetape_analyze_error()
319 (blk_rq_bytes(rq) - rq->resid_len)) idetape_analyze_error()
351 (blk_rq_bytes(rq) - rq->resid_len) / tape->blk_size; ide_tape_callback()
871 size -= rq->resid_len; idetape_queue_rw_tail()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_fcs_lport.c1390 u32 resid_len,
1397 u32 resid_len,
1404 u32 resid_len,
2153 u32 rsp_len, u32 resid_len, bfa_fcs_lport_fdmi_rhba_response()
2476 u32 rsp_len, u32 resid_len, bfa_fcs_lport_fdmi_rprt_response()
2569 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_fdmi_rpa_response()
2829 u32 resid_len,
2839 u32 resid_len,
2848 u32 resid_len,
3163 u32 rsp_len, u32 resid_len, bfa_fcs_lport_ms_gmal_response()
3364 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ms_gfn_response()
3446 u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ms_plogi_response()
3582 u32 resid_len,
3589 u32 resid_len,
3596 u32 resid_len,
3603 u32 resid_len,
3610 u32 resid_len,
3617 u32 resid_len,
3624 u32 resid_len,
4411 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_ns_plogi_response()
4507 u32 rsp_len, u32 resid_len, bfa_fcs_lport_ns_rnn_id_response()
4587 u32 rsp_len, u32 resid_len, bfa_fcs_lport_ns_rsnn_nn_response()
4693 u32 rsp_len, u32 resid_len, bfa_fcs_lport_ns_rspn_id_response()
4766 u32 rsp_len, u32 resid_len, bfa_fcs_lport_ns_rft_id_response()
4844 u32 rsp_len, u32 resid_len, bfa_fcs_lport_ns_rff_id_response()
4928 u32 rsp_len, u32 resid_len, bfa_fcs_lport_ns_gid_ft_response()
4948 if (resid_len != 0) { bfa_fcs_lport_ns_gid_ft_response()
4954 bfa_trc(port->fcs, resid_len); bfa_fcs_lport_ns_gid_ft_response()
5234 u32 resid_len,
5422 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_lport_scn_scr_response()
2151 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
2474 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
2567 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
3161 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
3362 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
3444 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
4409 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
4505 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
4585 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
4691 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
4764 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
4842 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
4926 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
5420 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
H A 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) bfa_fcs_rport_plogi_response()
1893 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_adisc_response()
1962 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_gidpn_response()
2035 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rport_gpnid_response()
3120 u32 resid_len,
3409 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_rpf_rpsc2_response()
1739 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
1891 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
1960 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
2033 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
3407 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
H A Dbfa_fcs_fcpim.c39 u32 resid_len, struct fchs_s *rsp_fchs);
484 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcs_itnim_prli_response()
482 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 Dbfa_fcs.c241 u32 resid_len,
1481 u32 resid_len, struct fchs_s *rspfchs) bfa_fcs_fabric_flogiacc_comp()
1479 bfa_fcs_fabric_flogiacc_comp(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t status, u32 rsp_len, u32 resid_len, struct fchs_s *rspfchs) bfa_fcs_fabric_flogiacc_comp() argument
H A Dbfa_svc.h119 u32 rsp_len, u32 resid_len,
126 u32 rsp_len, u32 resid_len,
H A Dbfad_bsg.c3239 bfa_status_t req_status, u32 rsp_len, u32 resid_len, bfad_send_fcpt_cb()
3238 bfad_send_fcpt_cb(void *bfad_fcxp, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfad_send_fcpt_cb() argument
H A Dbfa_svc.c702 u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcxp_null_comp()
700 bfa_fcxp_null_comp(void *bfad_fcxp, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) bfa_fcxp_null_comp() argument
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_isr.c2012 uint32_t sense_len, par_sense_len, rsp_info_len, resid_len, qla2x00_status_entry() local
2100 sense_len = par_sense_len = rsp_info_len = resid_len = qla2x00_status_entry()
2108 resid_len = le32_to_cpu(sts24->rsp_residual_count); qla2x00_status_entry()
2124 resid_len = le32_to_cpu(sts->residual_length); qla2x00_status_entry()
2171 resid = resid_len; qla2x00_status_entry()
2207 resid = IS_FWI2_CAPABLE(ha) ? fw_resid_len : resid_len; qla2x00_status_entry()
2210 if (IS_FWI2_CAPABLE(ha) && fw_resid_len != resid_len) { qla2x00_status_entry()
2347 resid_len, fw_resid_len); qla2x00_status_entry()
H A Dqla_mr.c2285 uint32_t sense_len, par_sense_len, rsp_info_len, resid_len, qlafx00_status_entry() local
2348 sense_len = par_sense_len = rsp_info_len = resid_len = qlafx00_status_entry()
2354 resid_len = le32_to_cpu(sts->residual_len); qlafx00_status_entry()
2377 resid = resid_len; qlafx00_status_entry()
2417 resid = resid_len; qlafx00_status_entry()
2421 && fw_resid_len != resid_len) { qlafx00_status_entry()
2536 rsp_info_len, resid_len, fw_resid_len, sense_len, qlafx00_status_entry()
/linux-4.1.27/drivers/scsi/
H A Dscsi_lib.c252 if (unlikely(req->resid_len > 0 && req->resid_len <= bufflen)) scsi_execute()
253 memset(buffer + (bufflen - req->resid_len), 0, req->resid_len); scsi_execute()
256 *resid = req->resid_len; scsi_execute()
857 req->resid_len = scsi_get_resid(cmd); scsi_io_completion()
864 req->next_rq->resid_len = scsi_in(cmd)->resid; scsi_io_completion()
H A Dscsi_transport_fc.c3601 req->resid_len = 0; fc_bsg_jobdone()
3604 WARN_ON(job->reply->reply_payload_rcv_len > rsp->resid_len); fc_bsg_jobdone()
3607 rsp->resid_len -= min(job->reply->reply_payload_rcv_len, fc_bsg_jobdone()
3608 rsp->resid_len); fc_bsg_jobdone()
H A Dsg.c1303 resid = rq->resid_len; sg_rq_end_io()
H A Dst.c483 STp->buffer->cmdstat.residual = req->resid_len; st_scsi_execute_end()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_mbox.c1768 uint32_t resid_len; lpfc_sli4_config() local
1824 resid_len = length - alloc_len; lpfc_sli4_config()
1825 if (resid_len > SLI4_PAGE_SIZE) { lpfc_sli4_config()
1831 resid_len); lpfc_sli4_config()
/linux-4.1.27/drivers/block/
H A Dvirtio_blk.c124 req->resid_len = virtio32_to_cpu(vblk->vdev, vbr->in_hdr.residual); virtblk_request_done()
H A Dcciss.c1847 rq->resid_len = c->err_info->ResidualCnt; cciss_softirq_done()
3144 cmd->rq->resid_len = cmd->err_info->ResidualCnt; complete_command()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c2099 req->resid_len = 0; _transport_smp_handler()
2100 rsp->resid_len -= _transport_smp_handler()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c2059 req->resid_len = 0; _transport_smp_handler()
2060 rsp->resid_len -= _transport_smp_handler()
/linux-4.1.27/drivers/scsi/osd/
H A Dosd_initiator.c485 or->out.residual = or->out.req->resid_len; _set_error_resid()
487 or->in.residual = or->in.req->resid_len; _set_error_resid()
/linux-4.1.27/drivers/target/
H A Dtarget_core_pscsi.c1096 pt->pscsi_resid = req->resid_len; pscsi_req_done()
/linux-4.1.27/drivers/md/
H A Ddm.c1114 rq->resid_len = clone->resid_len; dm_end_request()
/linux-4.1.27/include/linux/
H A Dblkdev.h196 unsigned int resid_len; /* residual count */ member in struct:request
/linux-4.1.27/drivers/scsi/libfc/
H A Dfc_lport.c2097 rsp->resid_len = job->reply_payload.payload_len; fc_lport_bsg_request()
/linux-4.1.27/drivers/message/fusion/
H A Dmptsas.c2326 req->resid_len = 0; mptsas_smp_handler()
2327 rsp->resid_len -= smprep->ResponseDataLength; mptsas_smp_handler()

Completed in 1194 milliseconds