Home
last modified time | relevance | path

Searched refs:B_READ (Results 1 – 11 of 11) sorted by relevance

/xnu-11215/bsd/kern/
H A Dkern_physio.c97 flags &= B_READ | B_WRITE; in physio()
115 (flags == B_READ) ? B_WRITE : B_READ)) { in physio()
212 (flags & B_READ)); in physio()
/xnu-11215/bsd/sys/
H A Dbuf_internal.h196 #define BUF_X_RDFLAGS (B_PHYS | B_RAW | B_LOCKED | B_ASYNC | B_READ | B_WRITE | B_PAGEIO |\
202 #define BUF_X_WRFLAGS (B_PHYS | B_RAW | B_LOCKED | B_ASYNC | B_READ | B_WRITE | B_PAGEIO |\
208 #define B_READ 0x00000001 /* Read buffer. */
H A Dbuf.h79 #define B_READ 0x00000001 /* Read buffer. */ macro
/xnu-11215/bsd/vfs/
H A Dvfs_disk_conditioner.c141 if (info->read_throughput_mbps && (bp->b_flags & B_READ)) { in disk_conditioner_delay()
143 } else if (info->write_throughput_mbps && !(bp->b_flags & B_READ)) { in disk_conditioner_delay()
H A Dvfs_bio.c1259 ((bp->b_flags & (B_PAGEIO | B_READ)) != (B_PAGEIO | B_READ))) { in buf_unmap_range_internal()
1348 io_direction = bp->b_flags & B_READ; in buf_strategy_fragmented()
1351 if (bp->b_flags & B_READ) { in buf_strategy_fragmented()
1375 if (!ISSET(bp->b_flags, B_READ)) { in buf_strategy_fragmented()
1448 if (bp->b_flags & B_READ) { in buf_strategy()
2265 SET(bp->b_flags, B_READ | async); in bio_doread()
2400 CLR(bp->b_flags, (B_READ | B_DONE | B_ERROR | B_DELWRI)); in buf_bwrite()
2824 if (bp->b_flags & (B_READ | B_INVAL)) { in buf_brelse()
4213 if (mp && (bp->b_flags & B_READ) == 0) { in buf_biodone()
4226 if (bp->b_flags & B_READ) { in buf_biodone()
[all …]
H A Dvfs_io_compression_stats.c375 if ((io_compression_stats_enable != 1) || (bflags & B_READ) || (buf_cnt <= 0)) { in io_compression_stats()
H A Dvfs_cluster.c882 if (io_flags & B_READ) { in cluster_ioerror()
893 } else if (((io_flags & B_READ) == 0) && ((error != ENXIO) || vnode_isswap(vp))) { in cluster_ioerror()
1167 if ((b_flags & B_PHYS) && (b_flags & B_READ)) { in cluster_iodone_finish()
1519 io_flags = B_READ; in cluster_io()
2294 if (!(io_flags & B_READ)) { in cluster_io()
2729 if (bp->b_flags & B_READ) { in cluster_bp_ext()
/xnu-11215/bsd/dev/dtrace/scripts/
H A Dio.d29 inline int B_READ = 0x0001; variable
30 #pragma D binding "1.0" B_READ
/xnu-11215/bsd/miscfs/specfs/
H A Dspec_vnops.c2600 if (bp->b_flags & B_READ) { in spec_strategy()
2635 if (((bflags & B_READ) == 0) && ((bflags & B_ASYNC) == 0)) { in spec_strategy()
2639 if (bflags & B_READ) { in spec_strategy()
2717 if ((bflags & B_READ) == 0) { in spec_strategy()
/xnu-11215/bsd/dev/
H A Dmemdev.c304 if (buf_flags(bp) & B_READ) { /* Is this a read? */ in mdevstrategy()
/xnu-11215/bsd/vm/
H A Dvm_unix.c572 if (prot == B_READ) { in useracc()