Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/uts/common/os/
H A Dvm_subr.c156 bp->b_resid = 0; in default_physio()
264 c -= bp->b_resid; in default_physio()
270 if (bp->b_resid || error) in default_physio()
275 if (bp->b_resid || error) in default_physio()
H A Dbdev_dsort.c59 #define b_cylin b_resid
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/
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 Dlofi.c1012 bp->b_resid = resid; in lofi_rdwr()
1023 bp->b_resid = len; in lofi_rdwr()
1038 bp->b_resid = len; in lofi_rdwr()
1050 bp->b_resid = resid; in lofi_rdwr()
1111 bp->b_resid = bp->b_bcount; in lofi_mapped_rdwr()
1116 MIN(MAXBSIZE - mapoffset, bp->b_resid)); in lofi_mapped_rdwr()
1142 bp->b_resid -= xfersize; in lofi_mapped_rdwr()
1174 } while ((error == 0) && (bp->b_resid > 0) && in lofi_mapped_rdwr()
1486 bp->b_resid = bp->b_bcount; in lofi_strategy_task()
1527 bp->b_resid = 0; in lofi_strategy_task()
[all …]
H A Dfd.c1074 bp->b_resid = bp->b_bcount; in fd_strategy()
1108 bp->b_resid = bp->b_bcount; in fd_strategy()
1154 bp->b_resid = bp->b_bcount; /* init resid */ in fdstart()
1233 bp->b_resid, tlen)); in fdstart()
1250 bp->b_resid -= tlen; in fdstart()
1254 bp->b_resid, bp->b_bcount)); in fdstart()
1258 KIOSP->nread += (bp->b_bcount - bp->b_resid); in fdstart()
1261 KIOSP->nwritten += (bp->b_bcount - bp->b_resid); in fdstart()
/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses.c998 bp->b_resid = bp->b_bcount; in ses_start()
1010 bp->b_resid = 0; in ses_start()
1121 bp->b_resid = bp->b_bcount; in ses_restart()
1322 bp->b_resid = pkt->pkt_resid; in ses_callback()
1323 if (bp->b_resid) { in ses_callback()
1326 bp->b_bcount - bp->b_resid, bp->b_bcount); in ses_callback()
1334 bp->b_resid = bp->b_bcount; in ses_callback()
1370 sbp->b_bcount - sbp->b_resid); in ses_decode_sense()
H A Dsd_xbuf.c340 if (bp->b_resid) in xbuf_brk_done()
341 bp0->b_resid = bp0->b_bcount; in xbuf_brk_done()
671 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 …]
/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h1151 if ((bp)->b_resid == 0) { \
1152 (bp)->b_resid = (bp)->b_bcount; \
1285 ((bp)->b_resid += (pktp)->pkt_resid + (SD_GET_XBUF(bp)->xb_dma_resid))
1288 ((bp)->b_resid += (pktp)->pkt_resid)
1683 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \
1698 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \
/illumos-gate/usr/src/uts/common/sys/
H A Dbuf.h107 size_t b_resid; /* words not transferred after error */ member
116 #define b_errcnt b_resid
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c180 if (zio->io_error == 0 && bp->b_resid != 0) in vdev_file_io_intr()
207 bp->b_resid = resid; in vdev_file_io_strategy()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_physio.c71 bp->b_resid = 0; in fc_physio_setup()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c1214 (void *)bp, bp->b_bcount, bp->b_resid, geterror(bp), in ugen_strategy()
2448 bp->b_resid = bp->b_bcount - len; in ugen_epx_ctrl_req()
2450 bp->b_resid = bp->b_bcount; in ugen_epx_ctrl_req()
2704 epp->ep_bp->b_resid = in ugen_epx_bulk_req_cb()
2708 epp->ep_bp->b_resid = in ugen_epx_bulk_req_cb()
2784 bp->b_resid = bp->b_bcount - len; in ugen_epx_intr_IN_req()
2799 bp->b_resid = bp->b_bcount - len; in ugen_epx_intr_IN_req()
2801 bp->b_resid = bp->b_bcount; in ugen_epx_intr_IN_req()
3125 epp->ep_bp->b_resid = epp->ep_bp->b_bcount - len; in ugen_epx_intr_OUT_req_cb()
3233 bp->b_resid = 0; in ugen_epx_isoc_IN_req()
[all …]
/illumos-gate/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;
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c1346 bp->b_resid = bp->b_bcount; in bd_dump()
1474 bp->b_resid = bp->b_bcount; in bd_strategy()
1505 bp->b_resid = ((lblkno + b_nblks - p_nblks) << shift); in bd_strategy()
1506 bp->b_bcount -= bp->b_resid; in bd_strategy()
1508 bp->b_resid = 0; in bd_strategy()
2151 bp->b_resid = 0; in bd_flush_write_cache()
2199 bp->b_resid = 0; in bd_free_space_cb()
2472 bp->b_resid += xi->i_resid; in bd_xfer_done()
2509 bp->b_resid += xi->i_resid; in bd_xfer_done()
2525 bp->b_resid += xi->i_resid; in bd_xfer_done()
/illumos-gate/usr/src/uts/common/fs/
H A Dfdbuffer.c488 if (bp->b_resid) in fdb_iodone()
489 fdb->fd_resid += bp->b_resid; in fdb_iodone()
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c1279 bp->b_resid = bp->b_bcount; in cmdkstrategy()
1293 bp->b_resid = 0; in cmdkstrategy()
1308 bp->b_resid = bp->b_bcount; in cmdkstrategy()
1315 bp->b_resid = ((dkblock(bp) + d_cnt) - p_lblkcnt) << SCTRSHFT; in cmdkstrategy()
1316 bp->b_bcount -= bp->b_resid; in cmdkstrategy()
1321 bp->b_resid += bp->b_bcount; in cmdkstrategy()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdf.h288 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \

123