Home
last modified time | relevance | path

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

123

/titanic_41/usr/src/uts/common/os/
H A Dvm_subr.c164 bp->b_resid = 0; in default_physio()
272 c -= bp->b_resid; in default_physio()
278 if (bp->b_resid || error) in default_physio()
283 if (bp->b_resid || error) in default_physio()
H A Dbdev_dsort.c59 #define b_cylin b_resid
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci_tpgs.c80 bp->b_resid = 0; in vhci_tpgs_set_target_groups()
258 bp->b_resid = 0; in vhci_tpgs_inquiry()
330 bp->b_resid = 0; in vhci_tpgs_page83()
472 bp->b_resid = 0; in vhci_tpgs_report_target_groups()
/titanic_41/usr/src/uts/common/io/
H A Dlofi.c700 bp->b_resid = resid; in lofi_rdwr()
711 bp->b_resid = len; in lofi_rdwr()
726 bp->b_resid = len; in lofi_rdwr()
738 bp->b_resid = resid; in lofi_rdwr()
799 bp->b_resid = bp->b_bcount; in lofi_mapped_rdwr()
804 MIN(MAXBSIZE - mapoffset, bp->b_resid)); in lofi_mapped_rdwr()
830 bp->b_resid -= xfersize; in lofi_mapped_rdwr()
862 } while ((error == 0) && (bp->b_resid > 0) && in lofi_mapped_rdwr()
1088 bp->b_resid = bp->b_bcount; in lofi_strategy_task()
1129 bp->b_resid = 0; in lofi_strategy_task()
[all …]
H A Dfssnap.c672 bp->b_resid = bp->b_bcount; in snap_strategy()
684 bp->b_resid = bp->b_bcount; in snap_strategy()
694 bp->b_resid = bp->b_bcount; in snap_strategy()
703 bp->b_resid = bp->b_bcount; in snap_strategy()
714 while (bp->b_resid > 0) { in snap_strategy()
717 len = min(chunksz - off, bp->b_resid); in snap_strategy()
731 chunk, off, len, bp->b_resid, error); in snap_strategy()
738 bp->b_resid -= len; in snap_strategy()
743 ASSERT(bp->b_resid == 0); in snap_strategy()
H A Dfd.c1068 bp->b_resid = bp->b_bcount; in fd_strategy()
1102 bp->b_resid = bp->b_bcount; in fd_strategy()
1148 bp->b_resid = bp->b_bcount; /* init resid */ in fdstart()
1227 bp->b_resid, tlen)); in fdstart()
1244 bp->b_resid -= tlen; in fdstart()
1248 bp->b_resid, bp->b_bcount)); in fdstart()
1252 KIOSP->nread += (bp->b_bcount - bp->b_resid); in fdstart()
1255 KIOSP->nwritten += (bp->b_bcount - bp->b_resid); in fdstart()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c157 if (zio->io_error == 0 && bp->b_resid != 0) in vdev_file_io_intr()
177 bp->b_resid = resid; in vdev_file_io_strategy()
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dses.c1024 bp->b_resid = bp->b_bcount; in ses_start()
1036 bp->b_resid = 0; in ses_start()
1155 bp->b_resid = bp->b_bcount; in ses_restart()
1353 bp->b_resid = pkt->pkt_resid; in ses_callback()
1354 if (bp->b_resid) { in ses_callback()
1357 bp->b_bcount - bp->b_resid, bp->b_bcount); in ses_callback()
1365 bp->b_resid = bp->b_bcount; in ses_callback()
1401 sbp->b_bcount - sbp->b_resid); in ses_decode_sense()
H A Dsd_xbuf.c341 if (bp->b_resid) in xbuf_brk_done()
342 bp0->b_resid = bp0->b_bcount; in xbuf_brk_done()
667 bp->b_resid = bp->b_bcount; in ddi_xbuf_flushq()
H A Dsgen.c1347 bp->b_resid = bp->b_bcount; in sgen_start()
1361 bp->b_resid = bp->b_bcount; in sgen_start()
1372 bp->b_resid = 0; in sgen_start()
1555 bp->b_resid = bp->b_bcount; in sgen_restart()
1652 bp->b_resid = bp->b_bcount; in sgen_callback()
1916 bp->b_resid += pkt->pkt_resid; in sgen_check_error()
H A Dst.c4112 bp->b_resid = bp->b_bcount; in st_queued_strategy()
4384 bp->b_resid = 0; in st_queued_strategy()
4392 bp->b_resid, bp->b_flags, (void *)BP_PKT(bp)); in st_queued_strategy()
4442 un->un_err_resid = bp->b_resid = bp->b_bcount; in st_queued_strategy()
4466 bp->b_resid = bp->b_bcount; in st_strategy()
4493 bp->b_resid = 0; in st_strategy()
4501 bp->b_resid, bp->b_flags, (void *)BP_PKT(bp)); in st_strategy()
6415 bp->b_resid, bp->b_flags, (void *)BP_PKT(bp)); in st_start_dump()
6639 bp->b_resid = bp->b_bcount; in st_start()
6752 bp->b_resid = bp->b_bcount; in st_runout()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/usbskel/
H A Dusbskel.c707 bp->b_resid = bp->b_bcount; in usbskel_strategy()
832 bp->b_resid, amt_transferred); in usbskel_normal_callback()
855 bp->b_resid = bp->b_bcount - amt_transferred; in usbskel_normal_callback()
859 bp->b_resid, amt_transferred); in usbskel_normal_callback()
887 bp->b_bcount, bp->b_resid, amt_transferred); in usbskel_exception_callback()
899 bp->b_resid = bp->b_bcount - amt_transferred; in usbskel_exception_callback()
916 bp->b_bcount, bp->b_resid, amt_transferred); in usbskel_exception_callback()
/titanic_41/usr/src/uts/sun/io/dada/targets/
H A Ddad.c1794 bp->b_resid = bp->b_bcount; in dcdstrategy()
1850 bp->b_resid = 0; in dcdstrategy()
1908 bp->b_resid = bn; in dcdstrategy()
1909 bp->b_resid += p_lblksrt; in dcdstrategy()
2107 bp->b_resid = bp->b_bcount; in dcdstart()
2139 sort_key = bp->b_resid; in dcdstart()
2140 bp->b_resid = BP_PKT(bp)->pkt_resid; in dcdstart()
2145 bp->b_resid, BP_PKT(bp)->pkt_resid); in dcdstart()
2163 bp->b_resid = sort_key; in dcdstart()
2173 bp->b_resid = bp->b_bcount; in dcdstart()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dbuf.h105 size_t b_resid; /* words not transferred after error */ member
114 #define b_errcnt b_resid
/titanic_41/usr/src/uts/sun4/io/efcode/
H A Dfc_physio.c71 bp->b_resid = 0; in fc_physio_setup()
/titanic_41/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h1144 if ((bp)->b_resid == 0) { \
1145 (bp)->b_resid = (bp)->b_bcount; \
1278 ((bp)->b_resid += (pktp)->pkt_resid + (SD_GET_XBUF(bp)->xb_dma_resid))
1281 ((bp)->b_resid += (pktp)->pkt_resid)
1676 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \
1691 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \
/titanic_41/usr/src/lib/libdtrace/common/
H A Dio.d.in56 size_t b_resid; /* # of bytes not transferred */ member
70 b_resid = B->b_resid;
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c1202 (void *)bp, bp->b_bcount, bp->b_resid, geterror(bp), in ugen_strategy()
2420 bp->b_resid = bp->b_bcount - len; in ugen_epx_ctrl_req()
2422 bp->b_resid = bp->b_bcount; in ugen_epx_ctrl_req()
2676 epp->ep_bp->b_resid = in ugen_epx_bulk_req_cb()
2680 epp->ep_bp->b_resid = in ugen_epx_bulk_req_cb()
2756 bp->b_resid = bp->b_bcount - len; in ugen_epx_intr_IN_req()
2771 bp->b_resid = bp->b_bcount - len; in ugen_epx_intr_IN_req()
2773 bp->b_resid = bp->b_bcount; in ugen_epx_intr_IN_req()
3097 epp->ep_bp->b_resid = epp->ep_bp->b_bcount - len; in ugen_epx_intr_OUT_req_cb()
3205 bp->b_resid = 0; in ugen_epx_isoc_IN_req()
[all …]
/titanic_41/usr/src/uts/common/io/blkdev/
H A Dblkdev.c1077 bp->b_resid = bp->b_bcount; in bd_dump()
1205 bp->b_resid = bp->b_bcount; in bd_strategy()
1236 bp->b_resid = ((lblkno + b_nblks - p_nblks) << shift); in bd_strategy()
1237 bp->b_bcount -= bp->b_resid; in bd_strategy()
1239 bp->b_resid = 0; in bd_strategy()
1727 bp->b_resid = 0; in bd_flush_write_cache()
1936 bp->b_resid += xi->i_resid; in bd_xfer_done()
1973 bp->b_resid += xi->i_resid; in bd_xfer_done()
1989 bp->b_resid += xi->i_resid; in bd_xfer_done()
/titanic_41/usr/src/uts/intel/io/dktp/drvobj/
H A Dstrategy.c270 (in_bp->b_bcount - in_bp->b_resid); in dsngl_deque()
274 (in_bp->b_bcount - in_bp->b_resid); in dsngl_deque()
405 (in_bp->b_bcount - in_bp->b_resid); in dmult_deque()
409 (in_bp->b_bcount - in_bp->b_resid); in dmult_deque()
628 (in_bp->b_bcount - in_bp->b_resid); in duplx_deque()
632 (in_bp->b_bcount - in_bp->b_resid); in duplx_deque()
/titanic_41/usr/src/uts/common/fs/
H A Dfdbuffer.c489 if (bp->b_resid) in fdb_iodone()
490 fdb->fd_resid += bp->b_resid; in fdb_iodone()
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dsym_hds.c246 bp->b_resid = 0; in hds_get_inquiry_vpd_page()
/titanic_41/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c1315 bp->b_resid = bp->b_bcount; in cmdkstrategy()
1329 bp->b_resid = 0; in cmdkstrategy()
1344 bp->b_resid = bp->b_bcount; in cmdkstrategy()
1351 bp->b_resid = ((dkblock(bp) + d_cnt) - p_lblkcnt) << SCTRSHFT; in cmdkstrategy()
1352 bp->b_bcount -= bp->b_resid; in cmdkstrategy()
1357 bp->b_resid += bp->b_bcount; in cmdkstrategy()
/titanic_41/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c755 bp->b_resid = 0; in dadk_ioctl()
859 bp->b_resid = 0; in dadk_ioctl()
1114 bp->b_resid = 0; in dadk_iob_xfer()
1279 bp->b_resid += pktp->cp_byteleft - pktp->cp_bytexfer + in dadk_ioretry()
1490 rwcmdp->status.resid = pktp->cp_bp->b_resid + in dadk_recorderr()
/titanic_41/usr/src/uts/common/xen/io/
H A Dxdf.h283 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \

123