B_LOCKED
if ((bp->b_flags & (B_DELWRI | B_LOCKED)) || bp->b_refs) {
if (bp->b_flags & (B_DELWRI | B_LOCKED))
if (bp->b_flags & B_LOCKED) {
if ((bp->b_flags & (B_LOCKED|B_DELWRI)) == 0)
if (bp->b_flags & B_LOCKED) {
if ((bp->b_flags & B_LOCKED) == 0 &&
if (bp->b_flags & B_LOCKED) {
KKASSERT((bp->b_flags & B_LOCKED) || LIST_FIRST(&bp->b_dep) != NULL);
(tbp->b_flags & (B_LOCKED | B_INVAL | B_DELWRI)) !=
(tbp->b_flags & B_LOCKED)
if ((tbp->b_flags & (B_CACHE|B_LOCKED)) ||
if (bp->b_flags & B_LOCKED) {
bp->b_flags &= ~B_LOCKED;
KKASSERT((bp->b_flags & B_LOCKED) == 0 && io->running == 0);
bp->b_flags |= B_LOCKED;
bp->b_flags |= B_LOCKED;
if ((bp->b_flags & B_LOCKED) == 0) {
bp->b_flags |= B_LOCKED;
bp->b_flags |= B_LOCKED;
if (bp->b_flags & B_LOCKED) {
bp->b_flags &= ~B_LOCKED;
KKASSERT((bp->b_flags & B_LOCKED) == 0);
} else if (bp->b_flags & B_LOCKED) {
if (bp->b_flags & B_LOCKED) {
if ((bp->b_flags & B_LOCKED) || io->reclaim) {
if ((bp->b_flags & B_LOCKED) == 0) {
bp->b_flags |= B_LOCKED;