Lines Matching refs:B_LOCKED
2317 if ((buf_flags(bp) & (B_DELWRI | B_LOCKED)) == B_DELWRI) {
2327 buf_setflags(bp, B_LOCKED);
2393 buf_clearflags(bp, B_LOCKED);
2429 if ((buf_flags(bp) & B_LOCKED) == 0) {
2572 if ( !(bflags & B_LOCKED))
2573 panic("jnl: modify_block_end: called with bp not B_LOCKED");
2576 * bp must be BL_BUSY and B_LOCKED
2585 buf_clearflags(bp, B_LOCKED);
2958 if ((buf_flags(bp) & (B_LOCKED|B_DELWRI)) != (B_LOCKED|B_DELWRI)) {
2960 buf_clearflags(bp, B_LOCKED);
2975 buf_clearflags(bp, B_LOCKED);
3030 !(buf_flags(blhdr->binfo[i].b.bp) & B_LOCKED) ) {