Home
last modified time | relevance | path

Searched refs:bio_error (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd-14.2/sys/geom/eli/
H A Dg_eli_privacy.c106 if (bp->bio_error == 0) in g_eli_crypto_read_done()
107 bp->bio_error = crp->crp_etype; in g_eli_crypto_read_done()
119 if (bp->bio_error != 0) { in g_eli_crypto_read_done()
121 bp->bio_error); in g_eli_crypto_read_done()
127 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_read_done()
158 if (bp->bio_error == 0) in g_eli_crypto_write_done()
159 bp->bio_error = crp->crp_etype; in g_eli_crypto_write_done()
175 if (bp->bio_error != 0) { in g_eli_crypto_write_done()
177 bp->bio_error); in g_eli_crypto_write_done()
180 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_write_done()
[all …]
H A Dg_eli_integrity.c166 if (bp->bio_error == 0 || bp->bio_error == EINTEGRITY) in g_eli_auth_read_done()
179 if (bp->bio_error == 0) { in g_eli_auth_read_done()
267 if (bp->bio_error != 0) { in g_eli_auth_read_done()
271 bp->bio_error); in g_eli_auth_read_done()
278 g_io_deliver(bp, bp->bio_error); in g_eli_auth_read_done()
308 if (bp->bio_error == 0) in g_eli_auth_write_done()
309 bp->bio_error = crp->crp_etype; in g_eli_auth_write_done()
320 if (bp->bio_error != 0) { in g_eli_auth_write_done()
322 bp->bio_error); in g_eli_auth_write_done()
403 bp->bio_error = ENOMEM; in g_eli_auth_read()
[all …]
H A Dg_eli.c273 if (bp->bio_error == 0 && in g_eli_getattr_done()
293 if (pbp->bio_error == 0 && bp->bio_error != 0) in g_eli_read_done()
294 pbp->bio_error = bp->bio_error; in g_eli_read_done()
303 if (pbp->bio_error != 0) { in g_eli_read_done()
305 pbp->bio_error); in g_eli_read_done()
308 g_io_deliver(pbp, pbp->bio_error); in g_eli_read_done()
332 if (pbp->bio_error == 0 && bp->bio_error != 0) in g_eli_write_done()
333 pbp->bio_error = bp->bio_error; in g_eli_write_done()
343 if (pbp->bio_error != 0) { in g_eli_write_done()
345 pbp->bio_error); in g_eli_write_done()
[all …]
/freebsd-14.2/sys/geom/raid/
H A Dtr_raid1.c599 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1_write()
600 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1_write()
691 if (bp->bio_error != 0) { in g_raid_tr_iodone_raid1()
695 bp->bio_error); in g_raid_tr_iodone_raid1()
704 bp->bio_error); in g_raid_tr_iodone_raid1()
718 bp->bio_error); in g_raid_tr_iodone_raid1()
832 bp->bio_error == 0 && in g_raid_tr_iodone_raid1()
872 bp->bio_error = 0; in g_raid_tr_iodone_raid1()
884 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid1()
889 error = pbp->bio_error; in g_raid_tr_iodone_raid1()
[all …]
H A Dtr_raid1e.c750 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1e_read()
751 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1e_read()
828 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1e_write()
829 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1e_write()
912 bp->bio_error); in g_raid_tr_iodone_raid1e()
921 bp->bio_error); in g_raid_tr_iodone_raid1e()
935 bp->bio_error); in g_raid_tr_iodone_raid1e()
1122 bp->bio_error = 0; in g_raid_tr_iodone_raid1e()
1129 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid1e()
1134 error = pbp->bio_error; in g_raid_tr_iodone_raid1e()
[all …]
H A Dtr_raid0.c263 if (bp->bio_error == 0) in g_raid_tr_iostart_raid0()
264 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid0()
265 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid0()
319 if (pbp->bio_error == 0) in g_raid_tr_iodone_raid0()
320 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid0()
325 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_raid0()
H A Dtr_concat.c281 if (bp->bio_error == 0) in g_raid_tr_iostart_concat()
282 bp->bio_error = ENOMEM; in g_raid_tr_iostart_concat()
283 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_concat()
335 if (pbp->bio_error == 0) in g_raid_tr_iodone_concat()
336 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_concat()
340 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_concat()
H A Dtr_raid5.c336 if (bp->bio_error == 0) in g_raid_tr_iostart_raid5_read()
337 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid5_read()
338 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid5_read()
375 if (pbp->bio_error == 0) in g_raid_tr_iodone_raid5()
376 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid5()
381 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_raid5()
/freebsd-14.2/sys/geom/
H A Dgeom_vfs.c144 if (bip->bio_error != 0 && bip->bio_error != EOPNOTSUPP) { in g_vfs_done()
151 bip->bio_error = ENXIO; in g_vfs_done()
152 if (bip->bio_error != ENXIO || in g_vfs_done()
155 bip->bio_error, in g_vfs_done()
156 bip->bio_error != ENXIO ? "" : in g_vfs_done()
160 bp->b_error = bip->bio_error; in g_vfs_done()
162 if (bip->bio_error) in g_vfs_done()
H A Dgeom_ccd.c492 if (bp->bio_error == 0) in g_ccd_start()
493 bp->bio_error = err; in g_ccd_start()
495 g_io_deliver(bp, bp->bio_error); in g_ccd_start()
688 if (cbp->bio_error == 0) { in ccdiodone()
715 if (cbp->bio_error != 0 && pbp->bio_error == 0) in ccdiodone()
716 pbp->bio_error = cbp->bio_error; in ccdiodone()
/freebsd-14.2/sys/dev/nvme/
H A Dnvme_ns.c48 static void nvme_bio_child_inbed(struct bio *parent, int bio_error);
135 bp->bio_error = EIO; in nvme_ns_strategy_done()
154 bp->bio_error = err; in nvme_ns_strategy()
255 if (bp->bio_error == 0) in nvme_ns_bio_done()
256 bp->bio_error = EIO; in nvme_ns_bio_done()
268 nvme_bio_child_inbed(struct bio *parent, int bio_error) in nvme_bio_child_inbed() argument
273 if (bio_error != 0) { in nvme_bio_child_inbed()
275 parent->bio_error = bio_error; in nvme_bio_child_inbed()
302 int bio_error; in nvme_bio_child_done() local
306 bio_error = nvme_completion_is_error(cpl) ? EIO : 0; in nvme_bio_child_done()
[all …]
/freebsd-14.2/sys/geom/mirror/
H A Dg_mirror.c939 bp->bio_error); in g_mirror_regular_request_error()
942 bp->bio_error); in g_mirror_regular_request_error()
982 bp->bio_error); in g_mirror_regular_request()
986 bp->bio_error); in g_mirror_regular_request()
990 bp->bio_error); in g_mirror_regular_request()
994 bp->bio_error); in g_mirror_regular_request()
998 bp->bio_error); in g_mirror_regular_request()
1006 if (bp->bio_error == 0 && pbp->bio_error == 0) { in g_mirror_regular_request()
1023 pbp->bio_error = bp->bio_error; in g_mirror_regular_request()
1400 bp->bio_error); in g_mirror_sync_request()
[all …]
/freebsd-14.2/sys/dev/mfi/
H A Dmfi_disk.c267 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-14.2/sys/geom/vinum/
H A Dgeom_vinum_plex.c308 if (pbp->bio_error == 0) in gv_plex_normal_done()
309 pbp->bio_error = bp->bio_error; in gv_plex_normal_done()
321 g_io_deliver(pbp, pbp->bio_error); in gv_plex_normal_done()
420 if (pbp->bio_error == 0) in gv_plex_raid5_done()
421 pbp->bio_error = bp->bio_error; in gv_plex_raid5_done()
694 bp->bio_error = 0; in gv_grow_request()
801 bp->bio_error = 0; in gv_init_request()
839 error = bp->bio_error; in gv_init_complete()
904 bp->bio_error = 0; in gv_parity_request()
939 error = bp->bio_error; in gv_parity_complete()
[all …]
/freebsd-14.2/sys/geom/bde/
H A Dg_bde_work.c391 if (bp->bio_error == 0) in g_bde_contribute()
392 bp->bio_error = error; in g_bde_contribute()
396 if (bp->bio_error != 0) in g_bde_contribute()
398 g_io_deliver(bp, bp->bio_error); in g_bde_contribute()
437 if (bp->bio_error == 0 && bp->bio_completed != sp->size) in g_bde_write_done()
438 bp->bio_error = EIO; in g_bde_write_done()
439 sp->error = bp->bio_error; in g_bde_write_done()
510 if (bp->bio_error == 0 && bp->bio_completed != sp->size) in g_bde_read_done()
511 bp->bio_error = EIO; in g_bde_read_done()
512 sp->error = bp->bio_error; in g_bde_read_done()
[all …]
/freebsd-14.2/sys/dev/cfi/
H A Dcfi_disk.c179 bp->bio_error = cfi_block_finish(sc); in cfi_disk_read()
180 if (bp->bio_error) { in cfi_disk_read()
187 bp->bio_error = EIO; in cfi_disk_read()
226 bp->bio_error = EIO; in cfi_disk_write()
244 bp->bio_error = cfi_block_start(sc, bp->bio_offset); in cfi_disk_write()
245 if (bp->bio_error) { in cfi_disk_write()
/freebsd-14.2/sys/dev/ida/
H A Dida_disk.c93 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-14.2/sys/dev/mlx/
H A Dmlx_disk.c151 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-14.2/sys/geom/shsec/
H A Dg_shsec.c253 if (bp->bio_error == 0) in g_shsec_done()
257 bp->bio_error); in g_shsec_done()
258 if (pbp->bio_error == 0) in g_shsec_done()
259 pbp->bio_error = bp->bio_error; in g_shsec_done()
279 g_io_deliver(pbp, pbp->bio_error); in g_shsec_done()
395 if (bp->bio_error == 0) in g_shsec_start()
396 bp->bio_error = error; in g_shsec_start()
397 g_io_deliver(bp, bp->bio_error); in g_shsec_start()
/freebsd-14.2/sys/geom/virstor/
H A Dg_virstor.c953 bq->bio->bio_error = ENOSPC; in virstor_geom_destroy()
1534 if (b->bio_error != 0) { in g_virstor_done()
1539 parent_b->bio_error = b->bio_error; in g_virstor_done()
1619 if (b->bio_error == 0) in g_virstor_start()
1620 b->bio_error = ENOMEM; in g_virstor_start()
1661 if (b->bio_error == 0) in g_virstor_start()
1662 b->bio_error = ENOMEM; in g_virstor_start()
1694 if (b->bio_error == 0) in g_virstor_start()
1695 b->bio_error = ENOMEM; in g_virstor_start()
1729 if (b->bio_error == 0) in g_virstor_start()
[all …]
/freebsd-14.2/sys/powerpc/powernv/
H A Dopal_flash.c303 bp->bio_error = opalflash_erase(sc, bp->bio_offset, in opalflash_task()
307 bp->bio_error = opalflash_read(sc, bp->bio_offset, in opalflash_task()
311 bp->bio_error = opalflash_write(sc, bp->bio_offset, in opalflash_task()
315 bp->bio_error = EINVAL; in opalflash_task()
/freebsd-14.2/sys/geom/raid3/
H A Dg_raid3.c1173 pbp->bio_error = cbp->bio_error; 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 != 0) in g_raid3_gather()
1219 pbp->bio_error = fbp->bio_error; in g_raid3_gather()
1227 fbp->bio_error = 0; in g_raid3_gather()
1365 cbp->bio_error); in g_raid3_regular_request()
1369 cbp->bio_error); in g_raid3_regular_request()
1657 bp->bio_error); in g_raid3_sync_request()
[all …]
/freebsd-14.2/sys/powerpc/ps3/
H A Dps3disk.c360 bp->bio_error = EINVAL; in ps3disk_strategy()
400 bp->bio_error = err; in ps3disk_strategy()
436 bp->bio_error = EIO; in ps3disk_intr()
439 bp->bio_error = 0; in ps3disk_intr()
600 bp->bio_error = error; in ps3disk_transfer()
638 bp->bio_error = EINVAL; in ps3disk_transfer()
/freebsd-14.2/sys/geom/concat/
H A Dg_concat.c275 if (pbp->bio_error == 0) in g_concat_done()
276 pbp->bio_error = bp->bio_error; in g_concat_done()
281 g_io_deliver(pbp, pbp->bio_error); in g_concat_done()
306 if (bp->bio_error == 0) in g_concat_passdown()
307 bp->bio_error = ENOMEM; in g_concat_passdown()
308 g_io_deliver(bp, bp->bio_error); in g_concat_passdown()
396 if (bp->bio_error == 0) in g_concat_start()
397 bp->bio_error = ENOMEM; in g_concat_start()
398 g_io_deliver(bp, bp->bio_error); in g_concat_start()
/freebsd-14.2/sys/geom/stripe/
H A Dg_stripe.c284 if (pbp->bio_error == 0) in g_stripe_done()
285 pbp->bio_error = bp->bio_error; in g_stripe_done()
294 g_io_deliver(pbp, pbp->bio_error); in g_stripe_done()
547 if (bp->bio_error == 0) in g_stripe_pushdown()
548 bp->bio_error = ENOMEM; in g_stripe_pushdown()
549 g_io_deliver(bp, bp->bio_error); in g_stripe_pushdown()
662 if (bp->bio_error == 0) in g_stripe_start()
663 bp->bio_error = error; in g_stripe_start()
664 g_io_deliver(bp, bp->bio_error); in g_stripe_start()

1234