Lines Matching refs:B_READ
376 CLR(bp->b_flags, (B_READ | B_WRITE | B_ERROR | B_DONE | B_INVAL | B_ASYNC | B_NOCACHE | B_FUA));
377 SET(bp->b_flags, (io_flags & (B_ASYNC | B_READ | B_WRITE | B_NOCACHE)));
527 io_bp->b_flags = bp->b_flags & (B_COMMIT_UPL | B_META | B_PAGEIO | B_CLUSTER | B_PHYS | B_RAW | B_ASYNC | B_READ | B_FUA);
716 ((bp->b_flags & (B_PAGEIO | B_READ)) != (B_PAGEIO | B_READ))) {
786 io_direction = bp->b_flags & B_READ;
789 if (bp->b_flags & B_READ)
812 if (!ISSET(bp->b_flags, B_READ))
872 if (bp->b_flags & B_READ)
1604 SET(bp->b_flags, B_READ | async);
1736 CLR(bp->b_flags, (B_READ | B_DONE | B_ERROR | B_DELWRI));
2020 if (bp->b_flags & (B_READ | B_INVAL))
3157 if (bp->b_vp && bp->b_vp->v_mount && (bp->b_flags & B_READ) == 0) {
3164 if (bp->b_flags & B_READ)
3179 ((bp->b_flags & (B_PAGEIO | B_READ)) == (B_PAGEIO | B_READ)) &&
3191 if (!ISSET(bp->b_flags, B_READ) && !ISSET(bp->b_flags, B_RAW))
3560 if (! (buf_flags(bp) & B_READ)) {