| /freebsd-14.2/cddl/usr.sbin/dwatch/libexec/ |
| H A D | io | 31 this string bio_flags; 37 inline string append_bio_flag[int flags, int flag] = this->bio_flags = 38 strjoin(this->bio_flags, 39 strjoin(this->bio_flags == "" ? "" : (flags & flag) == flag ? "|" : "", 57 this->bio_flags = bio_flag_string[this->b_flags & BIO_ERROR]; 58 this->bio_flags = strjoin(this->bio_flags, this->bufinfo.b_error ? 59 strjoin(this->bio_flags == "" ? 69 this->bio_flags = this->bio_flags == "" ? "-" : this->bio_flags; 98 this->bio_flags,
|
| /freebsd-14.2/sys/geom/ |
| H A D | geom_io.c | 132 KASSERT((bp->bio_flags & BIO_ONQUEUE), in g_bioq_first() 134 bp->bio_flags &= ~BIO_ONQUEUE; in g_bioq_first() 208 bp2->bio_flags = bp->bio_flags & in g_clone_bio() 243 bp2->bio_flags = bp->bio_flags & (BIO_UNMAPPED | BIO_VLIST | BIO_SWAP); in g_duplicate_bio() 361 bp->bio_flags |= flags; in g_io_speedup() 378 bp->bio_flags |= BIO_ORDERED; in g_io_flush() 548 KASSERT(!(bp->bio_flags & BIO_ONQUEUE), in g_io_request() 592 bp->bio_flags |= BIO_ONQUEUE; in g_io_request() 647 KASSERT(!(bp->bio_flags & BIO_ONQUEUE), in g_io_deliver() 694 bp->bio_flags |= BIO_ONQUEUE; in g_io_deliver() [all …]
|
| H A D | geom_vfs.c | 161 bp->b_ioflags = bip->bio_flags; in g_vfs_done() 211 bip->bio_flags |= BIO_ORDERED; in g_vfs_strategy() 215 bip->bio_flags |= bp->b_ioflags; 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() 449 (bp->bio_flags & BIO_UNMAPPED) == 0, in g_disk_start()
|
| /freebsd-14.2/sys/dev/nvme/ |
| H A D | nvme_ns.c | 136 bp->bio_flags |= BIO_ERROR; in nvme_ns_strategy_done() 155 bp->bio_flags |= BIO_ERROR; in nvme_ns_strategy() 254 bp->bio_flags |= BIO_ERROR; in nvme_ns_bio_done() 259 if ((bp->bio_flags & BIO_ERROR) == 0) in nvme_ns_bio_done() 274 parent->bio_flags |= BIO_ERROR; in nvme_bio_child_inbed() 288 if (parent->bio_flags & BIO_ERROR) { in nvme_bio_child_inbed() 398 child->bio_flags = bp->bio_flags; in nvme_construct_child_bios() 399 if (bp->bio_flags & BIO_UNMAPPED) { in nvme_construct_child_bios()
|
| /freebsd-14.2/sys/dev/nvd/ |
| H A D | nvd.c | 194 if (__predict_false(bp->bio_flags & BIO_ORDERED)) in nvd_bio_submit() 200 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_bio_submit() 210 bp->bio_flags |= BIO_ERROR; in nvd_bio_submit() 225 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_strategy() 255 if (__predict_false(bp->bio_flags & BIO_ORDERED)) in nvd_gone() 258 bp->bio_flags |= BIO_ERROR; in nvd_gone() 351 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_done() 377 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_bioq_process()
|
| /freebsd-14.2/sys/dev/cfi/ |
| H A D | cfi_disk.c | 181 bp->bio_flags |= BIO_ERROR; in cfi_disk_read() 186 bp->bio_flags |= BIO_ERROR; in cfi_disk_read() 225 bp->bio_flags |= BIO_ERROR; in cfi_disk_write() 246 bp->bio_flags |= BIO_ERROR; in cfi_disk_write()
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_physio.c | 170 bp->bio_flags |= BIO_UNMAPPED; in physio() 188 if (iolen == 0 && !(bp->bio_flags & BIO_ERROR)) in physio() 195 if (bp->bio_flags & BIO_ERROR) { in physio()
|
| H A D | subr_disk.c | 252 if ((bp->bio_flags & BIO_ORDERED) != 0) { in bioq_disksort()
|
| /freebsd-14.2/sys/dev/mlx/ |
| H A D | mlx_disk.c | 152 bp->bio_flags |= BIO_ERROR; in mlxd_strategy() 166 bp->bio_flags |= BIO_ERROR; in mlxd_strategy() 189 if (bp->bio_flags & BIO_ERROR) in mlxd_intr()
|
| /freebsd-14.2/sys/powerpc/ps3/ |
| H A D | ps3disk.c | 359 bp->bio_flags |= BIO_ERROR; in ps3disk_strategy() 401 bp->bio_flags |= BIO_ERROR; in ps3disk_strategy() 437 bp->bio_flags |= BIO_ERROR; in ps3disk_intr() 441 bp->bio_flags |= BIO_DONE; in ps3disk_intr() 601 bp->bio_flags |= BIO_ERROR; in ps3disk_transfer() 639 bp->bio_flags |= BIO_ERROR; in ps3disk_transfer()
|
| /freebsd-14.2/sys/geom/eli/ |
| H A D | g_eli_privacy.c | 189 cbp->bio_flags &= ~BIO_UNMAPPED; in g_eli_crypto_write_done() 299 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_eli_crypto_run() 304 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_eli_crypto_run()
|
| /freebsd-14.2/sys/dev/ida/ |
| H A D | ida_disk.c | 115 bp->bio_flags |= BIO_ERROR; in idad_strategy() 152 if (bp->bio_flags & BIO_ERROR) in idad_intr()
|
| /freebsd-14.2/sys/dev/md/ |
| H A D | md.c | 661 notmapped = (bp->bio_flags & BIO_UNMAPPED) != 0; in mdstart_malloc() 662 vlist = (bp->bio_flags & BIO_VLIST) != 0 ? in mdstart_malloc() 856 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_preload() 865 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_preload() 946 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_vnode() 963 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_vnode() 1046 vlist = (bp->bio_flags & BIO_VLIST) != 0 ? in mdstart_swap() 1086 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_swap() 1089 } else if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_swap() 1111 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_swap() [all …]
|
| /freebsd-14.2/sys/cam/scsi/ |
| H A D | scsi_pt.c | 524 bp->bio_flags |= BIO_ERROR; in ptdone() 530 bp->bio_flags |= BIO_ERROR; in ptdone() 542 bp->bio_flags |= BIO_ERROR; in ptdone()
|
| /freebsd-14.2/sys/dev/mfi/ |
| H A D | mfi_disk.c | 268 bio->bio_flags |= BIO_ERROR; in mfi_disk_strategy() 304 if (bio->bio_flags & BIO_ERROR) { in mfi_disk_complete()
|
| /freebsd-14.2/sys/geom/raid/ |
| H A D | tr_raid0.c | 209 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_raid_tr_iostart_raid0() 234 if ((bp->bio_flags & BIO_UNMAPPED) != 0 && in g_raid_tr_iostart_raid0()
|
| H A D | tr_concat.c | 231 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-14.2/sys/geom/zero/ |
| H A D | g_zero.c | 83 if (g_zero_clear && (bp->bio_flags & BIO_UNMAPPED) == 0) in g_zero_start()
|
| /freebsd-14.2/sys/dev/aac/ |
| H A D | aac_disk.c | 149 bp->bio_flags |= BIO_ERROR; in aac_disk_strategy() 338 if (bp->bio_flags & BIO_ERROR) { in aac_biodone()
|
| /freebsd-14.2/sys/sys/ |
| H A D | bio.h | 89 uint16_t bio_flags; /* General flags. */ member
|
| /freebsd-14.2/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-14.2/sys/dev/xen/blkback/ |
| H A D | blkback.c | 1475 uint8_t bio_flags; in xbb_dispatch_io() local 1479 bio_flags = 0; in xbb_dispatch_io() 1504 bio_flags |= BIO_ORDERED; in xbb_dispatch_io() 1680 bio_flags); in xbb_dispatch_io() 1972 int operation, int bio_flags) in xbb_dispatch_dev() argument 2001 bio->bio_flags |= BIO_ORDERED; in xbb_dispatch_dev() 2060 bio->bio_flags |= bio_flags; in xbb_dispatch_dev()
|
| /freebsd-14.2/sys/cam/ |
| H A D | cam_iosched.c | 1513 if (bp == NULL || bp->bio_flags & BIO_ORDERED) in bio_next() 1763 if ((bp->bio_flags & BIO_ERROR) != 0) in cam_iosched_bio_complete() 1769 if ((bp->bio_flags & BIO_ERROR) != 0) in cam_iosched_bio_complete() 1774 if ((bp->bio_flags & BIO_ERROR) != 0) in cam_iosched_bio_complete() 1783 if ((bp->bio_flags & BIO_ERROR) == 0 && done_ccb != NULL && in cam_iosched_bio_complete()
|
| /freebsd-14.2/sys/cam/nvme/ |
| H A D | nvme_da.c | 268 if (bp->bio_flags & BIO_UNMAPPED) { in nda_nvme_rw_bio() 1063 KASSERT((bp->bio_flags & BIO_UNMAPPED) == 0 || in ndastart() 1195 bp->bio_flags |= BIO_ERROR; in ndadone() 1243 bp2->bio_flags |= BIO_ERROR; in ndadone()
|