| /freebsd-12.1/sys/dev/altera/sdcard/ |
| H A D | altera_sdcard_io.c | 299 switch (bp->bio_cmd) { in altera_sdcard_io_start_internal() 316 bp->bio_cmd); in altera_sdcard_io_start_internal() 370 switch (bp->bio_cmd) { in altera_sdcard_io_complete() 399 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 400 (bp->bio_cmd == BIO_WRITE ? "BIO_WRITE" : in altera_sdcard_io_complete() 420 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 421 (bp->bio_cmd == BIO_WRITE ? "write" : "unknown"), in altera_sdcard_io_complete() 426 switch (bp->bio_cmd) { in altera_sdcard_io_complete() 437 bp->bio_cmd); in altera_sdcard_io_complete()
|
| /freebsd-12.1/sys/geom/ |
| H A D | geom_io.c | 205 bp2->bio_cmd = bp->bio_cmd; in g_clone_bio() 253 bp2->bio_cmd = bp->bio_cmd; in g_duplicate_bio() 321 bp->bio_cmd = BIO_ZONE; in g_io_zonecmd() 349 bp->bio_cmd = BIO_FLUSH; in g_io_flush() 376 switch(bp->bio_cmd) { in g_io_check() 405 switch(bp->bio_cmd) { in g_io_check() 452 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in g_io_check() 552 cmd = bp->bio_cmd; in g_io_request() 560 bp->bio_cmd)); in g_io_request() 934 bp->bio_cmd = BIO_READ; in g_read_data() [all …]
|
| H A D | geom_dev.c | 713 if (bp2->bio_cmd == BIO_ZONE) in g_dev_done() 743 KASSERT(bp->bio_cmd == BIO_READ || in g_dev_strategy() 744 bp->bio_cmd == BIO_WRITE || in g_dev_strategy() 745 bp->bio_cmd == BIO_DELETE || in g_dev_strategy() 746 bp->bio_cmd == BIO_FLUSH || in g_dev_strategy() 747 bp->bio_cmd == BIO_ZONE, in g_dev_strategy() 748 ("Wrong bio_cmd bio=%p cmd=%d", bp, bp->bio_cmd)); in g_dev_strategy() 781 bp2->bio_data, bp2->bio_cmd); in g_dev_strategy()
|
| /freebsd-12.1/sys/dev/nand/ |
| H A D | nand_geom.c | 105 bp->bio_cmd == BIO_READ ? "READ" : in nand_strategy() 106 (bp->bio_cmd == BIO_WRITE ? "WRITE" : in nand_strategy() 107 (bp->bio_cmd == BIO_DELETE ? "DELETE" : "UNKNOWN")), in nand_strategy() 127 bp->bio_cmd == BIO_READ ? "READ" : in nand_strategy_raw() 128 (bp->bio_cmd == BIO_WRITE ? "WRITE" : in nand_strategy_raw() 129 (bp->bio_cmd == BIO_DELETE ? "DELETE" : "UNKNOWN")), in nand_strategy_raw() 325 if (bp->bio_cmd == BIO_READ) { in nand_io_proc() 329 } else if (bp->bio_cmd == BIO_WRITE) { in nand_io_proc() 335 if (bp->bio_cmd == BIO_READ) { in nand_io_proc() 339 } else if (bp->bio_cmd == BIO_WRITE) { in nand_io_proc() [all …]
|
| /freebsd-12.1/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() 1286 bp->bio_cmd = cmd; in fdmisccmd() [all …]
|
| /freebsd-12.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() 267 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in bioq_disksort() 268 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-12.1/sys/cam/ |
| H A D | cam_iosched.c | 1247 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_get_write() 1376 if (bp->bio_cmd == BIO_READ && in cam_iosched_next_bio() 1387 if (bp->bio_cmd == BIO_READ) { in cam_iosched_next_bio() 1415 if (bp->bio_cmd == BIO_DELETE) { in cam_iosched_queue_work() 1430 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_queue_work() 1444 if (bp->bio_cmd == BIO_READ) { in cam_iosched_queue_work() 1447 } else if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_queue_work() 1491 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_bio_complete() 1497 } else if (bp->bio_cmd == BIO_READ) { in cam_iosched_bio_complete() 1508 } else if (bp->bio_cmd != BIO_FLUSH) { in cam_iosched_bio_complete() [all …]
|
| /freebsd-12.1/sys/dev/nvdimm/ |
| H A D | nvdimm_spa.c | 318 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in nvdimm_spa_g_thread() 319 bp->bio_cmd != BIO_FLUSH) { in nvdimm_spa_g_thread() 325 if (bp->bio_cmd == BIO_FLUSH) { in nvdimm_spa_g_thread() 352 auio.uio_rw = bp->bio_cmd == BIO_READ ? in nvdimm_spa_g_thread() 360 bp->bio_cmd); in nvdimm_spa_g_thread() 372 auio.uio_rw = bp->bio_cmd == BIO_READ ? UIO_READ : in nvdimm_spa_g_thread() 392 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in nvdimm_spa_g_start()
|
| /freebsd-12.1/sys/geom/raid/ |
| H A D | tr_raid1.c | 262 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1_rebuild_some() 635 switch (bp->bio_cmd) { in g_raid_tr_iostart_raid1() 648 bp->bio_cmd, vol->v_name)); in g_raid_tr_iostart_raid1() 683 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 | 478 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1e_rebuild_some() 799 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_raid1e_write() 816 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_raid1e_write() 863 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() 923 bp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() 1069 if (bp->bio_cmd == BIO_READ && in g_raid_tr_iodone_raid1e() 1088 cbp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() 1119 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) { in g_raid_tr_iodone_raid1e() [all …]
|
| H A D | tr_raid0.c | 206 if (bp->bio_cmd == BIO_FLUSH) { in g_raid_tr_iostart_raid0() 236 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_raid0() 251 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_raid0()
|
| /freebsd-12.1/sys/geom/vinum/ |
| H A D | geom_vinum_plex.c | 261 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() 587 bp->bio_cmd = type; in gv_sync_request() 625 if (bp->bio_cmd == BIO_READ) { in gv_sync_complete() 629 } else if (bp->bio_cmd == BIO_WRITE) { in gv_sync_complete() 695 bp->bio_cmd = type; in gv_grow_request() 731 if (bp->bio_cmd == BIO_READ) { in gv_grow_complete() 736 } 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 | 223 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 236 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 318 cbp->bio_cmd = BIO_READ; in gv_raid5_rebuild() 404 bp->bio_pflags & GV_BIO_SYNCREQ && bp->bio_cmd == BIO_WRITE) { in gv_raid5_request() 430 switch (bp->bio_cmd) { in gv_raid5_request() 489 cbp->bio_cmd = BIO_READ; in gv_raid5_request() 529 cbp->bio_cmd = BIO_READ; in gv_raid5_request() 541 cbp->bio_cmd = BIO_READ; in gv_raid5_request()
|
| /freebsd-12.1/sys/cam/ctl/ |
| H A D | ctl_backend_block.c | 204 int bio_cmd; member 911 if (beio->bio_cmd == BIO_READ) in ctl_be_block_dispatch_zvol() 1021 bio->bio_cmd = BIO_FLUSH; in ctl_be_block_flush_dev() 1172 bio->bio_cmd = beio->bio_cmd; in ctl_be_block_dispatch_dev() 1250 beio->bio_cmd = BIO_FLUSH; in ctl_be_block_cw_dispatch_sync() 1306 beio->bio_cmd = BIO_DELETE; in ctl_be_block_cw_dispatch_ws() 1313 beio->bio_cmd = BIO_WRITE; in ctl_be_block_cw_dispatch_ws() 1403 beio->bio_cmd = BIO_DELETE; in ctl_be_block_cw_dispatch_unmap() 1437 beio->bio_cmd = -1; in ctl_be_block_cr_dispatch() 1585 beio->bio_cmd = BIO_WRITE; in ctl_be_block_dispatch() [all …]
|
| /freebsd-12.1/sys/geom/eli/ |
| H A D | g_eli_privacy.c | 262 if (bp->bio_cmd == BIO_WRITE) in g_eli_crypto_run() 270 if (bp->bio_cmd == BIO_READ) in g_eli_crypto_run() 288 if (bp->bio_cmd == BIO_WRITE) in g_eli_crypto_run() 302 if (bp->bio_cmd == BIO_WRITE) in g_eli_crypto_run()
|
| H A D | g_eli_integrity.c | 437 if (bp->bio_cmd == BIO_READ) { in g_eli_auth_run() 474 if (bp->bio_cmd == BIO_WRITE) in g_eli_auth_run() 479 if (bp->bio_cmd == BIO_READ) { in g_eli_auth_run() 499 if (bp->bio_cmd == BIO_WRITE) { in g_eli_auth_run() 516 if (bp->bio_cmd == BIO_WRITE) in g_eli_auth_run()
|
| /freebsd-12.1/sys/geom/bde/ |
| H A D | g_bde_work.c | 433 if (wp->bp->bio_cmd == BIO_DELETE) { in g_bde_write_done() 440 KASSERT(wp->bp->bio_cmd == BIO_WRITE, ("Confused in g_bde_write_done()")); in g_bde_write_done() 471 bp->bio_cmd = BIO_WRITE; in g_bde_start_write() 526 bp->bio_cmd = BIO_READ; in g_bde_start_read() 583 if (wp->bp->bio_cmd == BIO_READ && wp->sp->state == IO) in g_bde_worker() 590 switch(wp->bp->bio_cmd) { in g_bde_worker() 687 switch (wp->bp->bio_cmd) { in g_bde_start2() 725 ("Wrong bio_cmd %d in g_bde_start2", wp->bp->bio_cmd)); in g_bde_start2()
|
| /freebsd-12.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-12.1/sys/powerpc/ps3/ |
| H A D | ps3disk.c | 373 __func__, bp->bio_cmd); in ps3disk_strategy() 376 if (bp->bio_cmd == BIO_FLUSH) { in ps3disk_strategy() 383 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in ps3disk_strategy() 437 (bp->bio_cmd == BIO_READ) ? "Read" : "Write", in ps3disk_intr() 448 if (bp->bio_cmd == BIO_READ) in ps3disk_intr() 615 if (bp->bio_cmd == BIO_READ) { in ps3disk_transfer()
|
| /freebsd-12.1/sys/dev/md/ |
| H A D | md.c | 480 if ((bp->bio_cmd == BIO_READ) || (bp->bio_cmd == BIO_WRITE)) { in g_md_start() 649 switch (bp->bio_cmd) { in mdstart_malloc() 678 if (bp->bio_cmd == BIO_DELETE) { in mdstart_malloc() 851 switch (bp->bio_cmd) { in mdstart_preload() 889 switch (bp->bio_cmd) { in mdstart_vnode() 918 if (bp->bio_cmd == BIO_FLUSH) { in mdstart_vnode() 932 if (bp->bio_cmd == BIO_DELETE) { in mdstart_vnode() 1045 switch (bp->bio_cmd) { in mdstart_swap() 1077 if (bp->bio_cmd == BIO_READ) { in mdstart_swap() 1185 switch (bp->bio_cmd) { in mdstart_null() [all …]
|
| /freebsd-12.1/sys/dev/virtio/block/ |
| H A D | virtio_blk.c | 549 (bp->bio_cmd == BIO_WRITE || bp->bio_cmd == BIO_FLUSH)) { in vtblk_strategy() 869 switch (bp->bio_cmd) { in vtblk_request_bio() 882 panic("%s: bio with unhandled cmd: %d", __func__, bp->bio_cmd); in vtblk_request_bio() 924 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in vtblk_request_execute() 932 if (bp->bio_cmd == BIO_READ) in vtblk_request_execute() 1154 buf.bio_cmd = BIO_READ; in vtblk_ident() 1286 buf.bio_cmd = BIO_WRITE; in vtblk_dump_write() 1308 buf.bio_cmd = BIO_FLUSH; in vtblk_dump_flush()
|
| /freebsd-12.1/sys/dev/flash/ |
| H A D | at45d.c | 482 switch (bp->bio_cmd) { in at45d_task() 510 if (bp->bio_cmd == BIO_WRITE) { in at45d_task() 541 if (err == 0 && bp->bio_cmd != BIO_READ) in at45d_task() 547 if (bp->bio_cmd == BIO_WRITE) { in at45d_task() 573 if (bp->bio_cmd == BIO_READ) in at45d_task()
|
| /freebsd-12.1/sys/dev/nvme/ |
| H A D | nvme_ns.c | 392 child->bio_cmd = bp->bio_cmd; in nvme_construct_child_bios() 455 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in nvme_ns_bio_process() 462 switch (bp->bio_cmd) { in nvme_ns_bio_process()
|
| /freebsd-12.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()
|