BC_INVAL
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(dbp, BC_INVAL);
brelse(dbp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
SET(bp->b_cflags, BC_INVAL);
if (!ISSET(bp->b_cflags, BC_INVAL|BC_AGE) &&
if ((bp->b_bufsize <= 0) || ISSET(bp->b_cflags, BC_INVAL)) {
!ISSET(bp->b_cflags, BC_INVAL)) {
brelsel(bp, BC_INVAL);
SET(bp->b_cflags, BC_INVAL);
brelsel(bp, BC_INVAL);
brelsel(bp, BC_INVAL | BC_VFLUSH);
brelsel(bp, BC_INVAL | BC_VFLUSH);
brelsel(bp, BC_INVAL | BC_VFLUSH);
brelsel(bp, BC_INVAL | BC_VFLUSH);
KDASSERT(!(bp->b_cflags & BC_INVAL));
brelse(bp, BC_INVAL);
brelsel(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(rabp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL | BC_VFLUSH);
brelsel(bp, BC_INVAL | BC_VFLUSH);
brelse(bp, BC_INVAL | BC_NOCACHE);
brelse(*bpp, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
bset = BC_INVAL;
bset = BC_INVAL;
brelse(bp, BC_INVAL);
if (!(bp->b_cflags & BC_INVAL)) { /* BC_INVAL indicates a "fake" buffer */
brelsel(bp, BC_INVAL);
brelsel(bp, BC_INVAL | BC_VFLUSH);
brelsel(bp, BC_INVAL | BC_VFLUSH);
brelse(bp, BC_INVAL);
KASSERT((bp->b_flags & B_LOCKED) || (bp->b_cflags & (BC_NOCACHE | BC_INVAL)));
0 : (BC_INVAL | BC_VFLUSH)));
if ((bp->b_cflags & BC_INVAL) != 0 && bp->b_iodone == NULL) {
if (((*bpp)->b_cflags & BC_INVAL) != 0 &&
if ((bp->b_cflags & BC_INVAL) != 0 &&
(tbp->b_cflags & (BC_NOCACHE | BC_INVAL)));
tbp->b_cflags |= BC_INVAL;
brelse(primarybuf, BC_INVAL);
brelse(altbuf, BC_INVAL);
brelse(primarybuf, BC_INVAL);
brelse(altbuf, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(primarybuf, BC_INVAL);
brelse(bp, BC_INVAL);
brelse(bp, BC_INVAL);
SET(bp->b_cflags, BC_INVAL);