/netbsd-6-1-5-RELEASE/sys/dev/ |
H A D | ccd.c | 708 bp->b_resid = bp->b_bcount; 751 if (bp->b_bcount == 0) 772 bp->b_resid = bp->b_bcount; 775 for (bcount = bp->b_bcount; bcount > 0; bcount -= rcount) { 777 rcount = cbp->cb_buf.b_bcount; 795 bp->b_resid = bp->b_bcount; 881 cbp->cb_buf.b_bcount = cbc < bcount ? cbc : bcount; 898 cbp->cb_buf.b_bcount); 922 bp, bp->b_bcount, bp->b_resid); 927 cbp->cb_buf.b_bcount); [all...] |
/netbsd-6-1-5-RELEASE/sys/nfs/ |
H A D | nfs_bio.c | 259 if (bp->b_bcount == bp->b_resid || 262 KASSERT(bp->b_bcount != bp->b_resid || 276 edp = (struct dirent *)(void *)((char *)bp->b_data + bp->b_bcount - 321 if (uio->uio_resid < (bp->b_bcount - bp->b_resid - on)) { 325 n = bp->b_bcount - bp->b_resid - on; 357 if ((on + n) < bp->b_bcount - bp->b_resid) { 871 diff = bp->b_bcount - uiop->uio_resid; 935 int i, npages = (bp->b_bcount + PAGE_SIZE - 1) >> PAGE_SHIFT; 1026 cnt = bp->b_bcount; 1028 if (!nfs_in_committed_range(vp, off, bp->b_bcount)) { [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/scsipi/ |
H A D | st.c | 1029 ("ststrategy %d bytes @ blk %" PRId64 "\n", bp->b_bcount, 1032 if (bp->b_bcount == 0) 1043 if (bp->b_bcount % st->blksize) { 1051 else if (bp->b_bcount < st->blkmin || 1052 (st->blkmax && bp->b_bcount > st->blkmax)) { 1081 bp->b_resid = bp->b_bcount; 1129 bp->b_resid = bp->b_bcount; 1160 bp->b_resid = bp->b_bcount; 1166 bp->b_resid = bp->b_bcount; 1180 bp->b_resid = bp->b_bcount; [all...] |
H A D | scsipi_ioctl.c | 246 if (bp->b_bcount != screq->datalen) { 281 bp->b_resid = bp->b_bcount; 351 si->si_bp.b_bcount = 0;
|
/netbsd-6-1-5-RELEASE/sys/arch/macppc/macppc/ |
H A D | disksubr.c | 343 bp->b_bcount = lp->d_secsize * NUM_PARTS; 420 bp->b_bcount = size; 488 bp->b_bcount = lp->d_secsize; 584 bp->b_bcount = lp->d_secsize; 642 bp->b_bcount = lp->d_secsize; 736 bp->b_bcount = lp->d_secsize;
|
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | ld_twa.c | 194 bp->b_bcount, bp->b_rawblkno, bp)); 213 bp->b_resid = bp->b_bcount; 304 _lto4b(htole32((bp->b_bcount / TWA_SECTOR_SIZE)),
|
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/sgimips/ |
H A D | disksubr.c | 92 bp->b_bcount = lp->d_secsize; 113 bp->b_bcount = lp->d_secsize; 188 bp->b_bcount = lp->d_secsize; 211 bp->b_bcount = lp->d_secsize;
|
/netbsd-6-1-5-RELEASE/sys/dev/i2o/ |
H A D | ld_iop.c | 387 mf->datasize = bp->b_bcount; 392 rv = iop_msg_map_bio(iop, im, mb, bp->b_data, bp->b_bcount, write); 494 bp->b_resid = bp->b_bcount; 496 bp->b_resid = bp->b_bcount - le32toh(rb->transfercount);
|
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/mipsco/ |
H A D | disksubr.c | 88 bp->b_bcount = lp->d_secsize; 109 bp->b_bcount = lp->d_secsize; 206 bp->b_bcount = lp->d_secsize; 229 bp->b_bcount = lp->d_secsize;
|
/netbsd-6-1-5-RELEASE/sys/dev/gpib/ |
H A D | mt.c | 494 if (bp->b_bcount & ((1 << WRITE_BITS_IGNORED) - 1)) { 514 if (bp->b_bcount > s) { 517 device_xname(&sc->sc_dev), bp->b_bcount, s); 753 cmdbuf[1] = (bp->b_bcount +((1 << WRITE_BITS_IGNORED) - 1)) >> WRITE_BITS_IGNORED; 874 bp->b_data, bp->b_bcount, dir, dir == GPIB_READ); 915 if (i <= bp->b_bcount) { 918 bp->b_resid = bp->b_bcount - i; 921 bp->b_bcount, bp->b_resid)); 925 device_xname(&sc->sc_dev), i, bp->b_bcount);
|
H A D | ct.c | 420 bp->b_bcount = MAXBSIZE; 451 bp, bp->b_dev, bp->b_blkno, bp->b_bcount, 472 sc->sc_resid = bp->b_bcount; 559 bp->b_resid = bp->b_bcount; 596 bp->b_resid = bp->b_bcount; 607 bp->b_bcount, sc->sc_blkno, sc->sc_stat.c_blk, 608 blks, bp->b_bcount - CTKTOB(blks))); 616 bp->b_resid = bp->b_bcount - CTKTOB(blks);
|
/netbsd-6-1-5-RELEASE/sys/arch/dreamcast/dev/maple/ |
H A D | mmemcard.c | 317 bp->b_resid = bp->b_bcount; 322 bp->b_resid = bp->b_bcount; 689 pt->pt_name, bp->b_blkno, bp->b_bcount); 701 || (bp->b_bcount % sc->sc_bsize) != 0) 704 cnt = howmany(bp->b_bcount, sc->sc_bsize); 728 bp->b_resid = bp->b_bcount - (cnt * sc->sc_bsize); 742 done: bp->b_resid = bp->b_bcount; 764 sc->sc_cnt = howmany(bp->b_bcount - bp->b_resid, sc->sc_bsize); 865 bp->b_resid = bp->b_bcount - bcnt;
|
/netbsd-6-1-5-RELEASE/sys/arch/hp300/dev/ |
H A D | mt.c | 463 if (bp->b_bcount & ((1 << WRITE_BITS_IGNORED) - 1)) { 483 if (bp->b_bcount > s) { 486 device_xname(sc->sc_dev), bp->b_bcount, s); 701 cmdbuf[1] = (bp->b_bcount + ((1 << WRITE_BITS_IGNORED) - 1)) >> WRITE_BITS_IGNORED; 747 bp->b_data, bp->b_bcount, rw, rw != 0); 881 if (i <= bp->b_bcount) { 884 bp->b_resid = bp->b_bcount - i; 886 device_xname(sc->sc_dev), bp->b_bcount, 891 device_xname(sc->sc_dev), i, bp->b_bcount);
|
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/obio/ |
H A D | iwm_fd.c | 1001 printf(" Bytes to be transferred (b_bcount): 0x0%x\n", 1002 bp->b_bcount); 1020 || (bp->b_bcount % sectSize) != 0) { 1024 (long long) bp->b_blkno, bp->b_bcount); 1030 if (0 == bp->b_bcount) { 1038 transferSize = (bp->b_bcount + (sectSize - 1)) / sectSize; 1053 bp->b_resid = bp->b_bcount; 1059 bp->b_bcount = transferSize << DEV_BSHIFT; 1093 bp->b_resid = bp->b_bcount; 1214 fd->bytesLeft = bp->b_bcount; [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/ |
H A D | hdfd.c | 595 ((bp->b_bcount % FDC_BSIZE) != 0 && 602 if (bp->b_bcount == 0) 605 sz = howmany(bp->b_bcount, FDC_BSIZE); 619 bp->b_bcount = sz << DEV_BSHIFT; 626 printf("fdstrategy: b_blkno %d b_bcount %ld blkno %qd cylin %ld sz" 627 " %d\n", bp->b_blkno, bp->b_bcount, (long)fd->sc_blkno, 653 bp->b_resid = bp->b_bcount; 966 fd->sc_bcount = bp->b_bcount; 1030 fd->sc_nbytes = finfo ? bp->b_bcount : nblks * FDC_BSIZE; 1130 disk_unbusy(&fd->sc_dk, (bp->b_bcount [all...] |
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 287 bp->b_bcount = zio->io_size; 298 if (bp->b_bcount <= MAXPHYS) {
|
/netbsd-6-1-5-RELEASE/sys/arch/vax/vax/ |
H A D | cfl.c | 263 if (--bp->b_bcount == 0) 292 if (--bp->b_bcount==0) {
|
/netbsd-6-1-5-RELEASE/sys/arch/news68k/news68k/ |
H A D | disksubr.c | 83 bp->b_bcount = lp->d_secsize; 169 bp->b_bcount = lp->d_secsize;
|
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/newsmips/ |
H A D | disksubr.c | 83 bp->b_bcount = lp->d_secsize; 169 bp->b_bcount = lp->d_secsize;
|
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | ld_cac.c | 160 return (cac_cmd(cac, cmd, bp->b_data, bp->b_bcount, sc->sc_hwunit, 211 bp->b_resid = bp->b_bcount;
|
H A D | ld_mlx.c | 210 bp->b_bcount, bp->b_rawblkno, (bp->b_flags & B_READ) == 0, bp)); 228 bp->b_resid = bp->b_bcount;
|
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/evbmips/ |
H A D | disksubr.c | 121 bp->b_bcount = lp->d_secsize; 210 bp->b_bcount = lp->d_secsize;
|
/netbsd-6-1-5-RELEASE/sys/arch/hp300/hp300/ |
H A D | disksubr.c | 84 bp->b_bcount = lp->d_secsize; 170 bp->b_bcount = lp->d_secsize;
|
/netbsd-6-1-5-RELEASE/sys/arch/arc/jazz/ |
H A D | fd.c | 426 (bp->b_bcount % FDC_BSIZE) != 0) { 432 if (bp->b_bcount == 0) 435 sz = howmany(bp->b_bcount, FDC_BSIZE); 449 bp->b_bcount = sz << DEV_BSHIFT; 457 printf("%s: b_blkno %" PRId64 " b_bcount %ld blkno %" PRId64 459 bp->b_blkno, bp->b_bcount, fd->sc_blkno, bp->b_cylinder, sz); 483 bp->b_resid = bp->b_bcount; 796 fd->sc_bcount = bp->b_bcount; 933 disk_unbusy(&fd->sc_dk, (bp->b_bcount - bp->b_resid),
|
/netbsd-6-1-5-RELEASE/sys/arch/arm/arm/ |
H A D | disksubr_mbr.c | 109 bp->b_bcount = lp->d_secsize; 224 bp->b_bcount = lp->d_secsize;
|