Lines Matching defs:nbp
109 struct buf *bp, *nbp;
338 nbp = buf_getblk(vp, (daddr64_t)((unsigned)(indirs[i].in_lbn)), fs->fs_bsize, 0, 0, BLK_META);
339 buf_setblkno(nbp, (daddr64_t)((unsigned)fsbtodb(fs, nb)));
340 buf_clear(nbp);
346 buf_bdwrite(nbp);
347 } else if (error = buf_bwrite(nbp)) {
401 nbp = buf_getblk(vp, (daddr64_t)((unsigned)lbn), fs->fs_bsize, 0, 0, BLK_WRITE);
402 buf_setblkno(nbp, (daddr64_t)((unsigned)fsbtodb(fs, nb)));
405 buf_clear(nbp);
411 *bpp = nbp;
418 error = (int)buf_bread(vp, (daddr64_t)((unsigned)lbn), (int)fs->fs_bsize, NOCRED, &nbp);
420 buf_brelse(nbp);
424 nbp = buf_getblk(vp, (daddr64_t)((unsigned)lbn), fs->fs_bsize, 0, 0, BLK_WRITE);
425 buf_setblkno(nbp, (daddr64_t)((unsigned)fsbtodb(fs, nb)));
427 *bpp = nbp;
475 struct buf *bp, *nbp;
611 nbp = buf_getblk(vp, (daddr64_t)((unsigned)(indirs[i].in_lbn)), fs->fs_bsize, 0, 0, BLK_META);
612 buf_setblkno(nbp, (daddr64_t)((unsigned)fsbtodb(fs, nb)));
613 buf_clear(nbp);
619 buf_bdwrite(nbp);
620 } else if (error = buf_bwrite(nbp)) {