resid 516 arch/x86/kernel/cpu/resctrl/ctrlmondata.c u32 resid, evtid, domid; resid 531 arch/x86/kernel/cpu/resctrl/ctrlmondata.c resid = md.u.rid; resid 535 arch/x86/kernel/cpu/resctrl/ctrlmondata.c r = &rdt_resources_all[resid]; resid 259 block/scsi_ioctl.c hdr->resid = req->resid_len; resid 643 block/scsi_ioctl.c cgc.buflen = hdr.resid; resid 643 drivers/block/swim3.c int stat, resid; resid 737 drivers/block/swim3.c resid = le16_to_cpu(cp->res_count); resid 739 drivers/block/swim3.c n = fs->scount - 1 - resid / 512; resid 755 drivers/block/swim3.c if ((stat & ACTIVE) == 0 || resid != 0) { resid 757 drivers/block/swim3.c swim3_err("fd dma error: stat=%x resid=%d\n", stat, resid); resid 36 drivers/gpu/drm/virtio/virtgpu_object.c uint32_t *resid) resid 49 drivers/gpu/drm/virtio/virtgpu_object.c *resid = handle + 1; resid 54 drivers/gpu/drm/virtio/virtgpu_object.c *resid = handle + 1; resid 379 drivers/infiniband/sw/rxe/rxe_comp.c if (wqe->dma.resid == 0 && (pkt->mask & RXE_END_MASK)) resid 447 drivers/infiniband/sw/rxe/rxe_mr.c int resid = dma->resid; resid 455 drivers/infiniband/sw/rxe/rxe_mr.c if (length > resid) { resid 508 drivers/infiniband/sw/rxe/rxe_mr.c resid -= bytes; resid 515 drivers/infiniband/sw/rxe/rxe_mr.c dma->resid = resid; resid 533 drivers/infiniband/sw/rxe/rxe_mr.c int resid = dma->resid; resid 552 drivers/infiniband/sw/rxe/rxe_mr.c resid -= bytes; resid 557 drivers/infiniband/sw/rxe/rxe_mr.c dma->resid = resid; resid 51 drivers/infiniband/sw/rxe/rxe_req.c int to_send = (wqe->dma.resid > qp->mtu) ? resid 52 drivers/infiniband/sw/rxe/rxe_req.c qp->mtu : wqe->dma.resid; resid 58 drivers/infiniband/sw/rxe/rxe_req.c wqe->dma.resid -= to_send; resid 99 drivers/infiniband/sw/rxe/rxe_req.c wqe->dma.resid = wqe->dma.length; resid 114 drivers/infiniband/sw/rxe/rxe_req.c npsn = (wqe->dma.length - wqe->dma.resid) / resid 320 drivers/infiniband/sw/rxe/rxe_req.c int fits = (wqe->dma.resid <= qp->mtu); resid 441 drivers/infiniband/sw/rxe/rxe_req.c reth_set_len(pkt, wqe->dma.resid); resid 493 drivers/infiniband/sw/rxe/rxe_req.c wqe->dma.resid -= paylen; resid 535 drivers/infiniband/sw/rxe/rxe_req.c int num_pkt = (wqe->dma.resid + payload + qp->mtu - 1) / qp->mtu; resid 692 drivers/infiniband/sw/rxe/rxe_req.c payload = (mask & RXE_WRITE_OR_SEND) ? wqe->dma.resid : 0; resid 423 drivers/infiniband/sw/rxe/rxe_resp.c u32 resid; resid 433 drivers/infiniband/sw/rxe/rxe_resp.c qp->resp.resid = reth_len(pkt); resid 441 drivers/infiniband/sw/rxe/rxe_resp.c qp->resp.resid = sizeof(u64); resid 456 drivers/infiniband/sw/rxe/rxe_resp.c resid = qp->resp.resid; resid 470 drivers/infiniband/sw/rxe/rxe_resp.c if (mem_check_range(mem, va, resid)) { resid 476 drivers/infiniband/sw/rxe/rxe_resp.c if (resid > mtu) { resid 482 drivers/infiniband/sw/rxe/rxe_resp.c if (pktlen != resid) { resid 486 drivers/infiniband/sw/rxe/rxe_resp.c if ((bth_pad(pkt) != (0x3 & (-resid)))) { resid 536 drivers/infiniband/sw/rxe/rxe_resp.c qp->resp.resid -= data_len; resid 697 drivers/infiniband/sw/rxe/rxe_resp.c res->read.resid = qp->resp.resid; resid 698 drivers/infiniband/sw/rxe/rxe_resp.c res->read.length = qp->resp.resid; resid 710 drivers/infiniband/sw/rxe/rxe_resp.c if (res->read.resid <= mtu) resid 715 drivers/infiniband/sw/rxe/rxe_resp.c if (res->read.resid > mtu) resid 723 drivers/infiniband/sw/rxe/rxe_resp.c payload = min_t(int, res->read.resid, mtu); resid 752 drivers/infiniband/sw/rxe/rxe_resp.c res->read.resid -= payload; resid 755 drivers/infiniband/sw/rxe/rxe_resp.c if (res->read.resid > 0) { resid 869 drivers/infiniband/sw/rxe/rxe_resp.c qp->resp.length : wqe->dma.length - wqe->dma.resid; resid 1104 drivers/infiniband/sw/rxe/rxe_resp.c u32 resid = reth_len(pkt); resid 1107 drivers/infiniband/sw/rxe/rxe_resp.c resid > res->read.length || resid 1108 drivers/infiniband/sw/rxe/rxe_resp.c (iova + resid) > (res->read.va_org + resid 1128 drivers/infiniband/sw/rxe/rxe_resp.c res->read.resid = resid; resid 1189 drivers/infiniband/sw/rxe/rxe_resp.c qp->resp.wqe->dma.resid = qp->resp.wqe->dma.length; resid 275 drivers/infiniband/sw/rxe/rxe_verbs.c recv_wqe->dma.resid = length; resid 624 drivers/infiniband/sw/rxe/rxe_verbs.c wqe->dma.resid = length; resid 191 drivers/infiniband/sw/rxe/rxe_verbs.h u32 resid; resid 214 drivers/infiniband/sw/rxe/rxe_verbs.h u32 resid; resid 1371 drivers/infiniband/ulp/srpt/ib_srpt.c u32 resid = cmd->residual_count; resid 1397 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->data_out_res_cnt = cpu_to_be32(resid); resid 1401 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->data_in_res_cnt = cpu_to_be32(resid); resid 1407 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->data_out_res_cnt = cpu_to_be32(resid); resid 1411 drivers/infiniband/ulp/srpt/ib_srpt.c srp_rsp->data_in_res_cnt = cpu_to_be32(resid); resid 887 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 pos, offset, resid; resid 900 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c resid = len & 0x7; resid 901 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c len -= resid; resid 938 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c while (resid > sizeof(u32)) { resid 942 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c resid -= sizeof(u32); resid 955 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (resid) resid 956 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c t4_memory_rw_residual(adap, resid, mem_base + offset, resid 4064 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c size_t resid = cf->size & 0x3; resid 4074 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (ret == 0 && resid != 0) { resid 4082 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c for (i = resid; i < 4; i++) resid 617 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 pos, offset, resid, memoffset; resid 633 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c resid = len & 0x3; resid 634 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c len -= resid; resid 719 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (resid) resid 720 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_memory_rw_residual(adap, resid, mem_base + offset, resid 932 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c int resid = 0; resid 949 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c resid = len - (di->rxbufsize - di->rxoffset); resid 952 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c if (resid > 0) { resid 953 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c while ((resid > 0) && (p = _dma_getnextrxp(di, false))) { resid 954 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c pkt_len = min_t(uint, resid, di->rxbufsize); resid 957 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c resid -= di->rxbufsize; resid 962 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c if (resid > 0) { resid 270 drivers/nubus/nubus.c u32 resid; resid 279 drivers/nubus/nubus.c resid = nubus_get_rom(&nd->ptr, 4, nd->mask); resid 282 drivers/nubus/nubus.c if ((resid & 0xff000000) == 0xff000000) { resid 289 drivers/nubus/nubus.c ent->type = resid >> 24; resid 291 drivers/nubus/nubus.c ent->data = resid & 0xffffff; resid 505 drivers/nubus/nubus.c fres->resid = parent->type; resid 816 drivers/nubus/nubus.c if (fres->resid <= prev_resid) { resid 820 drivers/nubus/nubus.c prev_resid = fres->resid; resid 275 drivers/s390/scsi/zfcp_fc.h u32 sense_len, resid; resid 303 drivers/s390/scsi/zfcp_fc.h resid = be32_to_cpu(fcp_rsp->ext.fr_resid); resid 304 drivers/s390/scsi/zfcp_fc.h scsi_set_resid(scsi, resid); resid 305 drivers/s390/scsi/zfcp_fc.h if (scsi_bufflen(scsi) - resid < scsi->underflow && resid 1477 drivers/scsi/aic7xxx/aic79xx_core.c uint32_t resid; resid 1506 drivers/scsi/aic7xxx/aic79xx_core.c resid = ahd_inl(ahd, SHCNT); resid 1507 drivers/scsi/aic7xxx/aic79xx_core.c resid |= ahd_inb_scbram(ahd, SCB_RESIDUAL_DATACNT+3) << 24; resid 1508 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outl(ahd, SCB_RESIDUAL_DATACNT, resid); resid 1525 drivers/scsi/aic7xxx/aic79xx_core.c } else if ((resid & AHD_SG_LEN_MASK) == 0) { resid 1533 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outl(ahd, SCB_DATACNT, resid); resid 5842 drivers/scsi/aic7xxx/aic79xx_core.c uint32_t resid; resid 5877 drivers/scsi/aic7xxx/aic79xx_core.c resid = (ahd_inb_scbram(ahd, SCB_RESIDUAL_DATACNT + 2) << 16) resid 5891 drivers/scsi/aic7xxx/aic79xx_core.c - resid; resid 5903 drivers/scsi/aic7xxx/aic79xx_core.c - resid; resid 5908 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outb(ahd, HCNT + 2, resid >> 16); resid 5909 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outb(ahd, HCNT + 1, resid >> 8); resid 5910 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outb(ahd, HCNT, resid); resid 9094 drivers/scsi/aic7xxx/aic79xx_core.c uint32_t resid; resid 9133 drivers/scsi/aic7xxx/aic79xx_core.c resid = ahd_get_transfer_length(scb); resid 9155 drivers/scsi/aic7xxx/aic79xx_core.c resid = ahd_le32toh(spkt->residual_datacnt) & AHD_SG_LEN_MASK; resid 9168 drivers/scsi/aic7xxx/aic79xx_core.c resid += ahd_le32toh(sg->len) & AHD_SG_LEN_MASK; resid 9172 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_residual(scb, resid); resid 9174 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_sense_residual(scb, resid); resid 9180 drivers/scsi/aic7xxx/aic79xx_core.c (scb->flags & SCB_SENSE) ? "Sense " : "", resid); resid 512 drivers/scsi/aic7xxx/aic79xx_osm.h static inline void ahd_set_sense_residual(struct scb *scb, u_long resid); resid 596 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_set_residual(struct scb *scb, u_long resid) resid 598 drivers/scsi/aic7xxx/aic79xx_osm.h scsi_set_resid(scb->io_ctx, resid); resid 602 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_set_sense_residual(struct scb *scb, u_long resid) resid 604 drivers/scsi/aic7xxx/aic79xx_osm.h scb->platform_data->sense_resid = resid; resid 4265 drivers/scsi/aic7xxx/aic7xxx_core.c uint32_t resid; resid 4281 drivers/scsi/aic7xxx/aic7xxx_core.c resid = (ahc_inb(ahc, SCB_RESIDUAL_DATACNT + 2) << 16) resid 4287 drivers/scsi/aic7xxx/aic7xxx_core.c - resid; resid 4301 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, HCNT + 2, resid >> 16); resid 4302 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, HCNT + 1, resid >> 8); resid 4303 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, HCNT, resid); resid 4305 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, STCNT + 2, resid >> 16); resid 4306 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, STCNT + 1, resid >> 8); resid 4307 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, STCNT, resid); resid 6627 drivers/scsi/aic7xxx/aic7xxx_core.c uint32_t resid; resid 6660 drivers/scsi/aic7xxx/aic7xxx_core.c resid = ahc_get_transfer_length(scb); resid 6673 drivers/scsi/aic7xxx/aic7xxx_core.c resid = ahc_le32toh(spkt->residual_datacnt) & AHC_SG_LEN_MASK; resid 6686 drivers/scsi/aic7xxx/aic7xxx_core.c resid += ahc_le32toh(sg->len) & AHC_SG_LEN_MASK; resid 6690 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_set_residual(scb, resid); resid 6692 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_set_sense_residual(scb, resid); resid 6698 drivers/scsi/aic7xxx/aic7xxx_core.c (scb->flags & SCB_SENSE) ? "Sense " : "", resid); resid 530 drivers/scsi/aic7xxx/aic7xxx_osm.h static inline void ahc_set_sense_residual(struct scb *scb, u_long resid); resid 614 drivers/scsi/aic7xxx/aic7xxx_osm.h void ahc_set_residual(struct scb *scb, u_long resid) resid 616 drivers/scsi/aic7xxx/aic7xxx_osm.h scsi_set_resid(scb->io_ctx, resid); resid 620 drivers/scsi/aic7xxx/aic7xxx_osm.h void ahc_set_sense_residual(struct scb *scb, u_long resid) resid 622 drivers/scsi/aic7xxx/aic7xxx_osm.h scb->platform_data->sense_resid = resid; resid 141 drivers/scsi/am53c974.c u8 resid; resid 151 drivers/scsi/am53c974.c resid = pci_esp_read8(esp, ESP_FFLAGS) & ESP_FF_FBYTES; resid 152 drivers/scsi/am53c974.c if (resid <= 1) resid 172 drivers/scsi/am53c974.c esp_dma_log("DMA blast done (%d tries, %d bytes left)\n", lim, resid); resid 174 drivers/scsi/am53c974.c if (WARN_ON_ONCE(resid == 1)) { resid 1109 drivers/scsi/be2iscsi/be_main.c u32 resid = 0, exp_cmdsn, max_cmdsn; resid 1118 drivers/scsi/be2iscsi/be_main.c resid = csol_cqe->res_cnt; resid 1140 drivers/scsi/be2iscsi/be_main.c scsi_set_resid(task->sc, resid); resid 1141 drivers/scsi/be2iscsi/be_main.c if (!status && (scsi_bufflen(task->sc) - resid < resid 1158 drivers/scsi/be2iscsi/be_main.c conn->rxdata_octets += resid; resid 49 drivers/scsi/cxlflash/main.c u32 resid; resid 58 drivers/scsi/cxlflash/main.c resid = ioasa->resid; resid 59 drivers/scsi/cxlflash/main.c scsi_set_resid(scp, resid); resid 61 drivers/scsi/cxlflash/main.c __func__, cmd, scp, resid); resid 176 drivers/scsi/cxlflash/sislite.h u32 resid; resid 1970 drivers/scsi/megaraid/megaraid_sas_fusion.c int resid; resid 2001 drivers/scsi/megaraid/megaraid_sas_fusion.c resid = (scsi_bufflen(scmd) - data_length); resid 2002 drivers/scsi/megaraid/megaraid_sas_fusion.c scsi_set_resid(scmd, resid); resid 2004 drivers/scsi/megaraid/megaraid_sas_fusion.c if (resid && resid 2171 drivers/scsi/qla2xxx/qla_isr.c uint32_t blocks_done, resid; resid 2177 drivers/scsi/qla2xxx/qla_isr.c resid = scsi_bufflen(cmd) - (blocks_done * resid 2180 drivers/scsi/qla2xxx/qla_isr.c scsi_set_resid(cmd, resid); resid 2419 drivers/scsi/qla2xxx/qla_isr.c int32_t resid; resid 2605 drivers/scsi/qla2xxx/qla_isr.c resid = resid_len; resid 2606 drivers/scsi/qla2xxx/qla_isr.c scsi_set_resid(cp, resid); resid 2609 drivers/scsi/qla2xxx/qla_isr.c ((unsigned)(scsi_bufflen(cp) - resid) < resid 2613 drivers/scsi/qla2xxx/qla_isr.c resid, scsi_bufflen(cp)); resid 2640 drivers/scsi/qla2xxx/qla_isr.c resid = IS_FWI2_CAPABLE(ha) ? fw_resid_len : resid_len; resid 2641 drivers/scsi/qla2xxx/qla_isr.c scsi_set_resid(cp, resid); resid 2646 drivers/scsi/qla2xxx/qla_isr.c resid, scsi_bufflen(cp)); resid 2653 drivers/scsi/qla2xxx/qla_isr.c ((unsigned)(scsi_bufflen(cp) - resid) < resid 2657 drivers/scsi/qla2xxx/qla_isr.c resid, scsi_bufflen(cp)); resid 2671 drivers/scsi/qla2xxx/qla_isr.c resid, scsi_bufflen(cp)); resid 2286 drivers/scsi/qla2xxx/qla_mr.c int32_t resid; resid 2378 drivers/scsi/qla2xxx/qla_mr.c resid = resid_len; resid 2379 drivers/scsi/qla2xxx/qla_mr.c scsi_set_resid(cp, resid); resid 2382 drivers/scsi/qla2xxx/qla_mr.c ((unsigned)(scsi_bufflen(cp) - resid) < resid 2387 drivers/scsi/qla2xxx/qla_mr.c resid, scsi_bufflen(cp)); resid 2416 drivers/scsi/qla2xxx/qla_mr.c resid = fw_resid_len; resid 2418 drivers/scsi/qla2xxx/qla_mr.c resid = resid_len; resid 2419 drivers/scsi/qla2xxx/qla_mr.c scsi_set_resid(cp, resid); resid 2426 drivers/scsi/qla2xxx/qla_mr.c resid, scsi_bufflen(cp)); resid 2434 drivers/scsi/qla2xxx/qla_mr.c ((unsigned)(scsi_bufflen(cp) - resid) < resid 2440 drivers/scsi/qla2xxx/qla_mr.c resid, scsi_bufflen(cp), cp->underflow); resid 2455 drivers/scsi/qla2xxx/qla_mr.c "of 0x%x bytes).\n", resid, resid 2592 drivers/scsi/scsi_debug.c size_t resid; resid 2598 drivers/scsi/scsi_debug.c resid = sectors * sizeof(*dif_storep); resid 2604 drivers/scsi/scsi_debug.c while (sg_miter_next(&miter) && resid > 0) { resid 2605 drivers/scsi/scsi_debug.c size_t len = min(miter.length, resid); resid 2627 drivers/scsi/scsi_debug.c resid -= len; resid 252 drivers/scsi/scsi_lib.c int *resid) resid 290 drivers/scsi/scsi_lib.c if (resid) resid 291 drivers/scsi/scsi_lib.c *resid = rq->resid_len; resid 585 drivers/scsi/scsi_scan.c int resid; resid 596 drivers/scsi/scsi_scan.c &resid); resid 623 drivers/scsi/scsi_scan.c if (resid == try_inquiry_len) resid 1961 drivers/scsi/sd.c unsigned int resid; resid 1988 drivers/scsi/sd.c resid = scsi_get_resid(SCpnt); resid 1989 drivers/scsi/sd.c if (resid & (sector_size - 1)) { resid 1992 drivers/scsi/sd.c resid, sector_size); resid 1994 drivers/scsi/sd.c resid = min(scsi_bufflen(SCpnt), resid 1995 drivers/scsi/sd.c round_up(resid, sector_size)); resid 1996 drivers/scsi/sd.c scsi_set_resid(SCpnt, resid); resid 803 drivers/scsi/sg.c hp->resid = 0; resid 1329 drivers/scsi/sg.c int result, resid, done = 1; resid 1344 drivers/scsi/sg.c resid = req->resid_len; resid 1349 drivers/scsi/sg.c srp->header.resid = resid; resid 300 drivers/scsi/snic/snic_fwint.h __le32 resid; /* Residue : # bytes under or over run */ resid 429 drivers/scsi/snic/snic_scsi.c scsi_set_resid(sc, le32_to_cpu(icmnd_cmpl->resid)); resid 516 drivers/scsi/snic/snic_scsi.c scsi_set_resid(sc, le32_to_cpu(icmnd_cmpl->resid)); resid 519 drivers/scsi/snic/snic_scsi.c xfer_len -= le32_to_cpu(icmnd_cmpl->resid); resid 587 drivers/scsi/snic/snic_scsi.c (ulong) fwreq, le32_to_cpu(icmnd_cmpl->resid), ctx); resid 645 drivers/scsi/snic/snic_scsi.c sc, sc_stat, le32_to_cpu(icmnd_cmpl->resid), resid 174 drivers/scsi/sym53c8xx_2/sym_glue.c void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) resid 185 drivers/scsi/sym53c8xx_2/sym_glue.c resid = cp->sv_resid; resid 241 drivers/scsi/sym53c8xx_2/sym_glue.c scsi_set_resid(cmd, resid); resid 243 drivers/scsi/sym53c8xx_2/sym_glue.h static inline void sym_set_cam_result_ok(struct sym_ccb *cp, struct scsi_cmnd *cmd, int resid) resid 245 drivers/scsi/sym53c8xx_2/sym_glue.h scsi_set_resid(cmd, resid); resid 248 drivers/scsi/sym53c8xx_2/sym_glue.h void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid); resid 3846 drivers/scsi/sym53c8xx_2/sym_hipd.c int dp_sg, resid = 0; resid 3858 drivers/scsi/sym53c8xx_2/sym_hipd.c resid -= cp->extra_bytes; resid 3860 drivers/scsi/sym53c8xx_2/sym_hipd.c ++resid; resid 3862 drivers/scsi/sym53c8xx_2/sym_hipd.c --resid; resid 3870 drivers/scsi/sym53c8xx_2/sym_hipd.c return resid; resid 3893 drivers/scsi/sym53c8xx_2/sym_hipd.c resid = -cp->ext_ofs; resid 3896 drivers/scsi/sym53c8xx_2/sym_hipd.c resid += (tmp & 0xffffff); resid 3899 drivers/scsi/sym53c8xx_2/sym_hipd.c resid -= cp->odd_byte_adjustment; resid 3904 drivers/scsi/sym53c8xx_2/sym_hipd.c return resid; resid 5357 drivers/scsi/sym53c8xx_2/sym_hipd.c int resid; resid 5392 drivers/scsi/sym53c8xx_2/sym_hipd.c resid = sym_compute_residual(np, cp); resid 5395 drivers/scsi/sym53c8xx_2/sym_hipd.c resid = 0; /* throw them away. :) */ resid 5399 drivers/scsi/sym53c8xx_2/sym_hipd.c if (resid) resid 5400 drivers/scsi/sym53c8xx_2/sym_hipd.c printf("XXXX RESID= %d - 0x%x\n", resid, resid); resid 5448 drivers/scsi/sym53c8xx_2/sym_hipd.c sym_set_cam_result_error(np, cp, resid); resid 5487 drivers/scsi/sym53c8xx_2/sym_hipd.c int resid; resid 5511 drivers/scsi/sym53c8xx_2/sym_hipd.c resid = 0; resid 5513 drivers/scsi/sym53c8xx_2/sym_hipd.c resid = sym_compute_residual(np, cp); resid 5521 drivers/scsi/sym53c8xx_2/sym_hipd.c resid = 0; resid 5523 drivers/scsi/sym53c8xx_2/sym_hipd.c if (resid) resid 5524 drivers/scsi/sym53c8xx_2/sym_hipd.c printf("XXXX RESID= %d - 0x%x\n", resid, resid); resid 5530 drivers/scsi/sym53c8xx_2/sym_hipd.c sym_set_cam_result_ok(cp, cmd, resid); resid 97 drivers/scsi/virtio_scsi.c static void virtscsi_compute_resid(struct scsi_cmnd *sc, u32 resid) resid 99 drivers/scsi/virtio_scsi.c if (resid) resid 100 drivers/scsi/virtio_scsi.c scsi_set_resid(sc, resid); resid 119 drivers/scsi/virtio_scsi.c virtscsi_compute_resid(sc, virtio32_to_cpu(vscsi->vdev, resp->resid)); resid 323 drivers/staging/rts5208/rtsx_transport.c int sg_cnt, i, resid; resid 360 drivers/staging/rts5208/rtsx_transport.c resid = size; resid 386 drivers/staging/rts5208/rtsx_transport.c if ((len - *offset) > resid) { resid 387 drivers/staging/rts5208/rtsx_transport.c *offset += resid; resid 388 drivers/staging/rts5208/rtsx_transport.c len = resid; resid 389 drivers/staging/rts5208/rtsx_transport.c resid = 0; resid 391 drivers/staging/rts5208/rtsx_transport.c resid -= (len - *offset); resid 397 drivers/staging/rts5208/rtsx_transport.c if ((i == sg_cnt - 1) || !resid) resid 402 drivers/staging/rts5208/rtsx_transport.c if (!resid) resid 633 drivers/target/target_core_iblock.c size_t resid, len; resid 656 drivers/target/target_core_iblock.c resid = bip->bip_iter.bi_size; resid 657 drivers/target/target_core_iblock.c while (resid > 0 && sg_miter_next(miter)) { resid 659 drivers/target/target_core_iblock.c len = min_t(size_t, miter->length, resid); resid 671 drivers/target/target_core_iblock.c resid -= len; resid 539 drivers/vhost/scsi.c v_rsp.resid = cpu_to_vhost32(cmd->tvc_vq, se_cmd->residual_count); resid 323 drivers/xen/xen-scsiback.c char *sense_buffer, int32_t result, uint32_t resid, resid 351 drivers/xen/xen-scsiback.c ring_res->residual_len = resid; resid 361 drivers/xen/xen-scsiback.c uint32_t resid, struct vscsibk_pend *pending_req) resid 364 drivers/xen/xen-scsiback.c resid, pending_req->rqid); resid 375 drivers/xen/xen-scsiback.c unsigned int resid; resid 379 drivers/xen/xen-scsiback.c resid = pending_req->se_cmd.residual_count; resid 386 drivers/xen/xen-scsiback.c scsiback_do_resp_with_sense(sense_buffer, errors, resid, pending_req); resid 115 fs/compat_ioctl.c compat_int_t resid; /* [o] dxfer_len - actual_transferred */ resid 113 fs/dlm/ast.c struct dlm_callback *cb, int *resid) resid 117 fs/dlm/ast.c *resid = 0; resid 137 fs/dlm/ast.c (*resid)++; resid 220 fs/dlm/ast.c int i, rv, resid; resid 233 fs/dlm/ast.c rv = dlm_rem_lkb_callback(ls, lkb, &callbacks[i], &resid); resid 238 fs/dlm/ast.c if (resid) { resid 241 fs/dlm/ast.c resid); resid 18 fs/dlm/ast.h struct dlm_callback *cb, int *resid); resid 783 fs/dlm/user.c int rv, resid, copy_lvb = 0; resid 844 fs/dlm/user.c rv = dlm_rem_lkb_callback(lkb->lkb_resource->res_ls, lkb, &cb, &resid); resid 855 fs/dlm/user.c if (!resid) resid 861 fs/dlm/user.c if (!resid) resid 882 fs/dlm/user.c if (!resid) resid 1280 fs/xfs/xfs_rtalloc.c uint64_t resid; /* residual after log removed */ resid 1295 fs/xfs/xfs_rtalloc.c resid = seq - (1ULL << log2); resid 1296 fs/xfs/xfs_rtalloc.c b = (mp->m_sb.sb_rextents * ((resid << 1) + 1ULL)) >> resid 191 include/linux/ceph/messenger.h size_t resid; /* bytes not yet consumed */ resid 69 include/linux/nubus.h unsigned char resid; resid 193 include/scsi/scsi_cmnd.h static inline void scsi_set_resid(struct scsi_cmnd *cmd, int resid) resid 195 include/scsi/scsi_cmnd.h cmd->req.resid_len = resid; resid 435 include/scsi/scsi_device.h req_flags_t rq_flags, int *resid); resid 438 include/scsi/scsi_device.h sshdr, timeout, retries, flags, rq_flags, resid) \ resid 444 include/scsi/scsi_device.h resid); \ resid 449 include/scsi/scsi_device.h int retries, int *resid) resid 452 include/scsi/scsi_device.h bufflen, NULL, sshdr, timeout, retries, 0, 0, resid); resid 66 include/scsi/sg.h int resid; /* [o] dxfer_len - actual_transferred */ resid 68 include/uapi/linux/virtio_scsi.h __virtio32 resid; /* Residual bytes in data buffer */ resid 122 include/uapi/rdma/rdma_user_rxe.h __u32 resid; resid 820 net/ceph/messenger.c cursor->resid = min_t(size_t, length, data->bio_length); resid 822 net/ceph/messenger.c if (cursor->resid < it->iter.bi_size) resid 823 net/ceph/messenger.c it->iter.bi_size = cursor->resid; resid 825 net/ceph/messenger.c BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); resid 826 net/ceph/messenger.c cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); resid 847 net/ceph/messenger.c BUG_ON(bytes > cursor->resid); resid 849 net/ceph/messenger.c cursor->resid -= bytes; resid 852 net/ceph/messenger.c if (!cursor->resid) { resid 864 net/ceph/messenger.c if (cursor->resid < it->iter.bi_size) resid 865 net/ceph/messenger.c it->iter.bi_size = cursor->resid; resid 869 net/ceph/messenger.c BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); resid 870 net/ceph/messenger.c cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); resid 881 net/ceph/messenger.c cursor->resid = min_t(size_t, length, data->bvec_pos.iter.bi_size); resid 883 net/ceph/messenger.c cursor->bvec_iter.bi_size = cursor->resid; resid 885 net/ceph/messenger.c BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); resid 887 net/ceph/messenger.c cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); resid 908 net/ceph/messenger.c BUG_ON(bytes > cursor->resid); resid 910 net/ceph/messenger.c cursor->resid -= bytes; resid 913 net/ceph/messenger.c if (!cursor->resid) { resid 923 net/ceph/messenger.c BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); resid 925 net/ceph/messenger.c cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); resid 944 net/ceph/messenger.c cursor->resid = min(length, data->length); resid 951 net/ceph/messenger.c cursor->last_piece = cursor->page_offset + cursor->resid <= PAGE_SIZE; resid 967 net/ceph/messenger.c *length = cursor->resid; resid 983 net/ceph/messenger.c cursor->resid -= bytes; resid 988 net/ceph/messenger.c if (!cursor->resid) resid 995 net/ceph/messenger.c cursor->last_piece = cursor->resid <= PAGE_SIZE; resid 1023 net/ceph/messenger.c cursor->resid = min(length, pagelist->length); resid 1026 net/ceph/messenger.c cursor->last_piece = cursor->resid <= PAGE_SIZE; resid 1042 net/ceph/messenger.c BUG_ON(cursor->offset + cursor->resid != pagelist->length); resid 1047 net/ceph/messenger.c *length = cursor->resid; resid 1065 net/ceph/messenger.c BUG_ON(cursor->offset + cursor->resid != pagelist->length); resid 1070 net/ceph/messenger.c cursor->resid -= bytes; resid 1076 net/ceph/messenger.c if (!cursor->resid) resid 1083 net/ceph/messenger.c cursor->last_piece = cursor->resid <= PAGE_SIZE; resid 1172 net/ceph/messenger.c BUG_ON(*length > cursor->resid); resid 1188 net/ceph/messenger.c BUG_ON(bytes > cursor->resid); resid 1211 net/ceph/messenger.c if (!cursor->resid && cursor->total_resid) { resid 1587 net/ceph/messenger.c if (!cursor->resid) { resid 2336 net/ceph/messenger.c if (!cursor->resid) {