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
1056 if (ISSET(bp->b_flags, B_LOCKED)) in brelsel() 1072 !ISSET(bp->b_flags, B_LOCKED) && bp->b_error == 0) { in brelsel() 1089 if (ISSET(bp->b_flags, B_LOCKED)) { in brelsel() 1128 if (ISSET(bp->b_flags, B_LOCKED)) { in brelsel() 1256 * LFS can't track total size of B_LOCKED buffer (locked_queue_bytes) in getblk() 1259 if (ISSET(bp->b_flags, B_LOCKED)) { in getblk()
790 KASSERT(bp->b_flags & B_LOCKED); in wapbl_discard() 1308 if (bp->b_flags & B_LOCKED) { in wapbl_add_buf() 1330 bp->b_flags |= B_LOCKED; in wapbl_remove_buf_locked() 1350 KASSERT(bp->b_flags & B_LOCKED); in wapbl_remove_buf_locked() 1368 bp->b_flags &= ~B_LOCKED;1388 * XXX: why does this depend on B_LOCKED? otherwise the buf1392 if (bp->b_flags & B_LOCKED) {1659 KDASSERT(!(bp->b_flags & B_LOCKED)); in wapbl_biodone() 2574 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()