Home
last modified time | relevance | path

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

123

/freebsd/cddl/usr.sbin/dwatch/libexec/
H A Dio51 this string bio_flags;
57 inline string append_bio_flag[int flags, int flag] = this->bio_flags =
58 strjoin(this->bio_flags,
59 strjoin(this->bio_flags == "" ? "" : (flags & flag) == flag ? "|" : "",
77 this->bio_flags = bio_flag_string[this->b_flags & BIO_ERROR];
78 this->bio_flags = strjoin(this->bio_flags, this->bufinfo.b_error ?
79 strjoin(this->bio_flags == "" ?
89 this->bio_flags = this->bio_flags == "" ? "-" : this->bio_flags;
144 this->bio_flags,
162 this->bio_flags,
/freebsd/sys/geom/
H A Dgeom_io.c134 KASSERT((bp->bio_flags & BIO_ONQUEUE), in g_bioq_first()
136 bp->bio_flags &= ~BIO_ONQUEUE; in g_bioq_first()
210 bp2->bio_flags = bp->bio_flags & in g_clone_bio()
245 bp2->bio_flags = bp->bio_flags & (BIO_UNMAPPED | BIO_VLIST | BIO_SWAP); in g_duplicate_bio()
363 bp->bio_flags |= flags; in g_io_speedup()
380 bp->bio_flags |= BIO_ORDERED; in g_io_flush()
458 KASSERT((bp->bio_flags & BIO_UNMAPPED) == 0 || in g_io_check()
464 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_io_check()
481 if ((bp->bio_flags & BIO_UNMAPPED) != 0 && in g_io_check()
550 KASSERT(!(bp->bio_flags & BIO_ONQUEUE), in g_io_request()
[all …]
H A Dgeom_vfs.c161 bp->b_ioflags = bip->bio_flags; in g_vfs_done()
217 bip->bio_flags |= BIO_ORDERED; in g_vfs_strategy()
221 bip->bio_flags |= bp->b_ioflags; in g_vfs_strategy()
H A Dgeom_disk.c239 if ((bp->bio_flags & BIO_EXTERR) != 0) { in g_disk_done()
240 bp2->bio_flags |= BIO_EXTERR; in g_disk_done()
311 if ((bp->bio_flags & BIO_VLIST) != 0) { in g_disk_advance()
326 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_disk_advance()
410 if ((bp->bio_flags & BIO_VLIST) != 0) { in g_disk_limit()
421 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_disk_limit()
455 (bp->bio_flags & BIO_UNMAPPED) == 0, in g_disk_start()
H A Dgeom_subr.c1168 if ((bp->bio_flags & BIO_EXTERR) != 0) { in g_std_done()
1169 bp2->bio_flags |= BIO_EXTERR; in g_std_done()
1637 if (bp->bio_flags & BIO_ERROR) { in db_print_bio_flags()
1641 if (bp->bio_flags & BIO_DONE) { in db_print_bio_flags()
1645 if (bp->bio_flags & BIO_ONQUEUE) in db_print_bio_flags()
1679 if ((bp->bio_flags & BIO_EXTERR) != 0) in DB_SHOW_COMMAND()
/freebsd/sys/dev/nvme/
H A Dnvme_ns.c147 bp->bio_flags |= BIO_ERROR; in nvme_ns_strategy_done()
166 bp->bio_flags |= BIO_ERROR; in nvme_ns_strategy()
264 bp->bio_flags |= BIO_ERROR; in nvme_ns_bio_done()
269 if ((bp->bio_flags & BIO_ERROR) == 0) in nvme_ns_bio_done()
284 parent->bio_flags |= BIO_ERROR; in nvme_bio_child_inbed()
298 if (parent->bio_flags & BIO_ERROR) { in nvme_bio_child_inbed()
408 child->bio_flags = bp->bio_flags; in nvme_construct_child_bios()
409 if (bp->bio_flags & BIO_UNMAPPED) { in nvme_construct_child_bios()
/freebsd/sys/dev/nvd/
H A Dnvd.c186 if (__predict_false(bp->bio_flags & BIO_ORDERED)) in nvd_bio_submit()
192 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_bio_submit()
202 bp->bio_flags |= BIO_ERROR; in nvd_bio_submit()
217 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_strategy()
247 if (__predict_false(bp->bio_flags & BIO_ORDERED)) in nvd_gone()
250 bp->bio_flags |= BIO_ERROR; in nvd_gone()
343 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_done()
369 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { in nvd_bioq_process()
/freebsd/sys/dev/cfi/
H A Dcfi_disk.c180 bp->bio_flags |= BIO_ERROR; in cfi_disk_read()
185 bp->bio_flags |= BIO_ERROR; in cfi_disk_read()
224 bp->bio_flags |= BIO_ERROR; in cfi_disk_write()
245 bp->bio_flags |= BIO_ERROR; in cfi_disk_write()
/freebsd/sys/dev/mlx/
H A Dmlx_disk.c152 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/sys/kern/
H A Dkern_physio.c168 bp->bio_flags |= BIO_UNMAPPED; in physio()
186 if (iolen == 0 && !(bp->bio_flags & BIO_ERROR)) in physio()
193 if (bp->bio_flags & BIO_ERROR) { in physio()
/freebsd/sys/powerpc/ps3/
H A Dps3disk.c358 bp->bio_flags |= BIO_ERROR; in ps3disk_strategy()
400 bp->bio_flags |= BIO_ERROR; in ps3disk_strategy()
436 bp->bio_flags |= BIO_ERROR; in ps3disk_intr()
440 bp->bio_flags |= BIO_DONE; in ps3disk_intr()
601 bp->bio_flags |= BIO_ERROR; in ps3disk_transfer()
655 bp->bio_flags |= BIO_ERROR; in ps3disk_transfer()
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_ns.c96 bio->bio_flags |= BIO_ERROR; in nvmf_ns_biodone()
117 bio->bio_flags |= BIO_ERROR; in nvmf_ns_biodone()
317 bio->bio_flags |= BIO_ERROR; in nvmf_ns_strategy()
452 bio->bio_flags |= BIO_ERROR; in nvmf_shutdown_ns()
488 bio->bio_flags |= BIO_ERROR; in nvmf_destroy_ns()
/freebsd/sys/geom/eli/
H A Dg_eli_privacy.c188 cbp->bio_flags &= ~BIO_UNMAPPED; in g_eli_crypto_write_done()
298 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_eli_crypto_run()
303 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_eli_crypto_run()
/freebsd/sys/dev/ida/
H A Dida_disk.c115 bp->bio_flags |= BIO_ERROR; in idad_strategy()
152 if (bp->bio_flags & BIO_ERROR) in idad_intr()
/freebsd/sys/dev/md/
H A Dmd.c674 notmapped = (bp->bio_flags & BIO_UNMAPPED) != 0; in mdstart_malloc()
675 vlist = (bp->bio_flags & BIO_VLIST) != 0 ? in mdstart_malloc()
872 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_preload()
881 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_preload()
958 if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_vnode()
975 } else if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_vnode()
1057 ma_offs = (bp->bio_flags & (BIO_UNMAPPED|BIO_VLIST)) != 0 ? in mdstart_swap()
1059 vlist = (bp->bio_flags & BIO_VLIST) != 0 ? in mdstart_swap()
1100 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in mdstart_swap()
1103 } else if ((bp->bio_flags & BIO_VLIST) != 0) { in mdstart_swap()
[all …]
/freebsd/sys/cam/scsi/
H A Dscsi_pt.c523 bp->bio_flags |= BIO_ERROR; in ptdone()
529 bp->bio_flags |= BIO_ERROR; in ptdone()
541 bp->bio_flags |= BIO_ERROR; in ptdone()
/freebsd/sys/dev/mfi/
H A Dmfi_disk.c268 bio->bio_flags |= BIO_ERROR; in mfi_disk_strategy()
304 if (bio->bio_flags & BIO_ERROR) { in mfi_disk_complete()
/freebsd/sys/geom/raid/
H A Dtr_raid0.c208 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_raid_tr_iostart_raid0()
233 if ((bp->bio_flags & BIO_UNMAPPED) != 0 && in g_raid_tr_iostart_raid0()
H A Dtr_concat.c230 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_raid_tr_iostart_concat()
253 if ((bp->bio_flags & BIO_UNMAPPED) != 0 && in g_raid_tr_iostart_concat()
/freebsd/sys/geom/stripe/
H A Dg_stripe.c392 unmapped = (bp->bio_flags & BIO_UNMAPPED) != 0; in g_stripe_start_pages()
441 cbp->bio_flags |= BIO_UNMAPPED; in g_stripe_start_pages()
656 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_stripe_start_economic()
688 if ((bp->bio_flags & BIO_UNMAPPED) != 0) { in g_stripe_start_economic()
851 ((((bp->bio_flags & BIO_UNMAPPED) != 0 ? bp->bio_ma_offset : in g_stripe_start()
853 (bp->bio_flags & BIO_VLIST) == 0) { in g_stripe_start()
873 (bp->bio_flags & BIO_UNMAPPED) == 0) { in g_stripe_start()
/freebsd/sys/dev/aac/
H A Daac_disk.c149 bp->bio_flags |= BIO_ERROR; in aac_disk_strategy()
338 if (bp->bio_flags & BIO_ERROR) { in aac_biodone()
/freebsd/sys/sys/
H A Dbio.h89 uint16_t bio_flags; /* General flags. */ member
/freebsd/sys/geom/zero/
H A Dg_zero.c124 if ((bp->bio_flags & BIO_UNMAPPED) != 0) in g_zero_start()
/freebsd/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/sys/dev/xen/blkback/
H A Dblkback.c1475 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()

123