Searched refs:B_LOCKED (Results 1 – 12 of 12) sorted by relevance
177 if (bp->b_flags & B_LOCKED) { in bremfree()295 bp->b_flags &= ~(B_READ | B_DONE | B_DELWRI | B_LOCKED); in bwrite()318 if (bp->b_flags & B_LOCKED) { in brelse()
101 #define B_LOCKED 0x00004000 /* Locked in core (not reusable). */ macro
885 B_LOCKED); in lfs_writeseg()
142 bp->b_flags |= B_DELWRI | B_LOCKED; in lfs_vop_bwrite()
196 #define B_LOCKED 0x00004000 /* Locked in core (not reusable). */ macro
1052 if (ISSET(bp->b_flags, B_LOCKED)) in brelsel()1068 !ISSET(bp->b_flags, B_LOCKED) && bp->b_error == 0) { in brelsel()1085 if (ISSET(bp->b_flags, B_LOCKED)) { in brelsel()1124 if (ISSET(bp->b_flags, B_LOCKED)) { in brelsel()1255 if (ISSET(bp->b_flags, B_LOCKED)) { in getblk()
780 KASSERT(bp->b_flags & B_LOCKED); in wapbl_discard()1297 if (bp->b_flags & B_LOCKED) { in wapbl_add_buf()1319 bp->b_flags |= B_LOCKED; in wapbl_add_buf()1339 KASSERT(bp->b_flags & B_LOCKED); in wapbl_remove_buf_locked()1356 bp->b_flags &= ~B_LOCKED; in wapbl_remove_buf_locked()1380 if (bp->b_flags & B_LOCKED) { in wapbl_resize_buf()1649 KDASSERT(!(bp->b_flags & B_LOCKED)); in wapbl_biodone()2559 KASSERT(bp->b_flags & B_LOCKED); in wapbl_write_blocks()
423 KASSERT((bp->b_flags & B_LOCKED) || !(bp->b_oflags & BO_DELWRI)); in lfs_bwrite_ext()459 if ((bp->b_flags & B_LOCKED) == 0) { in lfs_bwrite_ext()
602 if (((bp)->b_flags & B_LOCKED) == 0 && bp->b_iodone == NULL) { \608 (bp)->b_flags |= B_LOCKED; \612 if (((bp)->b_flags & B_LOCKED) != 0 && bp->b_iodone == NULL) { \621 (bp)->b_flags &= ~B_LOCKED; \
589 if (((*bpp)->b_flags & B_LOCKED) != 0 && in lfs_fragextend()
1425 if (!(bp->b_flags & B_LOCKED)) {2588 KASSERT(tbp->b_flags & B_LOCKED);2598 if ((tbp->b_flags & B_LOCKED) && !(tbp->b_oflags & BO_DELWRI))
376 if ((bp->b_flags & B_LOCKED) != 0 && bp->b_iodone == NULL) { in lfs_truncate()