| /freebsd-14.2/sys/geom/ |
| H A D | geom_io.c | 200 bp2->bio_cmd = bp->bio_cmd; in g_clone_bio() 245 bp2->bio_cmd = bp->bio_cmd; in g_duplicate_bio() 313 bp->bio_cmd = BIO_ZONE; in g_io_zonecmd() 377 bp->bio_cmd = BIO_FLUSH; in g_io_flush() 404 switch(bp->bio_cmd) { in g_io_check() 434 switch(bp->bio_cmd) { in g_io_check() 481 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in g_io_check() 521 cmd = bp->bio_cmd; in g_io_request() 529 bp->bio_cmd)); in g_io_request() 883 bp->bio_cmd = BIO_READ; in g_read_data() [all …]
|
| H A D | geom_dev.c | 730 if (bp2->bio_cmd == BIO_ZONE) in g_dev_done() 738 if (bp->bio_cmd == BIO_READ) in g_dev_done() 740 if (bp->bio_cmd == BIO_WRITE) in g_dev_done() 764 KASSERT(bp->bio_cmd == BIO_READ || in g_dev_strategy() 765 bp->bio_cmd == BIO_WRITE || in g_dev_strategy() 766 bp->bio_cmd == BIO_DELETE || in g_dev_strategy() 767 bp->bio_cmd == BIO_FLUSH || in g_dev_strategy() 768 bp->bio_cmd == BIO_ZONE, in g_dev_strategy() 769 ("Wrong bio_cmd bio=%p cmd=%d", bp, bp->bio_cmd)); in g_dev_strategy() 802 bp2->bio_data, bp2->bio_cmd); in g_dev_strategy()
|
| /freebsd-14.2/sys/dev/altera/sdcard/ |
| H A D | altera_sdcard_io.c | 301 switch (bp->bio_cmd) { in altera_sdcard_io_start_internal() 372 switch (bp->bio_cmd) { in altera_sdcard_io_complete() 401 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 402 (bp->bio_cmd == BIO_WRITE ? "BIO_WRITE" : in altera_sdcard_io_complete() 422 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 423 (bp->bio_cmd == BIO_WRITE ? "write" : "unknown"), in altera_sdcard_io_complete() 428 switch (bp->bio_cmd) { in altera_sdcard_io_complete() 439 bp->bio_cmd); in altera_sdcard_io_complete()
|
| /freebsd-14.2/sys/kern/ |
| H A D | subr_disk.c | 50 switch(bp->bio_cmd) { in disk_err() 56 default: printf("cmd=%x ", bp->bio_cmd); break; in disk_err() 268 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in bioq_disksort() 269 bp->bio_cmd != BIO_DELETE) { in bioq_disksort()
|
| H A D | subr_devstat.c | 357 if (bp->bio_cmd == BIO_DELETE) in devstat_end_transaction_bio_bt() 359 else if ((bp->bio_cmd == BIO_READ) in devstat_end_transaction_bio_bt() 360 || ((bp->bio_cmd == BIO_ZONE) in devstat_end_transaction_bio_bt() 363 else if (bp->bio_cmd == BIO_WRITE) in devstat_end_transaction_bio_bt()
|
| /freebsd-14.2/sys/dev/fdc/ |
| H A D | fdc.c | 885 if (bp->bio_cmd == BIO_FMT || bp->bio_cmd == BIO_WRITE) { in fdc_worker() 905 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in fdc_worker() 908 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in fdc_worker() 963 bp->bio_cmd == BIO_WRITE || in fdc_worker() 964 bp->bio_cmd == BIO_FMT) in fdc_worker() 978 bp->bio_cmd == BIO_FMT) in fdc_worker() 981 bp->bio_cmd == BIO_FMT) in fdc_worker() 985 switch(bp->bio_cmd) { in fdc_worker() 1114 switch(bp->bio_cmd) { in fdc_worker() 1282 bp->bio_cmd = cmd; in fdmisccmd() [all …]
|
| /freebsd-14.2/sys/cam/ |
| H A D | cam_iosched.c | 1382 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_get_write() 1570 if (bp->bio_cmd == BIO_READ) { in cam_iosched_next_bio() 1585 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_next_bio() 1608 if (bp->bio_cmd == BIO_READ) { in cam_iosched_next_bio() 1646 if (bp->bio_cmd == BIO_SPEEDUP) { in cam_iosched_queue_work() 1681 if (bp->bio_cmd == BIO_DELETE) { in cam_iosched_queue_work() 1693 (bp->bio_cmd != BIO_READ)) { in cam_iosched_queue_work() 1700 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_queue_work() 1714 if (bp->bio_cmd == BIO_READ) { in cam_iosched_queue_work() 1761 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_bio_complete() [all …]
|
| /freebsd-14.2/sys/dev/nvdimm/ |
| H A D | nvdimm_spa.c | 340 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in nvdimm_spa_g_thread() 341 bp->bio_cmd != BIO_FLUSH) { in nvdimm_spa_g_thread() 347 if (bp->bio_cmd == BIO_FLUSH) { in nvdimm_spa_g_thread() 373 auio.uio_rw = bp->bio_cmd == BIO_READ ? in nvdimm_spa_g_thread() 381 bp->bio_cmd); 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-14.2/sys/dev/virtio/block/ |
| H A D | virtio_blk.c | 620 if ((bp->bio_cmd != BIO_READ) && (bp->bio_cmd != BIO_WRITE) && in vtblk_strategy() 621 (bp->bio_cmd != BIO_FLUSH) && (bp->bio_cmd != BIO_DELETE)) { in vtblk_strategy() 966 switch (bp->bio_cmd) { in vtblk_request_bio() 1007 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in vtblk_request_execute() 1078 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in vtblk_request_execute_cb() 1102 if (bp->bio_cmd == BIO_READ) in vtblk_request_execute_cb() 1128 switch (bp->bio_cmd) { in vtblk_request_execute_cb() 1195 switch (bp->bio_cmd) { in vtblk_queue_completed() 1408 buf.bio_cmd = BIO_READ; in vtblk_ident() 1541 buf.bio_cmd = BIO_WRITE; in vtblk_dump_write() [all …]
|
| /freebsd-14.2/sys/geom/raid/ |
| H A D | tr_raid1.c | 261 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1_rebuild_some() 633 switch (bp->bio_cmd) { in g_raid_tr_iostart_raid1() 647 bp->bio_cmd, vol->v_name)); in g_raid_tr_iostart_raid1() 682 if (bp->bio_cmd == BIO_READ) { in g_raid_tr_iodone_raid1() 705 bp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1() 772 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) { in g_raid_tr_iodone_raid1() 831 if (bp->bio_cmd == BIO_READ && in g_raid_tr_iodone_raid1() 850 cbp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1() 868 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) { in g_raid_tr_iodone_raid1() 882 if (pbp->bio_cmd != BIO_READ) { in g_raid_tr_iodone_raid1() [all …]
|
| H A D | tr_raid1e.c | 477 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1e_rebuild_some() 798 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_raid1e_write() 815 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_raid1e_write() 862 switch (bp->bio_cmd) { in g_raid_tr_iostart_raid1e() 876 bp->bio_cmd, vol->v_name)); in g_raid_tr_iostart_raid1e() 899 if (bp->bio_cmd == BIO_READ) { in g_raid_tr_iodone_raid1e() 922 bp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() 1068 if (bp->bio_cmd == BIO_READ && in g_raid_tr_iodone_raid1e() 1087 cbp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() 1118 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) { in g_raid_tr_iodone_raid1e() [all …]
|
| H A D | tr_raid0.c | 205 if (bp->bio_cmd == BIO_FLUSH || bp->bio_cmd == BIO_SPEEDUP) { in g_raid_tr_iostart_raid0() 235 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_raid0() 250 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_raid0()
|
| H A D | tr_concat.c | 224 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-14.2/sys/geom/vinum/ |
| H A D | geom_vinum_plex.c | 260 if (bp->bio_cmd == BIO_READ) in gv_plex_normal_request() 342 switch (bp->bio_parent->bio_cmd) { in gv_plex_raid5_done() 428 if (pbp->bio_cmd == BIO_WRITE && in gv_plex_raid5_done() 584 bp->bio_cmd = type; in gv_sync_request() 622 if (bp->bio_cmd == BIO_READ) { in gv_sync_complete() 626 } else if (bp->bio_cmd == BIO_WRITE) { in gv_sync_complete() 692 bp->bio_cmd = type; in gv_grow_request() 728 if (bp->bio_cmd == BIO_READ) { in gv_grow_complete() 733 } else if (bp->bio_cmd == BIO_WRITE) { in gv_grow_complete() 798 bp->bio_cmd = BIO_WRITE; in gv_init_request() [all …]
|
| H A D | geom_vinum_raid5.c | 225 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 238 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 320 cbp->bio_cmd = BIO_READ; in gv_raid5_rebuild() 403 bp->bio_pflags & GV_BIO_SYNCREQ && bp->bio_cmd == BIO_WRITE) { in gv_raid5_request() 429 switch (bp->bio_cmd) { in gv_raid5_request() 488 cbp->bio_cmd = BIO_READ; in gv_raid5_request() 528 cbp->bio_cmd = BIO_READ; in gv_raid5_request() 540 cbp->bio_cmd = BIO_READ; in gv_raid5_request()
|
| /freebsd-14.2/cddl/usr.sbin/dwatch/libexec/ |
| H A D | io | 30 this string bio_cmd; 55 this->bio_cmd = bio_cmd_string[(int)this->bufinfo.b_cmd]; 97 this->bio_cmd,
|
| /freebsd-14.2/sys/dev/ida/ |
| H A D | ida_disk.c | 100 if (drv->flags & DRV_WRITEPROT && (bp->bio_cmd == BIO_WRITE)) { in idad_strategy() 105 if ((bp->bio_cmd != BIO_READ) && (bp->bio_cmd != BIO_WRITE)) { in idad_strategy()
|
| /freebsd-14.2/sys/cam/ctl/ |
| H A D | ctl_backend_block.c | 209 int bio_cmd; member 465 if ((beio->bio_cmd == BIO_READ) in ctl_be_block_move_done() 1103 bio->bio_cmd = BIO_FLUSH; in ctl_be_block_flush_dev() 1249 bio->bio_cmd = beio->bio_cmd; in ctl_be_block_dispatch_dev() 1325 beio->bio_cmd = BIO_FLUSH; in ctl_be_block_cw_dispatch_sync() 1382 beio->bio_cmd = BIO_DELETE; in ctl_be_block_cw_dispatch_ws() 1389 beio->bio_cmd = BIO_WRITE; in ctl_be_block_cw_dispatch_ws() 1477 beio->bio_cmd = BIO_DELETE; in ctl_be_block_cw_dispatch_unmap() 1511 beio->bio_cmd = -1; in ctl_be_block_cr_dispatch() 1659 beio->bio_cmd = BIO_WRITE; in ctl_be_block_dispatch() [all …]
|
| /freebsd-14.2/sys/geom/bde/ |
| H A D | g_bde_work.c | 445 if (wp->bp->bio_cmd == BIO_DELETE) { in g_bde_write_done() 452 KASSERT(wp->bp->bio_cmd == BIO_WRITE, ("Confused in g_bde_write_done()")); in g_bde_write_done() 483 bp->bio_cmd = BIO_WRITE; in g_bde_start_write() 538 bp->bio_cmd = BIO_READ; in g_bde_start_read() 595 if (wp->bp->bio_cmd == BIO_READ && wp->sp->state == IO) in g_bde_worker() 602 switch(wp->bp->bio_cmd) { in g_bde_worker() 699 switch (wp->bp->bio_cmd) { in g_bde_start2() 737 ("Wrong bio_cmd %d in g_bde_start2", wp->bp->bio_cmd)); in g_bde_start2()
|
| /freebsd-14.2/sys/powerpc/ps3/ |
| H A D | ps3disk.c | 370 __func__, bp->bio_cmd); in ps3disk_strategy() 373 if (bp->bio_cmd == BIO_FLUSH) { in ps3disk_strategy() 380 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in ps3disk_strategy() 434 (bp->bio_cmd == BIO_READ) ? "Read" : "Write", in ps3disk_intr() 445 if (bp->bio_cmd == BIO_READ) in ps3disk_intr() 612 if (bp->bio_cmd == BIO_READ) { in ps3disk_transfer()
|
| /freebsd-14.2/sys/dev/md/ |
| H A D | md.c | 483 if ((bp->bio_cmd == BIO_READ) || (bp->bio_cmd == BIO_WRITE)) { in g_md_start() 650 switch (bp->bio_cmd) { in mdstart_malloc() 681 if (bp->bio_cmd == BIO_DELETE) { in mdstart_malloc() 854 switch (bp->bio_cmd) { in mdstart_preload() 892 switch (bp->bio_cmd) { in mdstart_vnode() 925 if (bp->bio_cmd == BIO_FLUSH) { in mdstart_vnode() 1032 switch (bp->bio_cmd) { in mdstart_swap() 1065 if (bp->bio_cmd == BIO_READ) { in mdstart_swap() 1176 switch (bp->bio_cmd) { in mdstart_null() 1232 if (bp->bio_cmd == BIO_GETATTR) { in md_kthread() [all …]
|
| /freebsd-14.2/sys/dev/flash/ |
| H A D | at45d.c | 479 switch (bp->bio_cmd) { in at45d_task() 507 if (bp->bio_cmd == BIO_WRITE) { in at45d_task() 538 if (err == 0 && bp->bio_cmd != BIO_READ) in at45d_task() 544 if (bp->bio_cmd == BIO_WRITE) { in at45d_task() 570 if (bp->bio_cmd == BIO_READ) in at45d_task()
|
| /freebsd-14.2/sys/geom/eli/ |
| H A D | g_eli_integrity.c | 480 if (bp->bio_cmd == BIO_READ) { 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() 542 if (bp->bio_cmd == BIO_WRITE) { in g_eli_auth_run() 551 if (bp->bio_cmd == BIO_WRITE) { in g_eli_auth_run()
|
| /freebsd-14.2/sys/dev/nvme/ |
| H A D | nvme_ns.c | 394 child->bio_cmd = bp->bio_cmd; in nvme_construct_child_bios() 457 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in nvme_ns_bio_process() 464 switch (bp->bio_cmd) { in nvme_ns_bio_process()
|
| /freebsd-14.2/sys/geom/union/ |
| H A D | g_union.c | 720 bp->bio_cmd = BIO_READ; in g_union_ctl_commit() 729 bp->bio_cmd = BIO_WRITE; in g_union_ctl_commit() 804 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in g_union_start() 834 switch (cbp->bio_cmd) { in g_union_start() 869 cbp->bio_cmd); in g_union_start() 910 if (wip->wip_bp->bio_cmd == BIO_WRITE) in g_union_doio() 911 if (activewip->wip_bp->bio_cmd == BIO_WRITE) in g_union_doio() 916 if (activewip->wip_bp->bio_cmd == BIO_WRITE) in g_union_doio() 955 if (cbp->bio_cmd == BIO_WRITE) { in g_union_doio() 1057 if (bp->bio_cmd == BIO_WRITE) in g_union_done()
|