| /freebsd-13.1/sys/geom/ |
| H A D | geom_io.c | 198 bp2->bio_cmd = bp->bio_cmd; in g_clone_bio() 243 bp2->bio_cmd = bp->bio_cmd; in g_duplicate_bio() 311 bp->bio_cmd = BIO_ZONE; in g_io_zonecmd() 375 bp->bio_cmd = BIO_FLUSH; in g_io_flush() 402 switch(bp->bio_cmd) { in g_io_check() 432 switch(bp->bio_cmd) { in g_io_check() 479 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in g_io_check() 519 cmd = bp->bio_cmd; in g_io_request() 527 bp->bio_cmd)); in g_io_request() 881 bp->bio_cmd = BIO_READ; in g_read_data() [all …]
|
| H A D | geom_dev.c | 769 if (bp2->bio_cmd == BIO_ZONE) in g_dev_done() 799 KASSERT(bp->bio_cmd == BIO_READ || in g_dev_strategy() 800 bp->bio_cmd == BIO_WRITE || in g_dev_strategy() 801 bp->bio_cmd == BIO_DELETE || in g_dev_strategy() 802 bp->bio_cmd == BIO_FLUSH || in g_dev_strategy() 803 bp->bio_cmd == BIO_ZONE, in g_dev_strategy() 804 ("Wrong bio_cmd bio=%p cmd=%d", bp, bp->bio_cmd)); in g_dev_strategy() 837 bp2->bio_data, bp2->bio_cmd); in g_dev_strategy()
|
| /freebsd-13.1/sys/dev/altera/sdcard/ |
| H A D | altera_sdcard_io.c | 303 switch (bp->bio_cmd) { in altera_sdcard_io_start_internal() 374 switch (bp->bio_cmd) { in altera_sdcard_io_complete() 403 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 404 (bp->bio_cmd == BIO_WRITE ? "BIO_WRITE" : in altera_sdcard_io_complete() 424 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 425 (bp->bio_cmd == BIO_WRITE ? "write" : "unknown"), in altera_sdcard_io_complete() 430 switch (bp->bio_cmd) { in altera_sdcard_io_complete() 441 bp->bio_cmd); in altera_sdcard_io_complete()
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_disk.c | 52 switch(bp->bio_cmd) { in disk_err() 58 default: printf("cmd=%x ", bp->bio_cmd); break; in disk_err() 270 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in bioq_disksort() 271 bp->bio_cmd != BIO_DELETE) { in bioq_disksort()
|
| H A D | subr_devstat.c | 369 if (bp->bio_cmd == BIO_DELETE) in devstat_end_transaction_bio_bt() 371 else if ((bp->bio_cmd == BIO_READ) in devstat_end_transaction_bio_bt() 372 || ((bp->bio_cmd == BIO_ZONE) in devstat_end_transaction_bio_bt() 375 else if (bp->bio_cmd == BIO_WRITE) in devstat_end_transaction_bio_bt()
|
| /freebsd-13.1/sys/dev/fdc/ |
| H A D | fdc.c | 886 if (bp->bio_cmd == BIO_FMT || bp->bio_cmd == BIO_WRITE) { in fdc_worker() 906 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in fdc_worker() 909 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in fdc_worker() 964 bp->bio_cmd == BIO_WRITE || in fdc_worker() 965 bp->bio_cmd == BIO_FMT) in fdc_worker() 979 bp->bio_cmd == BIO_FMT) in fdc_worker() 982 bp->bio_cmd == BIO_FMT) in fdc_worker() 986 switch(bp->bio_cmd) { in fdc_worker() 1115 switch(bp->bio_cmd) { in fdc_worker() 1285 bp->bio_cmd = cmd; in fdmisccmd() [all …]
|
| /freebsd-13.1/sys/cam/ |
| H A D | cam_iosched.c | 1339 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_get_write() 1504 if (bp->bio_cmd == BIO_READ && in cam_iosched_next_bio() 1515 if (bp->bio_cmd == BIO_READ) { in cam_iosched_next_bio() 1550 if (bp->bio_cmd == BIO_SPEEDUP) { in cam_iosched_queue_work() 1585 if (bp->bio_cmd == BIO_DELETE) { in cam_iosched_queue_work() 1603 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_queue_work() 1617 if (bp->bio_cmd == BIO_READ) { in cam_iosched_queue_work() 1664 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_bio_complete() 1670 } else if (bp->bio_cmd == BIO_READ) { in cam_iosched_bio_complete() 1681 } else if (bp->bio_cmd != BIO_FLUSH) { in cam_iosched_bio_complete() [all …]
|
| /freebsd-13.1/sys/dev/nvdimm/ |
| H A D | nvdimm_spa.c | 342 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in nvdimm_spa_g_thread() 343 bp->bio_cmd != BIO_FLUSH) { in nvdimm_spa_g_thread() 349 if (bp->bio_cmd == BIO_FLUSH) { in nvdimm_spa_g_thread() 375 auio.uio_rw = bp->bio_cmd == BIO_READ ? in nvdimm_spa_g_thread() 383 bp->bio_cmd); in nvdimm_spa_g_thread() 395 auio.uio_rw = bp->bio_cmd == BIO_READ ? UIO_READ : in nvdimm_spa_g_thread() 415 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in nvdimm_spa_g_start()
|
| /freebsd-13.1/sys/geom/raid/ |
| H A D | tr_raid1.c | 263 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1_rebuild_some() 635 switch (bp->bio_cmd) { in g_raid_tr_iostart_raid1() 649 bp->bio_cmd, vol->v_name)); in g_raid_tr_iostart_raid1() 684 if (bp->bio_cmd == BIO_READ) { in g_raid_tr_iodone_raid1() 707 bp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1() 774 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) { in g_raid_tr_iodone_raid1() 833 if (bp->bio_cmd == BIO_READ && in g_raid_tr_iodone_raid1() 852 cbp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1() 870 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) { in g_raid_tr_iodone_raid1() 884 if (pbp->bio_cmd != BIO_READ) { in g_raid_tr_iodone_raid1() [all …]
|
| H A D | tr_raid1e.c | 479 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1e_rebuild_some() 800 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_raid1e_write() 817 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_raid1e_write() 864 switch (bp->bio_cmd) { in g_raid_tr_iostart_raid1e() 878 bp->bio_cmd, vol->v_name)); in g_raid_tr_iostart_raid1e() 901 if (bp->bio_cmd == BIO_READ) { in g_raid_tr_iodone_raid1e() 924 bp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() 1070 if (bp->bio_cmd == BIO_READ && in g_raid_tr_iodone_raid1e() 1089 cbp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() 1120 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) { in g_raid_tr_iodone_raid1e() [all …]
|
| H A D | tr_raid0.c | 207 if (bp->bio_cmd == BIO_FLUSH || bp->bio_cmd == BIO_SPEEDUP) { in g_raid_tr_iostart_raid0() 237 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_raid0() 252 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_raid0()
|
| H A D | tr_concat.c | 226 if (bp->bio_cmd == BIO_FLUSH || bp->bio_cmd == BIO_SPEEDUP) { in g_raid_tr_iostart_concat() 255 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_concat() 266 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_concat()
|
| /freebsd-13.1/sys/geom/vinum/ |
| H A D | geom_vinum_plex.c | 262 if (bp->bio_cmd == BIO_READ) in gv_plex_normal_request() 344 switch (bp->bio_parent->bio_cmd) { in gv_plex_raid5_done() 430 if (pbp->bio_cmd == BIO_WRITE && in gv_plex_raid5_done() 588 bp->bio_cmd = type; in gv_sync_request() 626 if (bp->bio_cmd == BIO_READ) { in gv_sync_complete() 630 } else if (bp->bio_cmd == BIO_WRITE) { in gv_sync_complete() 696 bp->bio_cmd = type; in gv_grow_request() 732 if (bp->bio_cmd == BIO_READ) { in gv_grow_complete() 737 } else if (bp->bio_cmd == BIO_WRITE) { in gv_grow_complete() 802 bp->bio_cmd = BIO_WRITE; in gv_init_request() [all …]
|
| H A D | geom_vinum_raid5.c | 227 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 240 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 322 cbp->bio_cmd = BIO_READ; in gv_raid5_rebuild() 408 bp->bio_pflags & GV_BIO_SYNCREQ && bp->bio_cmd == BIO_WRITE) { in gv_raid5_request() 434 switch (bp->bio_cmd) { in gv_raid5_request() 493 cbp->bio_cmd = BIO_READ; in gv_raid5_request() 533 cbp->bio_cmd = BIO_READ; in gv_raid5_request() 545 cbp->bio_cmd = BIO_READ; in gv_raid5_request()
|
| /freebsd-13.1/cddl/usr.sbin/dwatch/libexec/ |
| H A D | io | 31 this string bio_cmd; 56 this->bio_cmd = bio_cmd_string[(int)this->bufinfo.b_cmd]; 98 this->bio_cmd,
|
| /freebsd-13.1/sys/cam/ctl/ |
| H A D | ctl_backend_block.c | 207 int bio_cmd; member 913 if (beio->bio_cmd == BIO_READ) in ctl_be_block_dispatch_zvol() 1021 bio->bio_cmd = BIO_FLUSH; in ctl_be_block_flush_dev() 1167 bio->bio_cmd = beio->bio_cmd; in ctl_be_block_dispatch_dev() 1243 beio->bio_cmd = BIO_FLUSH; in ctl_be_block_cw_dispatch_sync() 1300 beio->bio_cmd = BIO_DELETE; in ctl_be_block_cw_dispatch_ws() 1307 beio->bio_cmd = BIO_WRITE; in ctl_be_block_cw_dispatch_ws() 1395 beio->bio_cmd = BIO_DELETE; in ctl_be_block_cw_dispatch_unmap() 1429 beio->bio_cmd = -1; in ctl_be_block_cr_dispatch() 1577 beio->bio_cmd = BIO_WRITE; in ctl_be_block_dispatch() [all …]
|
| /freebsd-13.1/sys/geom/bde/ |
| H A D | g_bde_work.c | 447 if (wp->bp->bio_cmd == BIO_DELETE) { in g_bde_write_done() 454 KASSERT(wp->bp->bio_cmd == BIO_WRITE, ("Confused in g_bde_write_done()")); in g_bde_write_done() 485 bp->bio_cmd = BIO_WRITE; in g_bde_start_write() 540 bp->bio_cmd = BIO_READ; in g_bde_start_read() 597 if (wp->bp->bio_cmd == BIO_READ && wp->sp->state == IO) in g_bde_worker() 604 switch(wp->bp->bio_cmd) { in g_bde_worker() 701 switch (wp->bp->bio_cmd) { in g_bde_start2() 739 ("Wrong bio_cmd %d in g_bde_start2", wp->bp->bio_cmd)); in g_bde_start2()
|
| /freebsd-13.1/sys/dev/virtio/block/ |
| H A D | virtio_blk.c | 572 if ((bp->bio_cmd != BIO_READ) && (bp->bio_cmd != BIO_WRITE) && in vtblk_strategy() 573 (bp->bio_cmd != BIO_FLUSH) && (bp->bio_cmd != BIO_DELETE)) { in vtblk_strategy() 909 switch (bp->bio_cmd) { in vtblk_request_bio() 927 panic("%s: bio with unhandled cmd: %d", __func__, bp->bio_cmd); in vtblk_request_bio() 970 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in vtblk_request_execute() 978 if (bp->bio_cmd == BIO_READ) in vtblk_request_execute() 980 } else if (bp->bio_cmd == BIO_DELETE) { in vtblk_request_execute() 1238 buf.bio_cmd = BIO_READ; in vtblk_ident() 1370 buf.bio_cmd = BIO_WRITE; in vtblk_dump_write() 1392 buf.bio_cmd = BIO_FLUSH; in vtblk_dump_flush()
|
| /freebsd-13.1/sys/dev/ida/ |
| H A D | ida_disk.c | 104 if (drv->flags & DRV_WRITEPROT && (bp->bio_cmd == BIO_WRITE)) { in idad_strategy() 109 if ((bp->bio_cmd != BIO_READ) && (bp->bio_cmd != BIO_WRITE)) { in idad_strategy()
|
| /freebsd-13.1/sys/powerpc/ps3/ |
| H A D | ps3disk.c | 372 __func__, bp->bio_cmd); in ps3disk_strategy() 375 if (bp->bio_cmd == BIO_FLUSH) { in ps3disk_strategy() 382 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in ps3disk_strategy() 436 (bp->bio_cmd == BIO_READ) ? "Read" : "Write", in ps3disk_intr() 447 if (bp->bio_cmd == BIO_READ) in ps3disk_intr() 614 if (bp->bio_cmd == BIO_READ) { in ps3disk_transfer()
|
| /freebsd-13.1/sys/dev/md/ |
| H A D | md.c | 475 if ((bp->bio_cmd == BIO_READ) || (bp->bio_cmd == BIO_WRITE)) { in g_md_start() 642 switch (bp->bio_cmd) { in mdstart_malloc() 673 if (bp->bio_cmd == BIO_DELETE) { in mdstart_malloc() 846 switch (bp->bio_cmd) { in mdstart_preload() 884 switch (bp->bio_cmd) { in mdstart_vnode() 913 if (bp->bio_cmd == BIO_FLUSH) { in mdstart_vnode() 927 if (bp->bio_cmd == BIO_DELETE) { in mdstart_vnode() 1033 switch (bp->bio_cmd) { in mdstart_swap() 1066 if (bp->bio_cmd == BIO_READ) { in mdstart_swap() 1177 switch (bp->bio_cmd) { in mdstart_null() [all …]
|
| /freebsd-13.1/sys/dev/flash/ |
| H A D | at45d.c | 481 switch (bp->bio_cmd) { in at45d_task() 509 if (bp->bio_cmd == BIO_WRITE) { in at45d_task() 540 if (err == 0 && bp->bio_cmd != BIO_READ) in at45d_task() 546 if (bp->bio_cmd == BIO_WRITE) { in at45d_task() 572 if (bp->bio_cmd == BIO_READ) in at45d_task()
|
| /freebsd-13.1/sys/geom/eli/ |
| H A D | g_eli_integrity.c | 478 if (bp->bio_cmd == BIO_READ) { in g_eli_auth_run() 510 if (bp->bio_cmd == BIO_WRITE) in g_eli_auth_run() 521 if (bp->bio_cmd == BIO_WRITE) in g_eli_auth_run() 526 if (bp->bio_cmd == BIO_WRITE) { in g_eli_auth_run() 537 if (bp->bio_cmd == BIO_WRITE) { in g_eli_auth_run()
|
| /freebsd-13.1/sys/dev/nvme/ |
| H A D | nvme_ns.c | 398 child->bio_cmd = bp->bio_cmd; in nvme_construct_child_bios() 461 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in nvme_ns_bio_process() 468 switch (bp->bio_cmd) { in nvme_ns_bio_process()
|
| /freebsd-13.1/sys/dev/ofw/ |
| H A D | ofw_disk.c | 86 switch (bp->bio_cmd) { in ofwd_startio() 122 if (bp->bio_cmd == BIO_GETATTR) { in ofwd_kthread()
|