Lines Matching defs:bp
363 static OSErr ReleaseScanBitmapBlock( struct buf *bp );
1345 struct buf *bp = NULL;
1369 err = (int)buf_meta_bread(vp, block, blockSize, NOCRED, &bp);
1371 if (bp) {
1373 buf_brelse(bp);
1377 *blockRef = (uintptr_t)bp;
1378 *buffer = (u_int32_t *)buf_dataptr(bp);
1407 struct buf *bp = (struct buf *)blockRef;
1414 panic("hfs: ReleaseBitmapBlock: missing bp");
1418 if (bp) {
1424 journal_modify_block_end(hfsmp->jnl, bp, NULL, NULL);
1426 buf_bdwrite(bp);
1429 buf_brelse(bp);
1447 static OSErr ReleaseScanBitmapBlock(struct buf *bp ) {
1449 if (bp == NULL) {
1453 if (bp) {
1455 if ((buf_flags(bp) & B_LOCKED) == 0) {
1456 buf_markinvalid(bp);
1458 buf_brelse(bp);