/freebsd/sys/geom/eli/ |
H A D | g_eli_privacy.c | 105 if (bp->bio_error == 0) in g_eli_crypto_read_done() 106 bp->bio_error = crp->crp_etype; in g_eli_crypto_read_done() 118 if (bp->bio_error != 0) { in g_eli_crypto_read_done() 120 bp->bio_error); in g_eli_crypto_read_done() 126 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_read_done() 157 if (bp->bio_error == 0) in g_eli_crypto_write_done() 158 bp->bio_error = crp->crp_etype; in g_eli_crypto_write_done() 174 if (bp->bio_error != 0) { in g_eli_crypto_write_done() 176 bp->bio_error); in g_eli_crypto_write_done() 179 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_write_done() [all …]
|
H A D | g_eli_integrity.c | 165 if (bp->bio_error == 0 || bp->bio_error == EINTEGRITY) in g_eli_auth_read_done() 166 bp->bio_error = crp->crp_etype == EBADMSG ? in g_eli_auth_read_done() 178 if (bp->bio_error == 0) { in g_eli_auth_read_done() 206 } else if (bp->bio_error == EINTEGRITY) { in g_eli_auth_read_done() 266 if (bp->bio_error != 0) { in g_eli_auth_read_done() 267 if (bp->bio_error != EINTEGRITY) { in g_eli_auth_read_done() 270 bp->bio_error); in g_eli_auth_read_done() 277 g_io_deliver(bp, bp->bio_error); in g_eli_auth_read_done() 307 if (bp->bio_error == 0) in g_eli_auth_write_done() 308 bp->bio_error = crp->crp_etype; in g_eli_auth_write_done() [all …]
|
H A D | g_eli.c | 272 if (bp->bio_error == 0 && in g_eli_getattr_done() 292 if (pbp->bio_error == 0 && bp->bio_error != 0) in g_eli_read_done() 293 pbp->bio_error = bp->bio_error; in g_eli_read_done() 302 if (pbp->bio_error != 0) { in g_eli_read_done() 304 pbp->bio_error); in g_eli_read_done() 307 g_io_deliver(pbp, pbp->bio_error); in g_eli_read_done() 331 if (pbp->bio_error == 0 && bp->bio_error != 0) in g_eli_write_done() 332 pbp->bio_error = bp->bio_error; in g_eli_write_done() 342 if (pbp->bio_error != 0) { in g_eli_write_done() 344 pbp->bio_error); in g_eli_write_done() [all …]
|
/freebsd/sys/geom/raid/ |
H A D | tr_raid1.c | 598 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1_write() 599 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1_write() 600 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid1_write() 690 if (bp->bio_error != 0) { in g_raid_tr_iodone_raid1() 694 bp->bio_error); in g_raid_tr_iodone_raid1() 703 bp->bio_error); in g_raid_tr_iodone_raid1() 717 bp->bio_error); in g_raid_tr_iodone_raid1() 719 if (bp->bio_error != 0 || in g_raid_tr_iodone_raid1() 771 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) { in g_raid_tr_iodone_raid1() 780 bp->bio_error, sd->sd_disk->d_read_errs); in g_raid_tr_iodone_raid1() [all …]
|
H A D | tr_raid1e.c | 749 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1e_read() 750 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1e_read() 751 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid1e_read() 827 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1e_write() 828 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1e_write() 829 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid1e_write() 907 if (bp->bio_error != 0) { in g_raid_tr_iodone_raid1e() 911 bp->bio_error); in g_raid_tr_iodone_raid1e() 920 bp->bio_error); in g_raid_tr_iodone_raid1e() 934 bp->bio_error); in g_raid_tr_iodone_raid1e() [all …]
|
H A D | tr_raid0.c | 262 if (bp->bio_error == 0) in g_raid_tr_iostart_raid0() 263 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid0() 264 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid0() 318 if (pbp->bio_error == 0) in g_raid_tr_iodone_raid0() 319 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid0() 324 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_raid0()
|
H A D | tr_concat.c | 280 if (bp->bio_error == 0) in g_raid_tr_iostart_concat() 281 bp->bio_error = ENOMEM; in g_raid_tr_iostart_concat() 282 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_concat() 334 if (pbp->bio_error == 0) in g_raid_tr_iodone_concat() 335 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_concat() 339 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_concat()
|
H A D | tr_raid5.c | 335 if (bp->bio_error == 0) in g_raid_tr_iostart_raid5_read() 336 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid5_read() 337 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid5_read() 374 if (pbp->bio_error == 0) in g_raid_tr_iodone_raid5() 375 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid5() 380 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_raid5()
|
/freebsd/sys/dev/nvme/ |
H A D | nvme_ns.c | 48 static void nvme_bio_child_inbed(struct bio *parent, int bio_error); 146 bp->bio_error = EIO; in nvme_ns_strategy_done() 165 bp->bio_error = err; in nvme_ns_strategy() 266 if (bp->bio_error == 0) in nvme_ns_bio_done() 267 bp->bio_error = EIO; in nvme_ns_bio_done() 279 nvme_bio_child_inbed(struct bio *parent, int bio_error) in nvme_bio_child_inbed() argument 284 if (bio_error != 0) { in nvme_bio_child_inbed() 286 parent->bio_error = bio_error; in nvme_bio_child_inbed() 313 int bio_error; in nvme_bio_child_done() local 317 bio_error = nvme_completion_is_error(cpl) ? EIO : 0; in nvme_bio_child_done() [all …]
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_ns.c | 88 if (bio->bio_error == ECONNABORTED && !nvmf_fail_disconnect) { in nvmf_ns_biodone() 89 bio->bio_error = 0; in nvmf_ns_biodone() 95 bio->bio_error = ECONNABORTED; in nvmf_ns_biodone() 115 bio->bio_error = error; in nvmf_ns_biodone() 116 if (bio->bio_error != 0) in nvmf_ns_biodone() 161 bio->bio_error = ECONNABORTED; in nvmf_ns_bio_complete() 163 bio->bio_error = EIO; in nvmf_ns_bio_complete() 313 bio->bio_error = error; in nvmf_ns_strategy() 448 bio->bio_error = ECONNABORTED; in nvmf_shutdown_ns() 484 bio->bio_error = ECONNABORTED; in nvmf_destroy_ns()
|
/freebsd/sys/geom/mirror/ |
H A D | g_mirror.c | 932 bp->bio_error == EOPNOTSUPP) in g_mirror_regular_request_error() 938 bp->bio_error); in g_mirror_regular_request_error() 941 bp->bio_error); in g_mirror_regular_request_error() 945 if (bp->bio_error == ENXIO && in g_mirror_regular_request_error() 948 else if (bp->bio_error == ENXIO) in g_mirror_regular_request_error() 981 bp->bio_error); in g_mirror_regular_request() 985 bp->bio_error); in g_mirror_regular_request() 989 bp->bio_error); in g_mirror_regular_request() 993 bp->bio_error); in g_mirror_regular_request() 997 bp->bio_error); in g_mirror_regular_request() [all …]
|
/freebsd/sys/dev/mfi/ |
H A D | mfi_disk.c | 267 bio->bio_error = EINVAL; in mfi_disk_strategy() 276 bio->bio_error = EBUSY; in mfi_disk_strategy() 281 bio->bio_error = EBUSY; in mfi_disk_strategy() 286 bio->bio_error = EBUSY; in mfi_disk_strategy() 306 if (bio->bio_error == 0) in mfi_disk_complete() 307 bio->bio_error = EIO; in mfi_disk_complete()
|
/freebsd/sys/geom/bde/ |
H A D | g_bde_work.c |
|
/freebsd/sys/dev/cfi/ |
H A D | cfi_disk.c | 178 bp->bio_error = cfi_block_finish(sc); in cfi_disk_read() 179 if (bp->bio_error) { in cfi_disk_read() 186 bp->bio_error = EIO; in cfi_disk_read() 225 bp->bio_error = EIO; in cfi_disk_write() 243 bp->bio_error = cfi_block_start(sc, bp->bio_offset); in cfi_disk_write() 244 if (bp->bio_error) { in cfi_disk_write()
|
/freebsd/sys/dev/ida/ |
H A D | ida_disk.c | 93 bp->bio_error = EINVAL; in idad_strategy() 101 bp->bio_error = EROFS; in idad_strategy() 106 bp->bio_error = EOPNOTSUPP; in idad_strategy() 153 bp->bio_error = EIO; in idad_intr()
|
/freebsd/sys/dev/mlx/ |
H A D | mlx_disk.c | 151 bp->bio_error = EINVAL; in mlxd_strategy() 157 bp->bio_error = EOPNOTSUPP; in mlxd_strategy() 165 bp->bio_error = ENXIO; in mlxd_strategy() 190 bp->bio_error = EIO; in mlxd_intr()
|
/freebsd/sys/geom/shsec/ |
H A D | g_shsec.c | 252 if (bp->bio_error == 0) in g_shsec_done() 256 bp->bio_error); in g_shsec_done() 257 if (pbp->bio_error == 0) in g_shsec_done() 258 pbp->bio_error = bp->bio_error; in g_shsec_done() 278 g_io_deliver(pbp, pbp->bio_error); in g_shsec_done() 394 if (bp->bio_error == 0) in g_shsec_start() 395 bp->bio_error = error; in g_shsec_start() 396 g_io_deliver(bp, bp->bio_error); in g_shsec_start()
|
/freebsd/sys/geom/virstor/ |
H A D | g_virstor.c | 952 bq->bio->bio_error = ENOSPC; in virstor_geom_destroy() 1533 if (b->bio_error != 0) { in g_virstor_done() 1535 b->bio_error, b->bio_offset, b->bio_length, in g_virstor_done() 1537 if (parent_b->bio_error == 0) in g_virstor_done() 1538 parent_b->bio_error = b->bio_error; in g_virstor_done() 1546 g_io_deliver(parent_b, parent_b->bio_error); in g_virstor_done() 1618 if (b->bio_error == 0) in g_virstor_start() 1619 b->bio_error = ENOMEM; in g_virstor_start() 1620 g_io_deliver(b, b->bio_error); in g_virstor_start() 1660 if (b->bio_error == 0) in g_virstor_start() [all …]
|
/freebsd/sys/geom/ |
H A D | geom_ccd.c | 489 if (bp->bio_error == 0) in g_ccd_start() 490 bp->bio_error = err; in g_ccd_start() 492 g_io_deliver(bp, bp->bio_error); in g_ccd_start() 685 if (cbp->bio_error == 0) { in ccdiodone() 712 if (cbp->bio_error != 0 && pbp->bio_error == 0) in ccdiodone() 713 pbp->bio_error = cbp->bio_error; in ccdiodone()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_flash.c | 302 bp->bio_error = opalflash_erase(sc, bp->bio_offset, in opalflash_task() 306 bp->bio_error = opalflash_read(sc, bp->bio_offset, in opalflash_task() 310 bp->bio_error = opalflash_write(sc, bp->bio_offset, in opalflash_task() 314 bp->bio_error = EINVAL; in opalflash_task()
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3.c | 1161 if (cbp->bio_error == 0) in g_raid3_gather() 1172 if (pbp->bio_error == 0) in g_raid3_gather() 1173 pbp->bio_error = cbp->bio_error; in g_raid3_gather() 1181 if (pbp->bio_error == 0) in g_raid3_gather() 1182 pbp->bio_error = fbp->bio_error; in g_raid3_gather() 1190 cbp->bio_error); in g_raid3_gather() 1193 cbp->bio_error); in g_raid3_gather() 1203 if (pbp->bio_error ! in g_raid3_gather() [all...] |
/freebsd/sys/powerpc/ps3/ |
H A D | ps3disk.c | 359 bp->bio_error = EINVAL; in ps3disk_strategy() 399 bp->bio_error = err; in ps3disk_strategy() 435 bp->bio_error = EIO; in ps3disk_intr() 438 bp->bio_error = 0; in ps3disk_intr() 600 bp->bio_error = error; in ps3disk_transfer() 654 bp->bio_error = EINVAL; in ps3disk_transfer()
|
/freebsd/sys/geom/stripe/ |
H A D | g_stripe.c | 283 if (pbp->bio_error == 0) in g_stripe_done() 284 pbp->bio_error = bp->bio_error; in g_stripe_done() 293 g_io_deliver(pbp, pbp->bio_error); in g_stripe_done() 546 if (bp->bio_error == 0) in g_stripe_pushdown() 547 bp->bio_error = ENOMEM; in g_stripe_pushdown() 548 g_io_deliver(bp, bp->bio_error); in g_stripe_pushdown() 661 if (bp->bio_error == 0) 662 bp->bio_error = error; 663 g_io_deliver(bp, bp->bio_error); in g_stripe_check_and_run() [all...] |
/freebsd/sys/geom/concat/ |
H A D | g_concat.c | 274 if (pbp->bio_error == 0) in g_concat_done() 275 pbp->bio_error = bp->bio_error; in g_concat_done() 280 g_io_deliver(pbp, pbp->bio_error); in g_concat_done() 305 if (bp->bio_error == 0) in g_concat_passdown() 306 bp->bio_error = ENOMEM; in g_concat_passdown() 307 g_io_deliver(bp, bp->bio_error); in g_concat_passdown() 395 if (bp->bio_error == 0) in g_concat_start() 396 bp->bio_error = ENOMEM; in g_concat_start() 397 g_io_deliver(bp, bp->bio_error); in g_concat_start()
|
/freebsd/sys/geom/linux_lvm/ |
H A D | g_linux_lvm.c | 173 if (b->bio_error != 0) { in g_llvm_done() 175 b->bio_error, b->bio_offset, b->bio_length, in g_llvm_done() 177 if (parent_b->bio_error == 0) in g_llvm_done() 178 parent_b->bio_error = b->bio_error; in g_llvm_done() 186 g_io_deliver(parent_b, parent_b->bio_error); in g_llvm_done() 239 if (bp->bio_error == 0) in g_llvm_start() 240 bp->bio_error = ENOMEM; in g_llvm_start() 241 g_io_deliver(bp, bp->bio_error); in g_llvm_start()
|