Searched refs:b_bcount (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-9.3-release/usr.sbin/makefs/ffs/
H A Dbuf.c79 (*bpp)->b_bcount);
83 rv = read((*bpp)->b_fd, (*bpp)->b_data, (*bpp)->b_bcount);
86 (*bpp)->b_bcount, (long long)offset, (int)rv);
89 (*bpp)->b_bcount, (long long)offset, (int)rv);
90 else if (rv != (*bpp)->b_bcount) /* short read */
92 (*bpp)->b_bcount, (long long)offset, (int)rv);
118 bp->b_bcount = 0;
138 bp->b_bcount);
141 rv = write(bp->b_fd, bp->b_data, bp->b_bcount);
144 bp->b_bcount, (lon
[all...]
H A Dbuf.h49 long b_bcount; member in struct:buf
65 #define clrbuf(bp) memset((bp)->b_data, 0, (u_int)(bp)->b_bcount)
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Dbitesize.d68 this->size = args[0]->b_bcount;
H A Diofileb.d51 @files[pid, execname, args[2]->fi_pathname] = sum(args[0]->b_bcount);
H A Dnfswizard.d47 @file[args[2]->fi_pathname] = sum(args[0]->b_bcount);
53 @rbytes = sum(args[0]->b_flags & B_READ ? args[0]->b_bcount : 0);
54 @wbytes = sum(args[0]->b_flags & B_READ ? 0 : args[0]->b_bcount);
H A Drfileio.d73 @rbytes[self->pathname, "physical"] = sum(args[0]->b_bcount);
74 pbytes += args[0]->b_bcount;
H A Dseeksize.d75 args[0]->b_bcount / 512;
H A Drfsio.d80 @rbytes[self->fs_mount, "physical"] = sum(args[0]->b_bcount);
81 pbytes += args[0]->b_bcount;
H A Dfspaging.d152 args[0]->b_flags & B_READ ? "R" : "W", args[0]->b_bcount,
H A Dfsrw.d140 args[0]->b_flags & B_READ ? "R" : "W", args[0]->b_bcount,
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Disk/
H A Dbitesize.d68 this->size = args[0]->b_bcount;
H A Diofileb.d51 @files[pid, execname, args[2]->fi_pathname] = sum(args[0]->b_bcount);
H A Dseeksize.d75 args[0]->b_bcount / 512;
/freebsd-9.3-release/sys/kern/
H A Dkern_physio.c69 bp->b_bcount = uio->uio_iov[i].iov_len;
75 if (bp->b_bcount > dev->si_iosize_max)
76 bp->b_bcount = dev->si_iosize_max;
85 if ((bp->b_bcount + iolen) > bp->b_kvasize) {
86 bp->b_bcount = bp->b_kvasize;
88 bp->b_bcount -= PAGE_SIZE;
90 bp->b_bufsize = bp->b_bcount;
114 iolen = bp->b_bcount - bp->b_resid;
H A Dvfs_cluster.c382 bp->b_bcount = 0;
495 if (tbp->b_bcount != size)
496 printf("warning: tbp->b_bcount wrong %ld vs %ld\n", tbp->b_bcount, size);
499 bp->b_bcount += size;
846 (tbp->b_bcount != tbp->b_bufsize) ||
847 (tbp->b_bcount != size) ||
864 bp->b_bcount = 0;
936 if ((tbp->b_bcount != size) ||
996 bp->b_bcount
[all...]
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Apps/
H A Dnfswizard.d47 @file[args[2]->fi_pathname] = sum(args[0]->b_bcount);
53 @rbytes = sum(args[0]->b_flags & B_READ ? args[0]->b_bcount : 0);
54 @wbytes = sum(args[0]->b_flags & B_READ ? 0 : args[0]->b_bcount);
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/FS/
H A Drfileio.d73 @rbytes[self->pathname, "physical"] = sum(args[0]->b_bcount);
74 pbytes += args[0]->b_bcount;
H A Drfsio.d80 @rbytes[self->fs_mount, "physical"] = sum(args[0]->b_bcount);
81 pbytes += args[0]->b_bcount;
H A Dfspaging.d152 args[0]->b_flags & B_READ ? "R" : "W", args[0]->b_bcount,
H A Dfsrw.d140 args[0]->b_flags & B_READ ? "R" : "W", args[0]->b_bcount,
/freebsd-9.3-release/cddl/lib/libdtrace/
H A Dio.d53 long b_bcount; /* number of bytes */
67 b_bcount = B->bio_bcount;
/freebsd-9.3-release/sys/ufs/ffs/
H A Dffs_rawread.c213 bp->b_bcount = len;
214 if (bp->b_bcount + iolen > bp->b_kvasize) {
215 bp->b_bcount = bp->b_kvasize;
217 bp->b_bcount -= PAGE_SIZE;
239 if (bp->b_bcount + blockoff * DEV_BSIZE > bsize)
240 bp->b_bcount = bsize - blockoff * DEV_BSIZE;
241 bp->b_bufsize = bp->b_bcount;
258 if (bp->b_bcount + blockoff * DEV_BSIZE > bsize * (1 + bforwards))
259 bp->b_bcount = bsize * (1 + bforwards) - blockoff * DEV_BSIZE;
260 bp->b_bufsize = bp->b_bcount;
[all...]
H A Dffs_subr.c180 last = start + btodb(bp->b_bcount) - 1;
187 if (ep->b_bcount == 0 || ep->b_blkno > last ||
188 ep->b_blkno + btodb(ep->b_bcount) <= start)
193 (intmax_t)(ep->b_blkno + btodb(ep->b_bcount) - 1));
/freebsd-9.3-release/sys/fs/ext2fs/
H A Dext2_subr.c143 last = start + btodb(bp->b_bcount) - 1;
149 if (ep->b_bcount == 0 || ep->b_blkno > last ||
150 ep->b_blkno + btodb(ep->b_bcount) <= start)
155 (intmax_t)(ep->b_blkno + btodb(ep->b_bcount) - 1));
/freebsd-9.3-release/sys/dev/mlx/
H A Dmlx_compat.h46 # define MLX_BIO_LENGTH(bp) (bp)->b_bcount

Completed in 187 milliseconds

123