Home
last modified time | relevance | path

Searched refs:B_LOCKED (Results 1 – 12 of 12) sorted by relevance

/netbsd/src/sbin/fsck_lfs/
Dbufcache.c177 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()
Dbufcache.h101 #define B_LOCKED 0x00004000 /* Locked in core (not reusable). */ macro
Dsegwrite.c885 B_LOCKED); in lfs_writeseg()
Dlfs.c142 bp->b_flags |= B_DELWRI | B_LOCKED; in lfs_vop_bwrite()
/netbsd/src/sys/sys/
Dbuf.h196 #define B_LOCKED 0x00004000 /* Locked in core (not reusable). */ macro
/netbsd/src/sys/kern/
Dvfs_bio.c1056 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()
1259 if (ISSET(bp->b_flags, B_LOCKED)) { in getblk()
Dvfs_wapbl.c790 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_add_buf()
1350 KASSERT(bp->b_flags & B_LOCKED); in wapbl_remove_buf_locked()
1368 bp->b_flags &= ~B_LOCKED; in wapbl_remove_buf_locked()
1392 if (bp->b_flags & B_LOCKED) { in wapbl_resize_buf()
1659 KDASSERT(!(bp->b_flags & B_LOCKED)); in wapbl_biodone()
2574 KASSERT(bp->b_flags & B_LOCKED); in wapbl_write_blocks()
/netbsd/src/sys/ufs/lfs/
Dlfs_bio.c423 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()
Dlfs_accessors.h602 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; \
Dlfs_balloc.c589 if (((*bpp)->b_flags & B_LOCKED) != 0 && in lfs_fragextend()
Dlfs_segment.c1425 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))
Dlfs_inode.c376 if ((bp->b_flags & B_LOCKED) != 0 && bp->b_iodone == NULL) { in lfs_truncate()