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

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dbuf_internal.h98 long b_bcount; /* Valid bytes in buffer. */ member in struct:buf
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_bio.c385 return (bp->b_bcount);
391 bp->b_bcount = bcount;
515 if ((unsigned)(io_offset + io_size) > (unsigned)bp->b_bcount)
522 if (((bp->b_uploffset + io_offset + io_size) & PAGE_MASK) && ((io_offset + io_size) < bp->b_bcount))
540 io_bp->b_bcount = io_size;
742 bzero(baddr, bp->b_bcount);
785 io_resid = bp->b_bcount;
801 io_bp->b_bcount = io_contig_bytes;
898 if ((error = VNOP_BLOCKMAP(vp, f_offset, bp->b_bcount, &bp->b_blkno, &contig_bytes, NULL, bmap_flags, NULL))) {
906 else if ((long)contig_bytes < bp->b_bcount)
[all...]
H A Dvfs_cluster.c498 (int)cbp_head, bp->b_lblkno, bp->b_bcount, bp->b_flags, 0);
508 (int)cbp_head, (int)cbp, cbp->b_bcount, cbp->b_flags, 0);
541 total_size += cbp->b_bcount;
552 transaction_size = cbp->b_uploffset + cbp->b_bcount - upl_offset;
566 cbp_head->b_bcount = transaction_size;
1012 cbp->b_bcount &= ~PAGE_MASK;
1014 if (cbp->b_bcount == 0) {
1287 cbp->b_bcount = io_size;
1410 size += cbp->b_bcount;
1411 io_size += cbp->b_bcount;
[all...]

Completed in 43 milliseconds