| /freebsd-12.1/cddl/usr.sbin/dwatch/libexec/ |
| H A D | io | 32 this string bio_flags; 38 inline string append_bio_flag[int flags, int flag] = this->bio_flags = 39 strjoin(this->bio_flags, 40 strjoin(this->bio_flags == "" ? "" : (flags & flag) == flag ? "|" : "", 58 this->bio_flags = bio_flag_string[this->b_flags & BIO_ERROR]; 59 this->bio_flags = strjoin(this->bio_flags, this->bufinfo.b_error ? 60 strjoin(this->bio_flags == "" ? 70 this->bio_flags = this->bio_flags == "" ? "-" : this->bio_flags; 99 this->bio_flags,
|
| /freebsd-12.1/sys/geom/ |
| H A D | geom_io.c | 137 KASSERT((bp->bio_flags & BIO_ONQUEUE), in g_bioq_first() 139 bp->bio_flags &= ~BIO_ONQUEUE; in g_bioq_first() 213 bp2->bio_flags = bp->bio_flags & in g_clone_bio() 251 bp2->bio_flags = bp->bio_flags & (BIO_UNMAPPED | BIO_VLIST); in g_duplicate_bio() 350 bp->bio_flags |= BIO_ORDERED; in g_io_flush() 579 KASSERT(!(bp->bio_flags & BIO_ONQUEUE), in g_io_request() 640 bp->bio_flags |= BIO_ONQUEUE; in g_io_request() 695 KASSERT(!(bp->bio_flags & BIO_ONQUEUE), in g_io_deliver() 745 bp->bio_flags |= BIO_ONQUEUE; in g_io_deliver() 829 bp->bio_flags |= BIO_TRANSIENT_MAPPING; in g_io_transient_map_bio() [all …]
|
| H A D | geom_vfs.c | 147 bp->b_ioflags = bip->bio_flags; in g_vfs_done() 192 bip->bio_flags |= BIO_ORDERED; in g_vfs_strategy()
|
| H A D | geom_disk.c | 305 if ((bp->bio_flags & BIO_VLIST) != 0) { in g_disk_advance() 320 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_disk_advance() 404 if ((bp->bio_flags & BIO_VLIST) != 0) { in g_disk_limit() 415 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_disk_limit() 450 (bp->bio_flags & BIO_UNMAPPED) == 0, in g_disk_start()
|
| /freebsd-12.1/sys/dev/nvme/ |
| H A D | nvme_ns.c | 137 bp->bio_flags |= BIO_ERROR; in nvme_ns_strategy_done() 156 bp->bio_flags |= BIO_ERROR; in nvme_ns_strategy() 253 bp->bio_flags |= BIO_ERROR; in nvme_ns_bio_done() 258 if ((bp->bio_flags & BIO_ERROR) == 0) in nvme_ns_bio_done() 273 parent->bio_flags |= BIO_ERROR; in nvme_bio_child_inbed() 287 if (parent->bio_flags & BIO_ERROR) { in nvme_bio_child_inbed() 396 child->bio_flags = bp->bio_flags; in nvme_construct_child_bios() 397 if (bp->bio_flags & BIO_UNMAPPED) { in nvme_construct_child_bios()
|
| /freebsd-12.1/sys/dev/nvd/ |
| H A D | nvd.c | 192 if (__predict_false(bp->bio_flags & BIO_ORDERED)) in nvd_bio_submit() 198 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_bio_submit() 208 bp->bio_flags |= BIO_ERROR; in nvd_bio_submit() 223 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_strategy() 253 if (__predict_false(bp->bio_flags & BIO_ORDERED)) in nvd_gone() 256 bp->bio_flags |= BIO_ERROR; in nvd_gone() 349 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_done() 375 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_bioq_process()
|
| /freebsd-12.1/sys/dev/cfi/ |
| H A D | cfi_disk.c | 183 bp->bio_flags |= BIO_ERROR; in cfi_disk_read() 188 bp->bio_flags |= BIO_ERROR; in cfi_disk_read() 227 bp->bio_flags |= BIO_ERROR; in cfi_disk_write() 248 bp->bio_flags |= BIO_ERROR; in cfi_disk_write() 337 bp->bio_flags |= BIO_ERROR; in cfi_disk_strategy()
|
| /freebsd-12.1/sys/dev/mlx/ |
| H A D | mlx_disk.c | 156 bp->bio_flags |= BIO_ERROR; in mlxd_strategy() 165 bp->bio_flags |= BIO_ERROR; in mlxd_strategy() 188 if (bp->bio_flags & BIO_ERROR) in mlxd_intr()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_physio.c | 191 bp->bio_flags |= BIO_UNMAPPED; in physio() 208 if (iolen == 0 && !(bp->bio_flags & BIO_ERROR)) in physio() 215 if (bp->bio_flags & BIO_ERROR) { in physio()
|
| H A D | subr_disk.c | 251 if ((bp->bio_flags & BIO_ORDERED) != 0) { in bioq_disksort()
|
| /freebsd-12.1/sys/powerpc/ps3/ |
| H A D | ps3disk.c | 362 bp->bio_flags |= BIO_ERROR; in ps3disk_strategy() 404 bp->bio_flags |= BIO_ERROR; in ps3disk_strategy() 440 bp->bio_flags |= BIO_ERROR; in ps3disk_intr() 444 bp->bio_flags |= BIO_DONE; in ps3disk_intr() 604 bp->bio_flags |= BIO_ERROR; in ps3disk_transfer() 642 bp->bio_flags |= BIO_ERROR; in ps3disk_transfer()
|
| /freebsd-12.1/sys/dev/amr/ |
| H A D | amr_disk.c | 177 bio->bio_flags |= BIO_ERROR; in amrd_strategy() 194 if (bio->bio_flags & BIO_ERROR) { in amrd_intr()
|
| /freebsd-12.1/sys/dev/ida/ |
| H A D | ida_disk.c | 112 bp->bio_flags |= BIO_ERROR; in idad_strategy() 152 if (bp->bio_flags & BIO_ERROR) in idad_intr()
|
| /freebsd-12.1/sys/dev/md/ |
| H A D | md.c | 658 notmapped = (bp->bio_flags & BIO_UNMAPPED) != 0; in mdstart_malloc() 659 vlist = (bp->bio_flags & BIO_VLIST) != 0 ? in mdstart_malloc() 853 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_preload() 862 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_preload() 950 } else if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_vnode() 967 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_vnode() 1057 vlist = (bp->bio_flags & BIO_VLIST) != 0 ? in mdstart_swap() 1096 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_swap() 1099 } else if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_swap() 1119 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_swap() [all …]
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_pt.c | 528 bp->bio_flags |= BIO_ERROR; in ptdone() 534 bp->bio_flags |= BIO_ERROR; in ptdone() 546 bp->bio_flags |= BIO_ERROR; in ptdone()
|
| /freebsd-12.1/sys/dev/mfi/ |
| H A D | mfi_disk.c | 270 bio->bio_flags |= BIO_ERROR; in mfi_disk_strategy() 311 if (bio->bio_flags & BIO_ERROR) { in mfi_disk_complete()
|
| /freebsd-12.1/sys/geom/raid/ |
| H A D | tr_raid0.c | 210 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_raid_tr_iostart_raid0() 235 if ((bp->bio_flags & BIO_UNMAPPED) != 0 && in g_raid_tr_iostart_raid0()
|
| H A D | tr_concat.c | 233 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_raid_tr_iostart_concat() 254 if ((bp->bio_flags & BIO_UNMAPPED) != 0 && in g_raid_tr_iostart_concat()
|
| /freebsd-12.1/sys/geom/zero/ |
| H A D | g_zero.c | 84 if (g_zero_clear && (bp->bio_flags & BIO_UNMAPPED) == 0) in g_zero_start()
|
| /freebsd-12.1/sys/dev/aac/ |
| H A D | aac_disk.c | 153 bp->bio_flags |= BIO_ERROR; in aac_disk_strategy() 337 if (bp->bio_flags & BIO_ERROR) { in aac_biodone()
|
| /freebsd-12.1/sys/sys/ |
| H A D | bio.h | 85 uint16_t bio_flags; /* General flags. */ member
|
| /freebsd-12.1/sys/cam/nvme/ |
| H A D | nvme_da.c | 253 if (bp->bio_flags & BIO_UNMAPPED) { in nda_nvme_rw_bio() 924 KASSERT((bp->bio_flags & BIO_UNMAPPED) == 0 || in ndastart() 1046 bp->bio_flags |= BIO_ERROR; in ndadone() 1094 bp2->bio_flags |= BIO_ERROR; in ndadone()
|
| /freebsd-12.1/sys/dev/firewire/ |
| H A D | fwmem.c | 336 bp->bio_flags |= BIO_ERROR; in fwmem_biodone() 401 bp->bio_flags |= BIO_ERROR; in fwmem_strategy()
|
| /freebsd-12.1/sys/dev/nand/ |
| H A D | nand_geom.c | 363 bp->bio_flags |= BIO_ERROR; in nand_io_proc() 459 bp->bio_flags |= BIO_ERROR; in destroy_geom_disk()
|
| /freebsd-12.1/sys/dev/xen/blkback/ |
| H A D | blkback.c | 1567 uint8_t bio_flags; in xbb_dispatch_io() local 1571 bio_flags = 0; in xbb_dispatch_io() 1596 bio_flags |= BIO_ORDERED; in xbb_dispatch_io() 1779 bio_flags); in xbb_dispatch_io() 2072 int operation, int bio_flags) in xbb_dispatch_dev() argument 2101 bio->bio_flags |= BIO_ORDERED; in xbb_dispatch_dev() 2161 bio->bio_flags |= bio_flags; in xbb_dispatch_dev()
|