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

1234

/freebsd-13-stable/sys/geom/eli/
H A Dg_eli_privacy.c111 if (bp->bio_error == 0)
112 bp->bio_error = crp->crp_etype;
124 if (bp->bio_error != 0) {
126 bp->bio_error);
132 g_io_deliver(bp, bp->bio_error);
163 if (bp->bio_error == 0)
164 bp->bio_error = crp->crp_etype;
180 if (bp->bio_error != 0) {
182 bp->bio_error);
186 g_io_deliver(bp, bp->bio_error);
[all...]
H A Dg_eli_integrity.c171 if (bp->bio_error == 0 || bp->bio_error == EINTEGRITY)
172 bp->bio_error = crp->crp_etype == EBADMSG ?
184 if (bp->bio_error == 0) {
212 } else if (bp->bio_error == EINTEGRITY) {
273 if (bp->bio_error != 0) {
274 if (bp->bio_error != EINTEGRITY) {
277 bp->bio_error);
284 g_io_deliver(bp, bp->bio_error);
314 if (bp->bio_error
[all...]
H A Dg_eli.c224 if (bp->bio_error == 0 &&
244 if (pbp->bio_error == 0 && bp->bio_error != 0)
245 pbp->bio_error = bp->bio_error;
254 if (pbp->bio_error != 0) {
256 pbp->bio_error);
262 g_io_deliver(pbp, pbp->bio_error);
286 if (pbp->bio_error == 0 && bp->bio_error !
[all...]
/freebsd-13-stable/sys/geom/raid/
H A Dtr_concat.c283 if (bp->bio_error == 0)
284 bp->bio_error = ENOMEM;
285 g_raid_iodone(bp, bp->bio_error);
338 if (pbp->bio_error == 0)
339 pbp->bio_error = bp->bio_error;
344 g_raid_iodone(pbp, pbp->bio_error);
H A Dtr_raid0.c265 if (bp->bio_error == 0)
266 bp->bio_error = ENOMEM;
267 g_raid_iodone(bp, bp->bio_error);
321 if (pbp->bio_error == 0)
322 pbp->bio_error = bp->bio_error;
327 g_raid_iodone(pbp, pbp->bio_error);
H A Dtr_raid1.c601 if (bp->bio_error == 0)
602 bp->bio_error = ENOMEM;
603 g_raid_iodone(bp, bp->bio_error);
693 if (bp->bio_error != 0) {
697 bp->bio_error);
706 bp->bio_error);
720 bp->bio_error);
722 if (bp->bio_error != 0 ||
774 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) {
783 bp->bio_error, s
[all...]
H A Dtr_raid1e.c752 if (bp->bio_error == 0)
753 bp->bio_error = ENOMEM;
754 g_raid_iodone(bp, bp->bio_error);
830 if (bp->bio_error == 0)
831 bp->bio_error = ENOMEM;
832 g_raid_iodone(bp, bp->bio_error);
910 if (bp->bio_error != 0) {
914 bp->bio_error);
923 bp->bio_error);
937 bp->bio_error);
[all...]
H A Dtr_raid5.c338 if (bp->bio_error == 0)
339 bp->bio_error = ENOMEM;
340 g_raid_iodone(bp, bp->bio_error);
377 if (pbp->bio_error == 0)
378 pbp->bio_error = bp->bio_error;
383 g_raid_iodone(pbp, pbp->bio_error);
/freebsd-13-stable/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;
156 bp->bio_error = err;
255 if (bp->bio_error == 0)
256 bp->bio_error = EIO;
268 nvme_bio_child_inbed(struct bio *parent, int bio_error) argument
273 if (bio_error != 0) {
275 parent->bio_error = bio_error;
301 int bio_error; local
[all...]
/freebsd-13-stable/sys/geom/
H A Dgeom_vfs.c143 if (bip->bio_error != 0 && bip->bio_error != EOPNOTSUPP) {
147 bip->bio_error = ENXIO;
149 bip->bio_error);
151 bp->b_error = bip->bio_error;
153 if (bip->bio_error)
H A Dgeom_ccd.c495 if (bp->bio_error == 0)
496 bp->bio_error = err;
498 g_io_deliver(bp, bp->bio_error);
691 if (cbp->bio_error == 0) {
718 if (cbp->bio_error != 0 && pbp->bio_error == 0)
719 pbp->bio_error = cbp->bio_error;
/freebsd-13-stable/sys/dev/cfi/
H A Dcfi_disk.c181 bp->bio_error = cfi_block_finish(sc);
182 if (bp->bio_error) {
189 bp->bio_error = EIO;
228 bp->bio_error = EIO;
246 bp->bio_error = cfi_block_start(sc, bp->bio_offset);
247 if (bp->bio_error) {
/freebsd-13-stable/sys/dev/mfi/
H A Dmfi_disk.c271 bio->bio_error = EINVAL;
280 bio->bio_error = EBUSY;
285 bio->bio_error = EBUSY;
290 bio->bio_error = EBUSY;
315 if (bio->bio_error == 0)
316 bio->bio_error = EIO;
/freebsd-13-stable/sys/geom/bde/
H A Dg_bde_work.c393 if (bp->bio_error == 0)
394 bp->bio_error = error;
398 if (bp->bio_error != 0)
400 g_io_deliver(bp, bp->bio_error);
439 if (bp->bio_error == 0 && bp->bio_completed != sp->size)
440 bp->bio_error = EIO;
441 sp->error = bp->bio_error;
512 if (bp->bio_error == 0 && bp->bio_completed != sp->size)
513 bp->bio_error = EIO;
514 sp->error = bp->bio_error;
[all...]
/freebsd-13-stable/sys/dev/ida/
H A Dida_disk.c97 bp->bio_error = EINVAL;
105 bp->bio_error = EROFS;
110 bp->bio_error = EOPNOTSUPP;
160 bp->bio_error = EIO;
/freebsd-13-stable/sys/dev/mlx/
H A Dmlx_disk.c155 bp->bio_error = EINVAL;
161 bp->bio_error = EOPNOTSUPP;
169 bp->bio_error = ENXIO;
194 bp->bio_error = EIO;
/freebsd-13-stable/sys/geom/vinum/
H A Dgeom_vinum_plex.c310 if (pbp->bio_error == 0)
311 pbp->bio_error = bp->bio_error;
323 g_io_deliver(pbp, pbp->bio_error);
422 if (pbp->bio_error == 0)
423 pbp->bio_error = bp->bio_error;
443 g_io_deliver(pbp, pbp->bio_error);
484 bp->bio_parent->bio_error = EAGAIN;
698 bp->bio_error
[all...]
/freebsd-13-stable/sys/geom/mirror/
H A Dg_mirror.c936 bp->bio_error == EOPNOTSUPP)
942 bp->bio_error);
945 bp->bio_error);
949 if (bp->bio_error == ENXIO &&
952 else if (bp->bio_error == ENXIO)
985 bp->bio_error);
989 bp->bio_error);
993 bp->bio_error);
997 bp->bio_error);
1001 bp->bio_error);
[all...]
/freebsd-13-stable/sys/powerpc/powernv/
H A Dopal_flash.c309 bp->bio_error = opalflash_erase(sc, bp->bio_offset,
313 bp->bio_error = opalflash_read(sc, bp->bio_offset,
317 bp->bio_error = opalflash_write(sc, bp->bio_offset,
321 bp->bio_error = EINVAL;
/freebsd-13-stable/sys/geom/virstor/
H A Dg_virstor.c954 bq->bio->bio_error = ENOSPC;
1537 if (b->bio_error != 0) {
1539 b->bio_error, b->bio_offset, b->bio_length,
1541 if (parent_b->bio_error == 0)
1542 parent_b->bio_error = b->bio_error;
1550 g_io_deliver(parent_b, parent_b->bio_error);
1622 if (b->bio_error == 0)
1623 b->bio_error = ENOMEM;
1624 g_io_deliver(b, b->bio_error);
[all...]
/freebsd-13-stable/sys/geom/concat/
H A Dg_concat.c269 if (pbp->bio_error == 0)
270 pbp->bio_error = bp->bio_error;
275 g_io_deliver(pbp, pbp->bio_error);
298 if (bp->bio_error == 0)
299 bp->bio_error = ENOMEM;
300 g_io_deliver(bp, bp->bio_error);
389 if (bp->bio_error == 0)
390 bp->bio_error = ENOMEM;
391 g_io_deliver(bp, bp->bio_error);
[all...]
/freebsd-13-stable/sys/powerpc/ps3/
H A Dps3disk.c362 bp->bio_error = EINVAL;
402 bp->bio_error = err;
438 bp->bio_error = EIO;
441 bp->bio_error = 0;
602 bp->bio_error = error;
640 bp->bio_error = EINVAL;
/freebsd-13-stable/sys/dev/firewire/
H A Dfwmem.c332 bp->bio_error = xfer->resp;
334 if (bp->bio_error != 0) {
336 printf("%s: err=%d\n", __func__, bp->bio_error);
401 bp->bio_error = err;
/freebsd-13-stable/sys/sys/
H A Dbio.h100 int bio_error; /* Errno for BIO_ERROR. */ member in struct:bio
/freebsd-13-stable/sys/geom/linux_lvm/
H A Dg_linux_lvm.c174 if (b->bio_error != 0) {
176 b->bio_error, b->bio_offset, b->bio_length,
178 if (parent_b->bio_error == 0)
179 parent_b->bio_error = b->bio_error;
187 g_io_deliver(parent_b, parent_b->bio_error);
240 if (bp->bio_error == 0)
241 bp->bio_error = ENOMEM;
242 g_io_deliver(bp, bp->bio_error);

Completed in 210 milliseconds

1234