Home
last modified time | relevance | path

Searched refs:BIO_WRITE (Results 1 – 25 of 85) sorted by relevance

1234

/freebsd/cddl/lib/libdtrace/
H A Dio.d119 inline int BIO_WRITE = 0x02; variable
120 #pragma D binding "1.13" BIO_WRITE
243 cmd == BIO_WRITE ? "WRITE" :
/freebsd/sys/kern/
H A Dsubr_disk.c52 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 Dida_disk.c100 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 Dgeom_io.c412 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 Dg_eli_integrity.c525 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 Dg_eli_privacy.c280 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 Dggatel.c125 ggio.gctl_cmd == BIO_WRITE); in g_gatel_serve()
158 case BIO_WRITE: in g_gatel_serve()
/freebsd/sbin/hastd/
H A Dprimary.c242 (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 Dtr_raid1.c636 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 Dtr_raid1e.c865 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 Dfdc.c883 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 Dg_bde_work.c
/freebsd/sys/dev/virtio/block/
H A Dvirtio_blk.c619 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 Dg_union.c729 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 Dat45d.c485 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 Dnvmf_ns.c186 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 Dcfi_disk.c279 case BIO_WRITE: in cfi_io_proc()
325 case BIO_WRITE: in cfi_disk_strategy()
/freebsd/sys/cam/
H A Dcam_iosched.c1405 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 Dmd.c481 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 Dg_zero.c86 case BIO_WRITE: in g_zero_start()
/freebsd/sys/sys/
H A Dbio.h45 #define BIO_WRITE 0x02 /* Write I/O data */ macro
/freebsd/sys/geom/gate/
H A Dg_gate.c282 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 Dofw_disk.c88 case BIO_WRITE: in ofwd_startio()
/freebsd/sys/geom/shsec/
H A Dg_shsec.c317 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 Dg_mirror.c969 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 …]

1234