Home
last modified time | relevance | path

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

/freebsd/sys/fs/fuse/
H A Dfuse_io.c207 if (on < bcount - bp->b_resid) in fuse_read_biobackend()
208 n = MIN((unsigned)(bcount - bp->b_resid - on), in fuse_read_biobackend()
217 if (bp->b_resid > 0) { in fuse_read_biobackend()
600 if (bp->b_resid > 0) { in fuse_write_biobackend()
897 bp->b_resid = 0; in fuse_io_strategy()
902 bp->b_resid = uiop->uio_resid; in fuse_io_strategy()
/freebsd/cddl/lib/libdtrace/
H A Dio.d59 size_t b_resid; /* # of bytes not transferred */ member
74 b_resid = B->bio_resid;
/freebsd/sys/ufs/ffs/
H A Dffs_rawread.c234 bp->b_resid = 0; in ffs_rawread_readahead()
320 iolen = bp->b_bcount - bp->b_resid; in ffs_rawread_main()
H A Dffs_vnops.c792 size -= bp->b_resid; in ffs_read()
951 size = blksize(fs, ip, lbn) - bp->b_resid; in ffs_write()
1152 size -= bp->b_resid; in ffs_extread()
1249 size = sblksize(fs, dp->di_extsize, lbn) - bp->b_resid; in ffs_extwrite()
/freebsd/sys/sys/
H A Dbuf.h105 long b_resid; member
494 (bp)->b_resid = 0; \
/freebsd/sys/fs/nfsclient/
H A Dnfs_clbio.c593 n = MIN(uio->uio_resid, NFS_MAXPATHLEN - bp->b_resid); in ncl_bioread()
695 n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on); in ncl_bioread()
1636 bp->b_resid = 0; in ncl_doio()
1753 bp->b_resid = 0; in ncl_doio()
1758 bp->b_resid = uiop->uio_resid; in ncl_doio()
/freebsd/sys/fs/smbfs/
H A Dsmbfs_io.c395 bp->b_resid = 0; in smbfs_doio()
402 bp->b_resid = uiop->uio_resid; in smbfs_doio()
/freebsd/sys/geom/
H A Dgeom_vfs.c163 bp->b_resid = bp->b_bcount - bip->bio_completed; in g_vfs_done()
/freebsd/sys/fs/tarfs/
H A Dtarfs_vnops.c638 bp->b_resid = len; in tarfs_strategy()
656 bp->b_resid -= len - auio.uio_resid; in tarfs_strategy()
H A Dtarfs_io.c581 bp->b_resid = len; in tarfs_zstrategy()
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c598 diff = blsize - bp->b_resid; in msdosfs_read()
1636 n = min(n, blsize - bp->b_resid); in msdosfs_readdir()
/freebsd/sys/fs/cd9660/
H A Dcd9660_vnops.c322 n = MIN(n, size - bp->b_resid); in cd9660_read()
/freebsd/sys/kern/
H A Dvfs_bio.c1768 bp->b_resid = 0; in buf_alloc()
2977 iosize = bp->b_bcount - bp->b_resid; in vfs_vmio_iodone()
4926 bp->b_resid = 0; in vfs_bio_clrbuf()
5479 bp->b_error, bp->b_bufsize, bp->b_bcount, bp->b_resid, in DB_SHOW_COMMAND()
/freebsd/sys/fs/ext2fs/
H A Dext2_vnops.c2104 size -= bp->b_resid; in ext2_read()
2254 size = blksize(fs, ip, lbn) - bp->b_resid; in ext2_write()
/freebsd/sys/fs/udf/
H A Dudf_vnops.c503 n = min(n, size - bp->b_resid); in udf_read()
/freebsd/sys/vm/
H A Dswap_pager.c2855 bp->b_resid = bp->b_bcount - bp2->bio_completed; in swapgeom_done()