Home
last modified time | relevance | path

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

1234

/freebsd-13.1/sys/geom/eli/
H A Dg_eli_privacy.c111 if (bp->bio_error == 0) in g_eli_crypto_read_done()
112 bp->bio_error = crp->crp_etype; in g_eli_crypto_read_done()
124 if (bp->bio_error != 0) { in g_eli_crypto_read_done()
126 bp->bio_error); in g_eli_crypto_read_done()
132 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_read_done()
163 if (bp->bio_error == 0) in g_eli_crypto_write_done()
164 bp->bio_error = crp->crp_etype; in g_eli_crypto_write_done()
180 if (bp->bio_error != 0) { in g_eli_crypto_write_done()
182 bp->bio_error); in g_eli_crypto_write_done()
186 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_write_done()
H A Dg_eli_integrity.c171 if (bp->bio_error == 0 || bp->bio_error == EINTEGRITY) in g_eli_auth_read_done()
184 if (bp->bio_error == 0) { in g_eli_auth_read_done()
273 if (bp->bio_error != 0) { in g_eli_auth_read_done()
274 if (bp->bio_error != EINTEGRITY) { in g_eli_auth_read_done()
277 bp->bio_error); in g_eli_auth_read_done()
284 g_io_deliver(bp, bp->bio_error); in g_eli_auth_read_done()
314 if (bp->bio_error == 0) in g_eli_auth_write_done()
315 bp->bio_error = crp->crp_etype; in g_eli_auth_write_done()
326 if (bp->bio_error != 0) { in g_eli_auth_write_done()
328 bp->bio_error); in g_eli_auth_write_done()
[all …]
H A Dg_eli.c224 if (bp->bio_error == 0 && in g_eli_getattr_done()
244 if (pbp->bio_error == 0 && bp->bio_error != 0) in g_eli_read_done()
245 pbp->bio_error = bp->bio_error; in g_eli_read_done()
254 if (pbp->bio_error != 0) { in g_eli_read_done()
256 pbp->bio_error); in g_eli_read_done()
262 g_io_deliver(pbp, pbp->bio_error); in g_eli_read_done()
286 if (pbp->bio_error == 0 && bp->bio_error != 0) in g_eli_write_done()
287 pbp->bio_error = bp->bio_error; in g_eli_write_done()
297 if (pbp->bio_error != 0) { in g_eli_write_done()
299 pbp->bio_error); in g_eli_write_done()
[all …]
/freebsd-13.1/sys/geom/raid/
H A Dtr_raid1.c601 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1_write()
602 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1_write()
693 if (bp->bio_error != 0) { in g_raid_tr_iodone_raid1()
697 bp->bio_error); in g_raid_tr_iodone_raid1()
706 bp->bio_error); in g_raid_tr_iodone_raid1()
720 bp->bio_error); in g_raid_tr_iodone_raid1()
834 bp->bio_error == 0 && in g_raid_tr_iodone_raid1()
874 bp->bio_error = 0; in g_raid_tr_iodone_raid1()
886 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid1()
891 error = pbp->bio_error; in g_raid_tr_iodone_raid1()
[all …]
H A Dtr_raid1e.c752 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1e_read()
753 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1e_read()
830 if (bp->bio_error == 0) in g_raid_tr_iostart_raid1e_write()
831 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid1e_write()
914 bp->bio_error); in g_raid_tr_iodone_raid1e()
923 bp->bio_error); in g_raid_tr_iodone_raid1e()
937 bp->bio_error); in g_raid_tr_iodone_raid1e()
1124 bp->bio_error = 0; in g_raid_tr_iodone_raid1e()
1131 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid1e()
1136 error = pbp->bio_error; in g_raid_tr_iodone_raid1e()
[all …]
H A Dtr_raid0.c265 if (bp->bio_error == 0) in g_raid_tr_iostart_raid0()
266 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid0()
267 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid0()
321 if (pbp->bio_error == 0) in g_raid_tr_iodone_raid0()
322 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid0()
327 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_raid0()
H A Dtr_concat.c283 if (bp->bio_error == 0) in g_raid_tr_iostart_concat()
284 bp->bio_error = ENOMEM; in g_raid_tr_iostart_concat()
285 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_concat()
338 if (pbp->bio_error == 0) in g_raid_tr_iodone_concat()
339 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_concat()
344 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_concat()
H A Dtr_raid5.c338 if (bp->bio_error == 0) in g_raid_tr_iostart_raid5_read()
339 bp->bio_error = ENOMEM; in g_raid_tr_iostart_raid5_read()
340 g_raid_iodone(bp, bp->bio_error); in g_raid_tr_iostart_raid5_read()
377 if (pbp->bio_error == 0) in g_raid_tr_iodone_raid5()
378 pbp->bio_error = bp->bio_error; in g_raid_tr_iodone_raid5()
383 g_raid_iodone(pbp, pbp->bio_error); in g_raid_tr_iodone_raid5()
/freebsd-13.1/sys/dev/nvme/
H A Dnvme_ns.c50 static void nvme_bio_child_inbed(struct bio *parent, int bio_error);
137 bp->bio_error = EIO; in nvme_ns_strategy_done()
156 bp->bio_error = err; in nvme_ns_strategy()
260 if (bp->bio_error == 0) in nvme_ns_bio_done()
261 bp->bio_error = EIO; in nvme_ns_bio_done()
273 nvme_bio_child_inbed(struct bio *parent, int bio_error) in nvme_bio_child_inbed() argument
278 if (bio_error != 0) { in nvme_bio_child_inbed()
280 parent->bio_error = bio_error; in nvme_bio_child_inbed()
306 int bio_error; in nvme_bio_child_done() local
310 bio_error = nvme_completion_is_error(cpl) ? EIO : 0; in nvme_bio_child_done()
[all …]
/freebsd-13.1/sys/geom/mirror/
H A Dg_mirror.c935 bp->bio_error); in g_mirror_regular_request_error()
938 bp->bio_error); in g_mirror_regular_request_error()
978 bp->bio_error); in g_mirror_regular_request()
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()
1002 if (bp->bio_error == 0 && pbp->bio_error == 0) { in g_mirror_regular_request()
1019 pbp->bio_error = bp->bio_error; in g_mirror_regular_request()
1372 bp->bio_error); in g_mirror_sync_request()
[all …]
/freebsd-13.1/sys/geom/
H A Dgeom_vfs.c143 if (bip->bio_error != 0 && bip->bio_error != EOPNOTSUPP) { in g_vfs_done()
147 bip->bio_error = ENXIO; in g_vfs_done()
149 bip->bio_error); in g_vfs_done()
151 bp->b_error = bip->bio_error; in g_vfs_done()
153 if (bip->bio_error) in g_vfs_done()
H A Dgeom_ccd.c495 if (bp->bio_error == 0) in g_ccd_start()
496 bp->bio_error = err; in g_ccd_start()
498 g_io_deliver(bp, bp->bio_error); in g_ccd_start()
691 if (cbp->bio_error == 0) { in ccdiodone()
718 if (cbp->bio_error != 0 && pbp->bio_error == 0) in ccdiodone()
719 pbp->bio_error = cbp->bio_error; in ccdiodone()
/freebsd-13.1/sys/dev/mfi/
H A Dmfi_disk.c271 bio->bio_error = EINVAL; in mfi_disk_strategy()
280 bio->bio_error = EBUSY; in mfi_disk_strategy()
285 bio->bio_error = EBUSY; in mfi_disk_strategy()
290 bio->bio_error = EBUSY; in mfi_disk_strategy()
315 if (bio->bio_error == 0) in mfi_disk_complete()
316 bio->bio_error = EIO; in mfi_disk_complete()
/freebsd-13.1/sys/geom/vinum/
H A Dgeom_vinum_plex.c310 if (pbp->bio_error == 0) in gv_plex_normal_done()
311 pbp->bio_error = bp->bio_error; in gv_plex_normal_done()
323 g_io_deliver(pbp, pbp->bio_error); in gv_plex_normal_done()
422 if (pbp->bio_error == 0) in gv_plex_raid5_done()
423 pbp->bio_error = bp->bio_error; in gv_plex_raid5_done()
698 bp->bio_error = 0; in gv_grow_request()
805 bp->bio_error = 0; in gv_init_request()
843 error = bp->bio_error; in gv_init_complete()
909 bp->bio_error = 0; in gv_parity_request()
944 error = bp->bio_error; in gv_parity_complete()
[all …]
/freebsd-13.1/sys/geom/bde/
H A Dg_bde_work.c393 if (bp->bio_error == 0) in g_bde_contribute()
394 bp->bio_error = error; in g_bde_contribute()
398 if (bp->bio_error != 0) in g_bde_contribute()
400 g_io_deliver(bp, bp->bio_error); in g_bde_contribute()
439 if (bp->bio_error == 0 && bp->bio_completed != sp->size) in g_bde_write_done()
440 bp->bio_error = EIO; in g_bde_write_done()
441 sp->error = bp->bio_error; in g_bde_write_done()
512 if (bp->bio_error == 0 && bp->bio_completed != sp->size) in g_bde_read_done()
513 bp->bio_error = EIO; in g_bde_read_done()
514 sp->error = bp->bio_error; in g_bde_read_done()
[all …]
/freebsd-13.1/sys/dev/cfi/
H A Dcfi_disk.c181 bp->bio_error = cfi_block_finish(sc); in cfi_disk_read()
182 if (bp->bio_error) { in cfi_disk_read()
189 bp->bio_error = EIO; in cfi_disk_read()
228 bp->bio_error = EIO; in cfi_disk_write()
246 bp->bio_error = cfi_block_start(sc, bp->bio_offset); in cfi_disk_write()
247 if (bp->bio_error) { in cfi_disk_write()
/freebsd-13.1/sys/dev/ida/
H A Dida_disk.c97 bp->bio_error = EINVAL; in idad_strategy()
105 bp->bio_error = EROFS; in idad_strategy()
110 bp->bio_error = EOPNOTSUPP; in idad_strategy()
160 bp->bio_error = EIO; in idad_intr()
/freebsd-13.1/sys/dev/mlx/
H A Dmlx_disk.c155 bp->bio_error = EINVAL; in mlxd_strategy()
161 bp->bio_error = EOPNOTSUPP; in mlxd_strategy()
169 bp->bio_error = ENXIO; in mlxd_strategy()
194 bp->bio_error = EIO; in mlxd_intr()
/freebsd-13.1/sys/geom/virstor/
H A Dg_virstor.c955 bq->bio->bio_error = ENOSPC; in virstor_geom_destroy()
1538 if (b->bio_error != 0) { in g_virstor_done()
1543 parent_b->bio_error = b->bio_error; in g_virstor_done()
1623 if (b->bio_error == 0) in g_virstor_start()
1624 b->bio_error = ENOMEM; in g_virstor_start()
1665 if (b->bio_error == 0) in g_virstor_start()
1666 b->bio_error = ENOMEM; in g_virstor_start()
1698 if (b->bio_error == 0) in g_virstor_start()
1699 b->bio_error = ENOMEM; in g_virstor_start()
1733 if (b->bio_error == 0) in g_virstor_start()
[all …]
/freebsd-13.1/sys/powerpc/powernv/
H A Dopal_flash.c309 bp->bio_error = opalflash_erase(sc, bp->bio_offset, in opalflash_task()
313 bp->bio_error = opalflash_read(sc, bp->bio_offset, in opalflash_task()
317 bp->bio_error = opalflash_write(sc, bp->bio_offset, in opalflash_task()
321 bp->bio_error = EINVAL; in opalflash_task()
/freebsd-13.1/sys/geom/shsec/
H A Dg_shsec.c257 if (bp->bio_error == 0) in g_shsec_done()
261 bp->bio_error); in g_shsec_done()
262 if (pbp->bio_error == 0) in g_shsec_done()
263 pbp->bio_error = bp->bio_error; in g_shsec_done()
283 g_io_deliver(pbp, pbp->bio_error); in g_shsec_done()
399 if (bp->bio_error == 0) in g_shsec_start()
400 bp->bio_error = error; in g_shsec_start()
401 g_io_deliver(bp, bp->bio_error); in g_shsec_start()
/freebsd-13.1/sys/geom/raid3/
H A Dg_raid3.c1141 pbp->bio_error = cbp->bio_error; in g_raid3_gather()
1150 pbp->bio_error = fbp->bio_error; in g_raid3_gather()
1158 cbp->bio_error); in g_raid3_gather()
1161 cbp->bio_error); in g_raid3_gather()
1171 if (pbp->bio_error != 0) in g_raid3_gather()
1187 pbp->bio_error = fbp->bio_error; in g_raid3_gather()
1195 fbp->bio_error = 0; in g_raid3_gather()
1333 cbp->bio_error); in g_raid3_regular_request()
1337 cbp->bio_error); in g_raid3_regular_request()
1625 bp->bio_error); in g_raid3_sync_request()
[all …]
/freebsd-13.1/sys/geom/concat/
H A Dg_concat.c269 if (pbp->bio_error == 0) in g_concat_done()
270 pbp->bio_error = bp->bio_error; in g_concat_done()
275 g_io_deliver(pbp, pbp->bio_error); in g_concat_done()
298 if (bp->bio_error == 0) in g_concat_passdown()
299 bp->bio_error = ENOMEM; in g_concat_passdown()
300 g_io_deliver(bp, bp->bio_error); in g_concat_passdown()
389 if (bp->bio_error == 0) in g_concat_start()
390 bp->bio_error = ENOMEM; in g_concat_start()
391 g_io_deliver(bp, bp->bio_error); in g_concat_start()
/freebsd-13.1/sys/powerpc/ps3/
H A Dps3disk.c362 bp->bio_error = EINVAL; in ps3disk_strategy()
402 bp->bio_error = err; in ps3disk_strategy()
438 bp->bio_error = EIO; in ps3disk_intr()
441 bp->bio_error = 0; in ps3disk_intr()
602 bp->bio_error = error; in ps3disk_transfer()
640 bp->bio_error = EINVAL; in ps3disk_transfer()
/freebsd-13.1/sys/geom/stripe/
H A Dg_stripe.c286 if (pbp->bio_error == 0) in g_stripe_done()
287 pbp->bio_error = bp->bio_error; in g_stripe_done()
296 g_io_deliver(pbp, pbp->bio_error); in g_stripe_done()
549 if (bp->bio_error == 0) in g_stripe_pushdown()
550 bp->bio_error = ENOMEM; in g_stripe_pushdown()
551 g_io_deliver(bp, bp->bio_error); in g_stripe_pushdown()
659 if (bp->bio_error == 0) in g_stripe_start()
660 bp->bio_error = error; in g_stripe_start()
661 g_io_deliver(bp, bp->bio_error); in g_stripe_start()

1234