Lines Matching refs:alt_bp
2969 struct buf *alt_bp = NULL;
2971 if (buf_meta_bread(hfsmp->hfs_devvp, hfsmp->hfs_alt_id_sector, sectorsize, NOCRED, &alt_bp) == 0) {
2972 bcopy(mdb, (char *)buf_dataptr(alt_bp) + HFS_ALT_OFFSET(sectorsize), kMDBSize);
2974 (void) VNOP_BWRITE(alt_bp);
2975 } else if (alt_bp)
2976 buf_brelse(alt_bp);
3222 struct buf *alt_bp = NULL;
3226 hfsmp->hfs_physical_block_size, NOCRED, &alt_bp) == 0) {
3228 journal_modify_block_start(hfsmp->jnl, alt_bp);
3231 bcopy(volumeHeader, (char *)buf_dataptr(alt_bp) +
3236 journal_modify_block_end(hfsmp->jnl, alt_bp, NULL, NULL);
3238 (void) VNOP_BWRITE(alt_bp);
3240 } else if (alt_bp)
3241 buf_brelse(alt_bp);