Home
last modified time | relevance | path

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

/netbsd/sbin/fsck_lfs/
H A 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()
H A Dbufcache.h101 #define B_LOCKED 0x00004000 /* Locked in core (not reusable). */ macro
H A Dsegwrite.c885 B_LOCKED); in lfs_writeseg()
H A Dlfs.c142 bp->b_flags |= B_DELWRI | B_LOCKED; in lfs_vop_bwrite()
/netbsd/sys/sys/
H A Dbuf.h196 #define B_LOCKED 0x00004000 /* Locked in core (not reusable). */ macro
/netbsd/sys/kern/
H A Dvfs_bio.c1052 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()
H A Dvfs_wapbl.c780 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()
/netbsd/sys/ufs/lfs/
H A 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()
H A 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; \
H A Dlfs_balloc.c589 if (((*bpp)->b_flags & B_LOCKED) != 0 && in lfs_fragextend()
H A 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))
H A Dlfs_inode.c376 if ((bp->b_flags & B_LOCKED) != 0 && bp->b_iodone == NULL) { in lfs_truncate()