| /NextBSD/sys/geom/ |
| HD | geom_io.c | 204 bp2->bio_cmd = bp->bio_cmd; in g_clone_bio() 246 bp2->bio_cmd = bp->bio_cmd; in g_duplicate_bio() 288 bp->bio_cmd = BIO_GETATTR; in g_io_getattr() 308 bp->bio_cmd = BIO_FLUSH; in g_io_flush() 333 switch(bp->bio_cmd) { in g_io_check() 354 switch(bp->bio_cmd) { in g_io_check() 401 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in g_io_check() 496 if (bp->bio_cmd & (BIO_READ|BIO_WRITE|BIO_GETATTR)) { in g_io_request() 498 ("NULL bp->data in g_io_request(cmd=%hhu)", bp->bio_cmd)); in g_io_request() 500 if (bp->bio_cmd & (BIO_DELETE|BIO_FLUSH)) { in g_io_request() [all …]
|
| HD | geom_dev.c | 608 KASSERT(bp->bio_cmd == BIO_READ || in g_dev_strategy() 609 bp->bio_cmd == BIO_WRITE || in g_dev_strategy() 610 bp->bio_cmd == BIO_DELETE || in g_dev_strategy() 611 bp->bio_cmd == BIO_FLUSH, in g_dev_strategy() 612 ("Wrong bio_cmd bio=%p cmd=%d", bp, bp->bio_cmd)); in g_dev_strategy() 646 bp2->bio_data, bp2->bio_cmd); in g_dev_strategy()
|
| /NextBSD/sys/dev/altera/sdcard/ |
| HD | altera_sdcard_io.c | 297 switch (bp->bio_cmd) { in altera_sdcard_io_start_internal() 314 bp->bio_cmd); in altera_sdcard_io_start_internal() 368 switch (bp->bio_cmd) { in altera_sdcard_io_complete() 397 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 398 (bp->bio_cmd == BIO_WRITE ? "BIO_WRITE" : in altera_sdcard_io_complete() 418 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" : in altera_sdcard_io_complete() 419 (bp->bio_cmd == BIO_WRITE ? "write" : "unknown"), in altera_sdcard_io_complete() 424 switch (bp->bio_cmd) { in altera_sdcard_io_complete() 435 bp->bio_cmd); in altera_sdcard_io_complete()
|
| /NextBSD/sys/dev/nand/ |
| HD | nand_geom.c | 103 bp->bio_cmd == BIO_READ ? "READ" : in nand_strategy() 104 (bp->bio_cmd == BIO_WRITE ? "WRITE" : in nand_strategy() 105 (bp->bio_cmd == BIO_DELETE ? "DELETE" : "UNKNOWN")), in nand_strategy() 125 bp->bio_cmd == BIO_READ ? "READ" : in nand_strategy_raw() 126 (bp->bio_cmd == BIO_WRITE ? "WRITE" : in nand_strategy_raw() 127 (bp->bio_cmd == BIO_DELETE ? "DELETE" : "UNKNOWN")), in nand_strategy_raw() 323 if (bp->bio_cmd == BIO_READ) { in nand_io_proc() 327 } else if (bp->bio_cmd == BIO_WRITE) { in nand_io_proc() 333 if (bp->bio_cmd == BIO_READ) { in nand_io_proc() 337 } else if (bp->bio_cmd == BIO_WRITE) { in nand_io_proc() [all …]
|
| /NextBSD/sys/geom/raid/ |
| HD | tr_raid1.c | 260 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1_rebuild_some() 633 switch (bp->bio_cmd) { in g_raid_tr_iostart_raid1() 646 bp->bio_cmd, vol->v_name)); in g_raid_tr_iostart_raid1() 681 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 …]
|
| HD | tr_raid1e.c | 476 bp->bio_cmd = BIO_READ; in g_raid_tr_raid1e_rebuild_some() 797 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_raid1e_write() 814 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_raid1e_write() 861 switch (bp->bio_cmd) { in g_raid_tr_iostart_raid1e() 874 bp->bio_cmd, vol->v_name)); in g_raid_tr_iostart_raid1e() 897 if (bp->bio_cmd == BIO_READ) { in g_raid_tr_iodone_raid1e() 921 bp->bio_cmd = BIO_WRITE; 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() 1086 cbp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() [all …]
|
| HD | tr_raid0.c | 204 if (bp->bio_cmd == BIO_FLUSH) { in g_raid_tr_iostart_raid0() 234 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_raid0() 249 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_raid0()
|
| HD | tr_concat.c | 224 if (bp->bio_cmd == BIO_FLUSH) { in g_raid_tr_iostart_concat() 253 bp->bio_cmd != BIO_DELETE) { in g_raid_tr_iostart_concat() 264 if (bp->bio_cmd != BIO_DELETE) in g_raid_tr_iostart_concat()
|
| /NextBSD/sys/geom/vinum/ |
| HD | geom_vinum_plex.c | 259 if (bp->bio_cmd == BIO_READ) in gv_plex_normal_request() 340 switch (bp->bio_parent->bio_cmd) { in gv_plex_raid5_done() 426 if (pbp->bio_cmd == BIO_WRITE && in gv_plex_raid5_done() 429 } else if (pbp->bio_cmd == BIO_WRITE && in gv_plex_raid5_done() 585 bp->bio_cmd = type; in gv_sync_request() 623 if (bp->bio_cmd == BIO_READ) { in gv_sync_complete() 627 } else if (bp->bio_cmd == BIO_WRITE) { in gv_sync_complete() 693 bp->bio_cmd = type; in gv_grow_request() 729 if (bp->bio_cmd == BIO_READ) { in gv_grow_complete() 734 } else if (bp->bio_cmd == BIO_WRITE) { in gv_grow_complete() [all …]
|
| HD | geom_vinum_raid5.c | 221 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 234 cbp->bio_cmd = BIO_READ; in gv_raid5_check() 316 cbp->bio_cmd = BIO_READ; in gv_raid5_rebuild() 402 bp->bio_pflags & GV_BIO_SYNCREQ && bp->bio_cmd == BIO_WRITE) { in gv_raid5_request() 428 switch (bp->bio_cmd) { 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()
|
| /NextBSD/sys/dev/md/ |
| HD | md.c | 433 if ((bp->bio_cmd == BIO_READ) || (bp->bio_cmd == BIO_WRITE)) { in g_md_start() 602 switch (bp->bio_cmd) { in mdstart_malloc() 631 if (bp->bio_cmd == BIO_DELETE) { in mdstart_malloc() 634 } else if (bp->bio_cmd == BIO_READ) { in mdstart_malloc() 673 } else if (bp->bio_cmd == BIO_WRITE) { in mdstart_malloc() 804 switch (bp->bio_cmd) { in mdstart_preload() 842 switch (bp->bio_cmd) { in mdstart_vnode() 871 if (bp->bio_cmd == BIO_FLUSH) { in mdstart_vnode() 885 if (bp->bio_cmd == BIO_DELETE) { in mdstart_vnode() 986 switch (bp->bio_cmd) { in mdstart_swap() [all …]
|
| /NextBSD/sys/dev/fdc/ |
| HD | fdc.c | 871 if (bp->bio_cmd == BIO_READ) { in fdc_pio() 944 bp->bio_cmd & BIO_READ ? ISADMA_READ : ISADMA_WRITE, in fdc_worker() 986 if (bp->bio_cmd & BIO_FMT) { in fdc_worker() 1024 if (bp->bio_cmd & BIO_PROBE) { in fdc_worker() 1062 if (bp->bio_cmd & (BIO_FMT | BIO_WRITE)) { in fdc_worker() 1081 if (fdc->retry == 0 && bp->bio_cmd & (BIO_READ|BIO_WRITE)) { in fdc_worker() 1084 } else if (bp->bio_cmd & (BIO_READ|BIO_WRITE)) { in fdc_worker() 1140 bp->bio_cmd, bp->bio_pblkno, fd->fd_iosize, in fdc_worker() 1144 if ((bp->bio_cmd & (BIO_READ|BIO_WRITE|BIO_FMT)) in fdc_worker() 1147 bp->bio_cmd & BIO_READ ? ISADMA_READ : ISADMA_WRITE, in fdc_worker() [all …]
|
| /NextBSD/sys/cam/ctl/ |
| HD | ctl_backend_block.c | 199 int bio_cmd; member 450 if ((beio->bio_cmd == BIO_READ) in ctl_be_block_move_done() 530 } else if (beio->bio_cmd == BIO_FLUSH) { in ctl_be_block_biodone() 537 beio->bio_cmd == BIO_READ); in ctl_be_block_biodone() 547 if ((beio->bio_cmd == BIO_WRITE) in ctl_be_block_biodone() 548 || (beio->bio_cmd == BIO_FLUSH) in ctl_be_block_biodone() 549 || (beio->bio_cmd == BIO_DELETE) in ctl_be_block_biodone() 636 if (beio->bio_cmd == BIO_WRITE && ARGS(io)->flags & CTL_LLF_FUA) in ctl_be_block_dispatch_file() 640 if (beio->bio_cmd == BIO_READ) { in ctl_be_block_dispatch_file() 664 if (beio->bio_cmd == BIO_READ) { in ctl_be_block_dispatch_file() [all …]
|
| /NextBSD/sys/geom/eli/ |
| HD | g_eli_privacy.c | 258 if (bp->bio_cmd == BIO_WRITE) in g_eli_crypto_run() 266 if (bp->bio_cmd == BIO_READ) in g_eli_crypto_run() 284 if (bp->bio_cmd == BIO_WRITE) in g_eli_crypto_run() 298 if (bp->bio_cmd == BIO_WRITE) in g_eli_crypto_run()
|
| HD | g_eli_integrity.c | 435 if (bp->bio_cmd == BIO_READ) { in g_eli_auth_run() 464 if (bp->bio_cmd == BIO_READ) { in g_eli_auth_run() 484 if (bp->bio_cmd == BIO_WRITE) { in g_eli_auth_run() 501 if (bp->bio_cmd == BIO_WRITE) in g_eli_auth_run()
|
| /NextBSD/sys/dev/mmc/ |
| HD | mmcsd.c | 342 if (bp->bio_cmd == BIO_READ) { in mmcsd_rw() 359 if (bp->bio_cmd == BIO_READ) in mmcsd_rw() 495 bp.bio_cmd = BIO_WRITE; in mmcsd_dump() 523 if (bp->bio_cmd != BIO_READ && mmc_get_read_only(dev)) { in mmcsd_task() 534 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in mmcsd_task() 539 } else if (bp->bio_cmd == BIO_DELETE) { in mmcsd_task()
|
| /NextBSD/sys/geom/bde/ |
| HD | g_bde_work.c | 431 if (wp->bp->bio_cmd == BIO_DELETE) { in g_bde_write_done() 438 KASSERT(wp->bp->bio_cmd == BIO_WRITE, ("Confused in g_bde_write_done()")); in g_bde_write_done() 469 bp->bio_cmd = BIO_WRITE; in g_bde_start_write() 524 bp->bio_cmd = BIO_READ; in g_bde_start_read() 581 if (wp->bp->bio_cmd == BIO_READ && wp->sp->state == IO) in g_bde_worker() 588 switch(wp->bp->bio_cmd) { in g_bde_worker() 685 switch (wp->bp->bio_cmd) { in g_bde_start2() 723 ("Wrong bio_cmd %d in g_bde_start2", wp->bp->bio_cmd)); in g_bde_start2()
|
| /NextBSD/sys/powerpc/ps3/ |
| HD | 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()
|
| /NextBSD/sys/mips/cavium/ |
| HD | octeon_ebt3000_cf.c | 218 if(bp->bio_cmd & BIO_GETATTR) { in cf_start() 227 if ((bp->bio_cmd & (BIO_READ | BIO_WRITE))) { in cf_start() 229 if (bp->bio_cmd & BIO_READ) { in cf_start() 232 } else if (bp->bio_cmd & BIO_WRITE) { in cf_start() 236 printf("%s: unrecognized bio_cmd %x.\n", __func__, bp->bio_cmd); in cf_start()
|
| /NextBSD/sys/dev/virtio/block/ |
| HD | virtio_blk.c | 546 (bp->bio_cmd == BIO_WRITE || bp->bio_cmd == BIO_FLUSH)) { in vtblk_strategy() 866 switch (bp->bio_cmd) { in vtblk_request_bio() 879 panic("%s: bio with unhandled cmd: %d", __func__, bp->bio_cmd); in vtblk_request_bio() 921 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in vtblk_request_execute() 929 if (bp->bio_cmd == BIO_READ) in vtblk_request_execute() 1151 buf.bio_cmd = BIO_READ; in vtblk_ident() 1283 buf.bio_cmd = BIO_WRITE; in vtblk_dump_write() 1305 buf.bio_cmd = BIO_FLUSH; in vtblk_dump_flush()
|
| /NextBSD/sys/dev/nvme/ |
| HD | nvme_ns.c | 391 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()
|
| /NextBSD/sys/dev/flash/ |
| HD | at45d.c | 337 switch (bp->bio_cmd) { in at45d_task() 363 if (bp->bio_cmd == BIO_WRITE) { in at45d_task() 389 if (err == 0 && bp->bio_cmd != BIO_READ) in at45d_task() 395 if (bp->bio_cmd == BIO_WRITE) { in at45d_task()
|
| /NextBSD/sys/kern/ |
| HD | subr_disk.c | 45 switch(bp->bio_cmd) { in disk_err() 51 default: printf("cmd=%x ", bp->bio_cmd); break; in disk_err()
|
| HD | kern_physio.c | 115 bp->bio_cmd = BIO_READ; in physio() 118 bp->bio_cmd = BIO_WRITE; in physio()
|
| /NextBSD/sys/dev/ofw/ |
| HD | ofw_disk.c | 84 switch (bp->bio_cmd) { in ofwd_startio() 120 if (bp->bio_cmd == BIO_GETATTR) { in ofwd_kthread()
|