• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/

Lines Matching refs:bp

198 	struct buf *bp;
226 if (error = (int)buf_bread(ITOV(ip), (daddr64_t)((unsigned)lbprev), osize, NOCRED, &bp)) {
227 buf_brelse(bp);
235 buf_brelse(bp);
244 if ((ufs_daddr_t)buf_blkno(bp) != fsbtodb(fs, bno))
248 allocbuf(bp, nsize);
249 buf_setflags(bp, B_DONE);
250 bzero((char *)buf_dataptr(bp) + osize, (u_int)buf_size(bp) - osize);
251 *bpp = bp;
305 buf_setblkno(bp, (daddr64_t)((unsigned)fsbtodb(fs, bno)));
312 allocbuf(bp, nsize);
313 buf_setflags(bp, B_DONE);
314 bzero((char *)buf_dataptr(bp) + osize, (u_int)buf_size(bp) - osize);
315 *bpp = bp;
324 buf_brelse(bp);
757 struct buf *bp;
779 (int)fs->fs_cgsize, NOCRED, &bp);
781 buf_brelse(bp);
784 cgp = (struct cg *)buf_dataptr(bp);
796 buf_brelse(bp);
808 buf_brelse(bp);
834 buf_bdwrite(bp);
853 struct buf *bp;
867 (int)fs->fs_cgsize, NOCRED, &bp);
869 buf_brelse(bp);
872 cgp = (struct cg *)buf_dataptr(bp);
883 buf_brelse(bp);
894 buf_bdwrite(bp);
916 buf_brelse(bp);
933 buf_bdwrite(bp);
942 buf_brelse(bp);
958 buf_bdwrite(bp);
1093 struct buf *bp;
1107 NOCRED, &bp))
1109 cgp = (struct cg *)buf_dataptr(bp);
1205 buf_bdwrite(bp);
1209 buf_brelse(bp);
1231 struct buf *bp;
1244 (int)fs->fs_cgsize, NOCRED, &bp);
1246 buf_brelse(bp);
1249 cgp = (struct cg *)buf_dataptr(bp);
1259 buf_brelse(bp);
1311 buf_bdwrite(bp);
1330 struct buf *bp;
1353 (int)fs->fs_cgsize, NOCRED, &bp);
1355 buf_brelse(bp);
1358 cgp = (struct cg *)buf_dataptr(bp);
1368 buf_brelse(bp);
1438 buf_bdwrite(bp);
1453 struct buf *bp;
1470 (int)fs->fs_cgsize, NOCRED, &bp);
1472 buf_brelse(bp);
1475 cgp = (struct cg *)buf_dataptr(bp);
1485 buf_brelse(bp);
1503 buf_brelse(bp);
1519 struct buf *bp;
1534 (int)fs->fs_cgsize, NOCRED, &bp);
1536 buf_brelse(bp);
1539 cgp = (struct cg *)buf_dataptr(bp);
1549 buf_brelse(bp);
1577 buf_bdwrite(bp);