Home
last modified time | relevance | path

Searched refs:bio_flags (Results 1 – 25 of 67) sorted by relevance

123

/freebsd-13.1/cddl/usr.sbin/dwatch/libexec/
H A Dio32 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-13.1/sys/geom/
H A Dgeom_io.c130 KASSERT((bp->bio_flags & BIO_ONQUEUE), in g_bioq_first()
132 bp->bio_flags &= ~BIO_ONQUEUE; in g_bioq_first()
206 bp2->bio_flags = bp->bio_flags & in g_clone_bio()
241 bp2->bio_flags = bp->bio_flags & (BIO_UNMAPPED | BIO_VLIST); in g_duplicate_bio()
359 bp->bio_flags |= flags; in g_io_speedup()
376 bp->bio_flags |= BIO_ORDERED; in g_io_flush()
546 KASSERT(!(bp->bio_flags & BIO_ONQUEUE), in g_io_request()
590 bp->bio_flags |= BIO_ONQUEUE; in g_io_request()
645 KASSERT(!(bp->bio_flags & BIO_ONQUEUE), in g_io_deliver()
692 bp->bio_flags |= BIO_ONQUEUE; in g_io_deliver()
[all …]
H A Dgeom_vfs.c152 bp->b_ioflags = bip->bio_flags; in g_vfs_done()
197 bip->bio_flags |= BIO_ORDERED; in g_vfs_strategy()
201 bip->bio_flags |= bp->b_ioflags; in g_vfs_strategy()
H A Dgeom_disk.c302 if ((bp->bio_flags & BIO_VLIST) != 0) { in g_disk_advance()
317 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_disk_advance()
401 if ((bp->bio_flags & BIO_VLIST) != 0) { in g_disk_limit()
412 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_disk_limit()
446 (bp->bio_flags & BIO_UNMAPPED) == 0, in g_disk_start()
/freebsd-13.1/sys/dev/nvme/
H A Dnvme_ns.c138 bp->bio_flags |= BIO_ERROR; in nvme_ns_strategy_done()
157 bp->bio_flags |= BIO_ERROR; in nvme_ns_strategy()
259 bp->bio_flags |= BIO_ERROR; in nvme_ns_bio_done()
264 if ((bp->bio_flags & BIO_ERROR) == 0) in nvme_ns_bio_done()
279 parent->bio_flags |= BIO_ERROR; in nvme_bio_child_inbed()
293 if (parent->bio_flags & BIO_ERROR) { in nvme_bio_child_inbed()
402 child->bio_flags = bp->bio_flags; in nvme_construct_child_bios()
403 if (bp->bio_flags & BIO_UNMAPPED) { in nvme_construct_child_bios()
/freebsd-13.1/sys/dev/nvd/
H A Dnvd.c196 if (__predict_false(bp->bio_flags & BIO_ORDERED)) in nvd_bio_submit()
202 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_bio_submit()
212 bp->bio_flags |= BIO_ERROR; in nvd_bio_submit()
227 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_strategy()
257 if (__predict_false(bp->bio_flags & BIO_ORDERED)) in nvd_gone()
260 bp->bio_flags |= BIO_ERROR; in nvd_gone()
353 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_done()
379 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_bioq_process()
/freebsd-13.1/sys/dev/cfi/
H A Dcfi_disk.c183 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()
/freebsd-13.1/sys/kern/
H A Dkern_physio.c174 bp->bio_flags |= BIO_UNMAPPED; in physio()
192 if (iolen == 0 && !(bp->bio_flags & BIO_ERROR)) in physio()
199 if (bp->bio_flags & BIO_ERROR) { in physio()
H A Dsubr_disk.c254 if ((bp->bio_flags & BIO_ORDERED) != 0) { in bioq_disksort()
/freebsd-13.1/sys/dev/mlx/
H A Dmlx_disk.c156 bp->bio_flags |= BIO_ERROR; in mlxd_strategy()
170 bp->bio_flags |= BIO_ERROR; in mlxd_strategy()
193 if (bp->bio_flags & BIO_ERROR) in mlxd_intr()
/freebsd-13.1/sys/powerpc/ps3/
H A Dps3disk.c361 bp->bio_flags |= BIO_ERROR; in ps3disk_strategy()
403 bp->bio_flags |= BIO_ERROR; in ps3disk_strategy()
439 bp->bio_flags |= BIO_ERROR; in ps3disk_intr()
443 bp->bio_flags |= BIO_DONE; in ps3disk_intr()
603 bp->bio_flags |= BIO_ERROR; in ps3disk_transfer()
641 bp->bio_flags |= BIO_ERROR; in ps3disk_transfer()
/freebsd-13.1/sys/geom/eli/
H A Dg_eli_privacy.c195 cbp->bio_flags &= ~BIO_UNMAPPED; in g_eli_crypto_write_done()
293 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_eli_crypto_run()
298 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_eli_crypto_run()
/freebsd-13.1/sys/dev/amr/
H A Damr_disk.c176 bio->bio_flags |= BIO_ERROR; in amrd_strategy()
193 if (bio->bio_flags & BIO_ERROR) { in amrd_intr()
/freebsd-13.1/sys/dev/ida/
H A Dida_disk.c119 bp->bio_flags |= BIO_ERROR; in idad_strategy()
159 if (bp->bio_flags & BIO_ERROR) in idad_intr()
/freebsd-13.1/sys/dev/md/
H A Dmd.c653 notmapped = (bp->bio_flags & BIO_UNMAPPED) != 0; in mdstart_malloc()
654 vlist = (bp->bio_flags & BIO_VLIST) != 0 ? in mdstart_malloc()
848 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_preload()
857 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_preload()
945 } else if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_vnode()
962 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_vnode()
1047 vlist = (bp->bio_flags & BIO_VLIST) != 0 ? in mdstart_swap()
1087 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_swap()
1090 } else if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_swap()
1112 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_swap()
[all …]
/freebsd-13.1/sys/cam/scsi/
H A Dscsi_pt.c527 bp->bio_flags |= BIO_ERROR; in ptdone()
533 bp->bio_flags |= BIO_ERROR; in ptdone()
545 bp->bio_flags |= BIO_ERROR; in ptdone()
/freebsd-13.1/sys/dev/mfi/
H A Dmfi_disk.c272 bio->bio_flags |= BIO_ERROR; in mfi_disk_strategy()
313 if (bio->bio_flags & BIO_ERROR) { in mfi_disk_complete()
/freebsd-13.1/sys/geom/raid/
H A Dtr_raid0.c211 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_raid_tr_iostart_raid0()
236 if ((bp->bio_flags & BIO_UNMAPPED) != 0 && in g_raid_tr_iostart_raid0()
H A Dtr_concat.c233 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-13.1/sys/geom/zero/
H A Dg_zero.c85 if (g_zero_clear && (bp->bio_flags & BIO_UNMAPPED) == 0) in g_zero_start()
/freebsd-13.1/sys/dev/aac/
H A Daac_disk.c153 bp->bio_flags |= BIO_ERROR; in aac_disk_strategy()
342 if (bp->bio_flags & BIO_ERROR) { in aac_biodone()
/freebsd-13.1/sys/sys/
H A Dbio.h89 uint16_t bio_flags; /* General flags. */ member
/freebsd-13.1/sys/dev/firewire/
H A Dfwmem.c337 bp->bio_flags |= BIO_ERROR; in fwmem_biodone()
402 bp->bio_flags |= BIO_ERROR; in fwmem_strategy()
/freebsd-13.1/sys/dev/xen/blkback/
H A Dblkback.c1560 uint8_t bio_flags; in xbb_dispatch_io() local
1564 bio_flags = 0; in xbb_dispatch_io()
1589 bio_flags |= BIO_ORDERED; in xbb_dispatch_io()
1770 bio_flags); in xbb_dispatch_io()
2062 int operation, int bio_flags) in xbb_dispatch_dev() argument
2091 bio->bio_flags |= BIO_ORDERED; in xbb_dispatch_dev()
2150 bio->bio_flags |= bio_flags; in xbb_dispatch_dev()
/freebsd-13.1/sys/cam/nvme/
H A Dnvme_da.c270 if (bp->bio_flags & BIO_UNMAPPED) { in nda_nvme_rw_bio()
1066 KASSERT((bp->bio_flags & BIO_UNMAPPED) == 0 || in ndastart()
1198 bp->bio_flags |= BIO_ERROR; in ndadone()
1246 bp2->bio_flags |= BIO_ERROR; in ndadone()

123