/titanic_50/usr/src/uts/common/os/ |
H A D | vm_subr.c | 164 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 D | bdev_dsort.c | 59 #define b_cylin b_resid
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci_tpgs.c | 80 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_50/usr/src/uts/common/io/ |
H A D | lofi.c | 700 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 D | fssnap.c | 672 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 D | fd.c | 1068 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_50/usr/src/uts/common/fs/zfs/ |
H A D | vdev_file.c | 157 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_50/usr/src/uts/common/io/scsi/targets/ |
H A D | ses.c | 1024 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 D | sd_xbuf.c | 340 if (bp->b_resid) in xbuf_brk_done() 341 bp0->b_resid = bp0->b_bcount; in xbuf_brk_done() 666 bp->b_resid = bp->b_bcount; in ddi_xbuf_flushq()
|
H A D | sgen.c | 1347 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 D | st.c | 4112 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_50/usr/src/uts/common/io/usb/clients/usbskel/ |
H A D | usbskel.c | 707 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_50/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 1794 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_50/usr/src/uts/common/sys/ |
H A D | buf.h | 105 size_t b_resid; /* words not transferred after error */ member 114 #define b_errcnt b_resid
|
/titanic_50/usr/src/uts/sun4/io/efcode/ |
H A D | fc_physio.c | 71 bp->b_resid = 0; in fc_physio_setup()
|
/titanic_50/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 1145 if ((bp)->b_resid == 0) { \ 1146 (bp)->b_resid = (bp)->b_bcount; \ 1279 ((bp)->b_resid += (pktp)->pkt_resid + (SD_GET_XBUF(bp)->xb_dma_resid)) 1282 ((bp)->b_resid += (pktp)->pkt_resid) 1677 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \ 1692 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | io.d.in | 56 size_t b_resid; /* # of bytes not transferred */ member 70 b_resid = B->b_resid;
|
/titanic_50/usr/src/uts/common/io/usb/usba/ |
H A D | usba_ugen.c | 1214 (void *)bp, bp->b_bcount, bp->b_resid, geterror(bp), in ugen_strategy() 2432 bp->b_resid = bp->b_bcount - len; in ugen_epx_ctrl_req() 2434 bp->b_resid = bp->b_bcount; in ugen_epx_ctrl_req() 2688 epp->ep_bp->b_resid = in ugen_epx_bulk_req_cb() 2692 epp->ep_bp->b_resid = in ugen_epx_bulk_req_cb() 2768 bp->b_resid = bp->b_bcount - len; in ugen_epx_intr_IN_req() 2783 bp->b_resid = bp->b_bcount - len; in ugen_epx_intr_IN_req() 2785 bp->b_resid = bp->b_bcount; in ugen_epx_intr_IN_req() 3109 epp->ep_bp->b_resid = epp->ep_bp->b_bcount - len; in ugen_epx_intr_OUT_req_cb() 3217 bp->b_resid = 0; in ugen_epx_isoc_IN_req() [all …]
|
/titanic_50/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 1077 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_50/usr/src/uts/intel/io/dktp/drvobj/ |
H A D | strategy.c | 270 (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_50/usr/src/uts/common/fs/ |
H A D | fdbuffer.c | 489 if (bp->b_resid) in fdb_iodone() 490 fdb->fd_resid += bp->b_resid; in fdb_iodone()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | sym_hds.c | 246 bp->b_resid = 0; in hds_get_inquiry_vpd_page()
|
/titanic_50/usr/src/uts/intel/io/dktp/disk/ |
H A D | cmdk.c | 1315 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_50/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 755 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_50/usr/src/uts/common/xen/io/ |
H A D | xdf.h | 283 size_t n_done = (bp)->b_bcount - (bp)->b_resid; \
|