/freebsd/sys/dev/altera/sdcard/ |
H A D | altera_sdcard_io.c | 301 case BIO_READ: in altera_sdcard_io_start_internal() 372 case BIO_READ: in altera_sdcard_io_complete() 400 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 421 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 428 case BIO_READ: in altera_sdcard_io_complete()
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_raid5.c | 224 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 237 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 319 cbp->bio_cmd = BIO_READ; in gv_raid5_rebuild() 429 case BIO_READ: in gv_raid5_request() 487 cbp->bio_cmd = BIO_READ; in gv_raid5_request() 527 cbp->bio_cmd = BIO_READ; in gv_raid5_request() 539 cbp->bio_cmd = BIO_READ; in gv_raid5_request()
|
H A D | geom_vinum_plex.c | 259 if (bp->bio_cmd == BIO_READ) in gv_plex_normal_request() 342 case BIO_READ: in gv_plex_raid5_done() 621 if (bp->bio_cmd == BIO_READ) { in gv_sync_complete() 644 BIO_READ, NULL); in gv_sync_complete() 727 if (bp->bio_cmd == BIO_READ) { in gv_grow_complete() 762 BIO_READ, NULL); in gv_grow_complete()
|
H A D | geom_vinum_init.c | 207 BIO_READ, NULL); in gv_sync_plex() 344 gv_grow_request(p, 0, MIN(origlength, origsize), BIO_READ, NULL); in gv_grow_plex()
|
H A D | geom_vinum_volume.c | 70 case BIO_READ: in gv_volume_start()
|
/freebsd/cddl/lib/libdtrace/ |
H A D | io.d | 117 inline int BIO_READ = 0x01; variable 118 #pragma D binding "1.13" BIO_READ 242 cmd == BIO_READ ? "READ" :
|
/freebsd/sys/dev/nvdimm/ |
H A D | nvdimm_spa.c | 305 if (rw == BIO_READ) in nvdimm_spa_g_all_unmapped() 340 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in nvdimm_spa_g_thread() 373 auio.uio_rw = bp->bio_cmd == BIO_READ ? in nvdimm_spa_g_thread() 393 auio.uio_rw = bp->bio_cmd == BIO_READ ? UIO_READ : in nvdimm_spa_g_thread() 413 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in nvdimm_spa_g_start()
|
/freebsd/sys/dev/fdc/ |
H A D | fdc.c | 717 if (bp->bio_cmd == BIO_READ) { in fdc_pio() 790 bp->bio_cmd == BIO_READ ? ISADMA_READ : ISADMA_WRITE, in fdc_worker() 903 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in fdc_worker() 906 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in fdc_worker() 960 if ((bp->bio_cmd == BIO_READ || in fdc_worker() 965 bp->bio_cmd == BIO_READ ? ISADMA_READ : ISADMA_WRITE, in fdc_worker() 974 if (bp->bio_cmd == BIO_READ || in fdc_worker() 1004 case BIO_READ: in fdc_worker() 1048 bp->bio_cmd == BIO_READ ? ISADMA_READ : ISADMA_WRITE, in fdc_worker() 1124 case BIO_READ: in fdc_worker() [all …]
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_io.c | 593 bp->b_iocmd = BIO_READ; in fuse_write_biobackend() 754 MPASS(bp->b_iocmd == BIO_READ || bp->b_iocmd == BIO_WRITE); in fuse_io_strategy() 756 fflag = bp->b_iocmd == BIO_READ ? FREAD : FWRITE; in fuse_io_strategy() 757 cred = bp->b_iocmd == BIO_READ ? bp->b_rcred : bp->b_wcred; in fuse_io_strategy() 759 if (bp->b_iocmd == BIO_READ && error == EBADF) { in fuse_io_strategy() 790 if (bp->b_iocmd == BIO_READ) { in fuse_io_strategy()
|
/freebsd/sys/kern/ |
H A D | subr_disk.c | 51 case BIO_READ: printf("cmd=read "); break; in disk_err() 268 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in bioq_disksort()
|
H A D | vfs_cluster.c | 230 bp->b_iocmd = BIO_READ; in cluster_read() 291 rbp->b_iocmd = BIO_READ; in cluster_read() 360 tbp->b_iocmd = BIO_READ; in cluster_rbuild() 366 tbp->b_iocmd = BIO_READ; in cluster_rbuild() 391 bp->b_iocmd = BIO_READ; in cluster_rbuild() 487 tbp->b_iocmd = BIO_READ; in cluster_rbuild()
|
/freebsd/sys/geom/ |
H A D | geom_io.c | 404 case BIO_READ: in g_io_check() 434 case BIO_READ: in g_io_check() 480 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in g_io_check() 521 if (cmd == BIO_READ || cmd == BIO_WRITE || cmd == BIO_GETATTR) { in g_io_request() 530 if (cmd == BIO_READ || cmd == BIO_WRITE || cmd == BIO_DELETE) { in g_io_request() 882 bp->bio_cmd = BIO_READ; in g_read_data() 1065 case BIO_READ: in g_format_bio()
|
/freebsd/sys/geom/raid/ |
H A D | tr_raid1.c | 260 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1_rebuild_some() 633 case BIO_READ: in g_raid_tr_iostart_raid1() 681 if (bp->bio_cmd == BIO_READ) { in g_raid_tr_iodone_raid1() 771 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) { in g_raid_tr_iodone_raid1() 830 if (bp->bio_cmd == BIO_READ && in g_raid_tr_iodone_raid1() 881 if (pbp->bio_cmd != BIO_READ) { in g_raid_tr_iodone_raid1()
|
H A D | tr_raid1e.c | 476 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1e_rebuild_some() 862 case BIO_READ: in g_raid_tr_iostart_raid1e() 898 if (bp->bio_cmd == BIO_READ) { in g_raid_tr_iodone_raid1e() 997 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) { in g_raid_tr_iodone_raid1e() 1067 if (bp->bio_cmd == BIO_READ && in g_raid_tr_iodone_raid1e() 1126 if (pbp->bio_cmd != BIO_READ) { in g_raid_tr_iodone_raid1e()
|
/freebsd/sys/dev/virtio/block/ |
H A D | virtio_blk.c | 619 if ((bp->bio_cmd != BIO_READ) && (bp->bio_cmd != BIO_WRITE) && in vtblk_strategy() 970 case BIO_READ: in vtblk_request_bio() 1006 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in vtblk_request_execute() 1077 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in vtblk_request_execute_cb() 1101 if (bp->bio_cmd == BIO_READ) in vtblk_request_execute_cb() 1128 case BIO_READ: in vtblk_request_execute_cb() 1195 case BIO_READ: in vtblk_queue_completed() 1407 buf.bio_cmd = BIO_READ; in vtblk_ident()
|
/freebsd/sys/powerpc/ps3/ |
H A D | ps3disk.c | 379 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in ps3disk_strategy() 433 (bp->bio_cmd == BIO_READ) ? "Read" : "Write", in ps3disk_intr() 444 if (bp->bio_cmd == BIO_READ) in ps3disk_intr() 611 if (bp->bio_cmd == BIO_READ) { in ps3disk_transfer()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clbio.c | 515 rabp->b_iocmd = BIO_READ; in ncl_bioread() 553 bp->b_iocmd = BIO_READ; in ncl_bioread() 584 bp->b_iocmd = BIO_READ; in ncl_bioread() 616 bp->b_iocmd = BIO_READ; in ncl_bioread() 653 bp->b_iocmd = BIO_READ; in ncl_bioread() 1087 bp->b_iocmd = BIO_READ; in ncl_write() 1487 if (bp->b_iocmd == BIO_READ) { in ncl_asyncio() 1551 if (iocmd == BIO_READ) { in ncl_doio()
|
/freebsd/sys/dev/flash/ |
H A D | at45d.c | 479 case BIO_READ: in at45d_task() 537 if (err == 0 && bp->bio_cmd != BIO_READ) in at45d_task() 569 if (bp->bio_cmd == BIO_READ) in at45d_task()
|
/freebsd/sys/dev/md/ |
H A D | md.c | 481 if ((bp->bio_cmd == BIO_READ) || (bp->bio_cmd == BIO_WRITE)) { in g_md_start() 649 case BIO_READ: in mdstart_malloc() 682 } else if (bp->bio_cmd == BIO_READ) { in mdstart_malloc() 853 case BIO_READ: in mdstart_preload() 907 case BIO_READ: in mdstart_vnode() 980 if (bp->bio_cmd == BIO_READ) { in mdstart_vnode() 1027 case BIO_READ: in mdstart_swap() 1059 if (bp->bio_cmd == BIO_READ) { in mdstart_swap() 1171 case BIO_READ: in mdstart_null() 1230 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in md_kthread()
|
/freebsd/sys/dev/ida/ |
H A D | ida.c | 515 qcb->flags = bp->bio_cmd == BIO_READ ? DMA_DATA_IN : DMA_DATA_OUT; in ida_startio() 522 hwqcb->req.command = bp->bio_cmd == BIO_READ ? CMD_READ : CMD_WRITE; in ida_startio() 663 qcb->buf->bio_cmd == BIO_READ ? in ida_done() 672 qcb->buf->bio_cmd == BIO_READ ? in ida_done()
|
/freebsd/sys/geom/shsec/ |
H A D | g_shsec.c | 260 if (pbp->bio_cmd == BIO_READ) { in g_shsec_done() 316 case BIO_READ: in g_shsec_start() 337 if (bp->bio_cmd == BIO_READ) in g_shsec_start() 352 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in g_shsec_start()
|
/freebsd/sys/dev/cfi/ |
H A D | cfi_disk.c | 276 case BIO_READ: in cfi_io_proc() 324 case BIO_READ: in cfi_disk_strategy()
|
/freebsd/sys/geom/zero/ |
H A D | g_zero.c | 81 case BIO_READ: in g_zero_start()
|
/freebsd/sys/sys/ |
H A D | bio.h | 44 #define BIO_READ 0x01 /* Read I/O data */ macro
|
/freebsd/sys/cam/ |
H A D | cam_iosched.c | 1572 if (bp->bio_cmd == BIO_READ) { in cam_iosched_next_bio() 1610 if (bp->bio_cmd == BIO_READ) { in cam_iosched_next_bio() 1695 (bp->bio_cmd != BIO_READ)) { in cam_iosched_queue_work() 1716 if (bp->bio_cmd == BIO_READ) { in cam_iosched_queue_work() 1769 } else if (bp->bio_cmd == BIO_READ) { in cam_iosched_bio_complete() 2000 case BIO_READ: in cam_iosched_io_metric_update()
|