/freebsd/cddl/lib/libdtrace/ |
H A D | io.d | 119 inline int BIO_WRITE = 0x02; variable 120 #pragma D binding "1.13" BIO_WRITE 243 cmd == BIO_WRITE ? "WRITE" :
|
/freebsd/sys/kern/ |
H A D | subr_disk.c | 52 case BIO_WRITE: printf("cmd=write "); break; in disk_err() 268 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE && in bioq_disksort()
|
/freebsd/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/sys/geom/ |
H A D | geom_io.c | 412 case BIO_WRITE: in g_io_check() 438 case BIO_WRITE: in g_io_check() 483 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in g_io_check() 524 if (cmd == BIO_READ || cmd == BIO_WRITE || cmd == BIO_GETATTR) { in g_io_request() 533 if (cmd == BIO_READ || cmd == BIO_WRITE || cmd == BIO_DELETE) { in g_io_request() 947 bp->bio_cmd = BIO_WRITE; in g_write_data() 1076 case BIO_WRITE: in g_format_bio()
|
/freebsd/sys/geom/eli/ |
H A D | g_eli_integrity.c | 525 if (bp->bio_cmd == BIO_WRITE) in g_eli_auth_run() 536 if (bp->bio_cmd == BIO_WRITE) in g_eli_auth_run() 541 if (bp->bio_cmd == BIO_WRITE) { in g_eli_auth_run() 550 if (bp->bio_cmd == BIO_WRITE) { in g_eli_auth_run()
|
H A D | g_eli_privacy.c | 280 if (bp->bio_cmd == BIO_WRITE) { in g_eli_crypto_run() 328 if (bp->bio_cmd == BIO_WRITE) { in g_eli_crypto_run()
|
/freebsd/sbin/ggate/ggatel/ |
H A D | ggatel.c | 125 ggio.gctl_cmd == BIO_WRITE); in g_gatel_serve() 158 case BIO_WRITE: in g_gatel_serve()
|
/freebsd/sbin/hastd/ |
H A D | primary.c | 242 (hio)->hio_ggio.gctl_cmd == BIO_WRITE && !ISSYNCREQ(hio)) 1122 case BIO_WRITE: in reqlog() 1186 PJDLOG_ASSERT(ggio->gctl_cmd == BIO_WRITE); in write_complete() 1313 case BIO_WRITE: in ggate_recv_thread() 1424 case BIO_WRITE: in local_send_thread() 1580 case BIO_WRITE: in remote_send_thread() 1669 if (ggio->gctl_cmd == BIO_WRITE) { in remote_send_thread() 1804 case BIO_WRITE: in remote_recv_thread() 1898 if (ggio->gctl_error == 0 && ggio->gctl_cmd == BIO_WRITE) { in ggate_send_thread() 1908 if (ggio->gctl_cmd == BIO_WRITE) { in ggate_send_thread() [all …]
|
/freebsd/sys/geom/raid/ |
H A D | tr_raid1.c | 636 case BIO_WRITE: in g_raid_tr_iostart_raid1() 704 bp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1() 849 cbp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1() 867 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) { in g_raid_tr_iodone_raid1() 884 if (pbp->bio_cmd == BIO_WRITE && bp->bio_error != 0) { in g_raid_tr_iodone_raid1()
|
H A D | tr_raid1e.c | 865 case BIO_WRITE: in g_raid_tr_iostart_raid1e() 921 bp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() 1086 cbp->bio_cmd = BIO_WRITE; in g_raid_tr_iodone_raid1e() 1117 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) { in g_raid_tr_iodone_raid1e() 1129 if (pbp->bio_cmd == BIO_WRITE && bp->bio_error != 0) { in g_raid_tr_iodone_raid1e()
|
/freebsd/sys/dev/fdc/ |
H A D | fdc.c | 883 if (bp->bio_cmd == BIO_FMT || bp->bio_cmd == BIO_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() 961 bp->bio_cmd == BIO_WRITE || in fdc_worker() 975 bp->bio_cmd == BIO_WRITE || in fdc_worker() 978 if (bp->bio_cmd == BIO_WRITE || in fdc_worker() 1019 case BIO_WRITE: in fdc_worker() 1125 case BIO_WRITE: in fdc_worker() 1477 if (!(bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) { in fd_start()
|
/freebsd/sys/geom/bde/ |
H A D | g_bde_work.c |
|
/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() 974 case BIO_WRITE: 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() 1132 case BIO_WRITE: in vtblk_request_execute_cb() 1198 case BIO_WRITE: in vtblk_queue_completed() 1552 buf.bio_cmd = BIO_WRITE; in vtblk_dump_flush()
|
/freebsd/sys/geom/union/ |
H A D | g_union.c | 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() 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()
|
/freebsd/sys/dev/flash/ |
H A D | at45d.c | 485 case BIO_WRITE: in at45d_task() 506 if (bp->bio_cmd == BIO_WRITE) { in at45d_task() 543 if (bp->bio_cmd == BIO_WRITE) { in at45d_task()
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_ns.c | 186 case BIO_WRITE: in nvmf_ns_submit_bio() 236 case BIO_WRITE: in nvmf_ns_submit_bio() 240 bio->bio_cmd == BIO_WRITE, nvmf_ns_io_complete, bio); in nvmf_ns_submit_bio()
|
/freebsd/sys/dev/cfi/ |
H A D | cfi_disk.c | 279 case BIO_WRITE: in cfi_io_proc() 325 case BIO_WRITE: in cfi_disk_strategy()
|
/freebsd/sys/cam/ |
H A D | cam_iosched.c | 1405 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_get_write() 1608 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_next_bio() 1635 } else if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_next_bio() 1723 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_queue_work() 1740 } else if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_queue_work() 1784 if (bp->bio_cmd == BIO_WRITE) { in cam_iosched_bio_complete() 2058 case BIO_WRITE: in cam_iosched_io_metric_update()
|
/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() 650 case BIO_WRITE: in mdstart_malloc() 721 } else if (bp->bio_cmd == BIO_WRITE) { in mdstart_malloc() 862 case BIO_WRITE: in mdstart_preload() 910 case BIO_WRITE: in mdstart_vnode() 1028 case BIO_WRITE: in mdstart_swap() 1091 } else if (bp->bio_cmd == BIO_WRITE) { in mdstart_swap() 1175 case BIO_WRITE: in mdstart_null() 1230 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in md_kthread()
|
/freebsd/sys/geom/zero/ |
H A D | g_zero.c | 86 case BIO_WRITE: in g_zero_start()
|
/freebsd/sys/sys/ |
H A D | bio.h | 45 #define BIO_WRITE 0x02 /* Write I/O data */ macro
|
/freebsd/sys/geom/gate/ |
H A D | g_gate.c | 282 case BIO_WRITE: in g_gate_start() 864 if (bp->bio_cmd == BIO_WRITE && in g_gate_ioctl() 885 case BIO_WRITE: in g_gate_ioctl() 946 case BIO_WRITE: in g_gate_ioctl()
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_disk.c | 88 case BIO_WRITE: in ofwd_startio()
|
/freebsd/sys/geom/shsec/ |
H A D | g_shsec.c | 317 case BIO_WRITE: in g_shsec_start() 352 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) { in g_shsec_start() 359 if (bp->bio_cmd == BIO_WRITE) { in g_shsec_start()
|
/freebsd/sys/geom/mirror/ |
H A D | g_mirror.c | 969 if (bp->bio_cmd == BIO_WRITE || bp->bio_cmd == BIO_DELETE) in g_mirror_regular_request() 983 case BIO_WRITE: in g_mirror_regular_request() 1011 if (pbp->bio_cmd == BIO_WRITE || in g_mirror_regular_request() 1027 case BIO_WRITE: in g_mirror_regular_request() 1063 case BIO_WRITE: in g_mirror_regular_request() 1078 if (pbp->bio_cmd == BIO_WRITE || pbp->bio_cmd == BIO_DELETE) { in g_mirror_regular_request() 1191 case BIO_WRITE: in g_mirror_start() 1374 (bp->bio_cmd == BIO_WRITE && bp->bio_from->geom == sc->sc_geom), in g_mirror_sync_request() 1422 bp->bio_cmd = BIO_WRITE; in g_mirror_sync_request() 1432 case BIO_WRITE: { in g_mirror_sync_request() [all …]
|