Lines Matching refs:bp
95 buf_t bp = (struct buf *)0;
131 for (error = 0, bp = NULL; uio_resid(uio) > 0;
132 bp = NULL) {
149 error = (int)buf_bread(vp, (daddr64_t)((unsigned)lbn), size, NOCRED, &bp);
153 size, &nextlbn, &nextsize, 1, NOCRED, &bp);
155 error = (int)buf_bread(vp, lbn, size, NOCRED, &bp);
167 size -= buf_resid(bp);
173 buf_data = (char *)buf_dataptr(bp);
196 buf_markaged(bp);
197 buf_brelse(bp);
200 if (bp != NULL)
201 buf_brelse(bp);
224 buf_t bp;
348 &bp, local_flags, &blkalloc);
435 error = ffs_balloc(ip, lbn, blkoffset + xfersize, cred, &bp, flags, 0);
443 size = BLKSIZE(fs, ip, lbn) - buf_resid(bp);
447 buf_data = (char *)buf_dataptr(bp);
456 (void)buf_bwrite(bp);
458 buf_markaged(bp);
459 buf_bdwrite(bp);
462 buf_bdwrite(bp);
573 struct buf *bp;