Home
last modified time | relevance | path

Searched refs:bi_status (Results 1 – 25 of 105) sorted by relevance

12345

/kernel/linux/linux-5.10/block/
Dblk-crypto-fallback.c155 src_bio->bi_status = enc_bio->bi_status; in blk_crypto_fallback_encrypt_endio()
227 bio->bi_status = BLK_STS_RESOURCE; in blk_crypto_split_bio_if_needed()
285 src_bio->bi_status = BLK_STS_RESOURCE; in blk_crypto_fallback_encrypt_bio()
295 src_bio->bi_status = blk_st; in blk_crypto_fallback_encrypt_bio()
301 src_bio->bi_status = BLK_STS_RESOURCE; in blk_crypto_fallback_encrypt_bio()
322 src_bio->bi_status = BLK_STS_RESOURCE; in blk_crypto_fallback_encrypt_bio()
337 src_bio->bi_status = BLK_STS_IOERR; in blk_crypto_fallback_encrypt_bio()
397 bio->bi_status = blk_st; in blk_crypto_fallback_decrypt_bio()
403 bio->bi_status = BLK_STS_RESOURCE; in blk_crypto_fallback_decrypt_bio()
423 bio->bi_status = BLK_STS_IOERR; in blk_crypto_fallback_decrypt_bio()
[all …]
Dbounce.c181 bio_orig->bi_status = bio->bi_status; in bounce_end_io()
201 if (!bio->bi_status) in __bounce_end_io_read()
Dbio-integrity.c312 bio->bi_status = status; in bio_integrity_prep()
339 bio->bi_status = bio_integrity_process(bio, &bip->bio_iter, in bio_integrity_verify_fn()
361 if (bio_op(bio) == REQ_OP_READ && !bio->bi_status && in __bio_integrity_endio()
Dblk-crypto.c270 bio->bi_status = BLK_STS_IOERR; in __blk_crypto_bio_prep()
275 bio->bi_status = BLK_STS_IOERR; in __blk_crypto_bio_prep()
Dblk-crypto-internal.h200 (*bio_ptr)->bi_status = BLK_STS_NOTSUPP; in blk_crypto_fallback_bio_prep()
Dbio.c316 if (bio->bi_status && !parent->bi_status) in __bio_chain_endio()
317 parent->bi_status = bio->bi_status; in __bio_chain_endio()
1177 return blk_status_to_errno(bio->bi_status); in submit_bio_wait()
/kernel/linux/linux-5.10/drivers/md/bcache/
Drequest.c174 if (bio->bi_status) { in bch_data_insert_endio()
177 op->status = bio->bi_status; in bch_data_insert_endio()
184 bch_bbio_endio(op->c, bio, bio->bi_status, "writing data to cache"); in bch_data_insert_endio()
498 if (bio->bi_status) in bch_cache_read_endio()
499 s->iop.status = bio->bi_status; in bch_cache_read_endio()
506 bch_bbio_endio(s->iop.c, bio, bio->bi_status, "reading from cache"); in bch_cache_read_endio()
625 if (bio->bi_status) { in request_endio()
628 s->iop.status = bio->bi_status; in request_endio()
641 if (bio->bi_status) { in backing_request_endio()
655 dc->backing_dev_name, bio->bi_status); in backing_request_endio()
[all …]
Dmovinggc.c68 if (bio->bi_status) in read_moving_endio()
69 io->op.status = bio->bi_status; in read_moving_endio()
75 bch_bbio_endio(io->op.c, bio, bio->bi_status, "reading data to move"); in read_moving_endio()
/kernel/linux/linux-5.10/fs/ext4/
Dpage-io.c122 if (bio->bi_status) { in ext4_finish_bio()
140 if (bio->bi_status) in ext4_finish_bio()
335 bio->bi_status)) { in ext4_end_bio()
342 if (bio->bi_status) { in ext4_end_bio()
347 bio->bi_status, inode->i_ino, in ext4_end_bio()
351 blk_status_to_errno(bio->bi_status)); in ext4_end_bio()
Dreadpage.c80 if (bio->bi_status || PageError(page)) { in __read_end_io()
159 return bio->bi_private && !bio->bi_status; in bio_post_read_required()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_iblock.c292 if (bio->bi_status) { in iblock_bio_done()
293 pr_err("bio error: %p, err: %d\n", bio, bio->bi_status); in iblock_bio_done()
350 if (bio->bi_status) in iblock_end_io_flush()
351 pr_err("IBLOCK: cache flush failed: %d\n", bio->bi_status); in iblock_end_io_flush()
354 if (bio->bi_status) in iblock_end_io_flush()
/kernel/linux/linux-5.10/fs/
Dblock_dev.c300 if (unlikely(bio.bi_status)) in __blkdev_direct_IO_simple()
301 ret = blk_status_to_errno(bio.bi_status); in __blkdev_direct_IO_simple()
340 if (bio->bi_status && !dio->bio.bi_status) in blkdev_bio_end_io()
341 dio->bio.bi_status = bio->bi_status; in blkdev_bio_end_io()
348 if (likely(!dio->bio.bi_status)) { in blkdev_bio_end_io()
352 ret = blk_status_to_errno(dio->bio.bi_status); in blkdev_bio_end_io()
425 bio->bi_status = BLK_STS_IOERR; in __blkdev_direct_IO()
496 ret = blk_status_to_errno(dio->bio.bi_status); in __blkdev_direct_IO()
/kernel/linux/linux-5.10/fs/gfs2/
Dlops.c206 if (bio->bi_status) { in gfs2_end_log_write()
207 if (!cmpxchg(&sdp->sd_log_error, 0, (int)bio->bi_status)) in gfs2_end_log_write()
209 bio->bi_status, sdp->sd_jdesc->jd_jid); in gfs2_end_log_write()
219 gfs2_end_log_write_bh(sdp, bvec, bio->bi_status); in gfs2_end_log_write()
398 if (bio->bi_status) { in gfs2_end_log_read()
399 int err = blk_status_to_errno(bio->bi_status); in gfs2_end_log_read()
/kernel/linux/linux-5.10/drivers/md/
Dmd-multipath.c73 bio->bi_status = status; in multipath_end_bh_io()
84 if (!bio->bi_status) in multipath_end_request()
97 multipath_end_bh_io(mp_bh, bio->bi_status); in multipath_end_request()
Ddm-zoned-target.c80 if (status != BLK_STS_OK && bio->bi_status == BLK_STS_OK) in dmz_bio_endio()
81 bio->bi_status = status; in dmz_bio_endio()
82 if (bioctx->dev && bio->bi_status != BLK_STS_OK) in dmz_bio_endio()
89 if (bio->bi_status != BLK_STS_OK && in dmz_bio_endio()
106 blk_status_t status = clone->bi_status; in dmz_clone_endio()
Draid1.c301 bio->bi_status = BLK_STS_IOERR; in call_bio_endio()
361 int uptodate = !bio->bi_status; in raid1_end_read_request()
454 discard_error = bio->bi_status && bio_op(bio) == REQ_OP_DISCARD; in raid1_end_write_request()
459 if (bio->bi_status && !discard_error) { in raid1_end_write_request()
1870 if (!bio->bi_status) in end_sync_read()
1909 int uptodate = !bio->bi_status; in end_sync_write()
2083 bio->bi_status = 0; in fix_sync_read_error()
2111 status = b->bi_status; in process_checks()
2113 b->bi_status = status; in process_checks()
2126 !r1_bio->bios[primary]->bi_status) { in process_checks()
[all …]
Draid10.c298 bio->bi_status = BLK_STS_IOERR; in raid_end_bio_io()
351 int uptodate = !bio->bi_status; in raid10_end_read_request()
438 discard_error = bio->bi_status && bio_op(bio) == REQ_OP_DISCARD; in raid10_end_write_request()
452 if (bio->bi_status && !discard_error) { in raid10_end_write_request()
1871 if (!bio->bi_status) in __end_sync_read()
1955 if (bio->bi_status) { in end_sync_write()
2004 if (!r10_bio->devs[i].bio->bi_status) in sync_request_write()
2033 if (!r10_bio->devs[i].bio->bi_status) { in sync_request_write()
2613 if (!r10_bio->devs[m].bio->bi_status) { in handle_write_completed()
2630 if (!r10_bio->devs[m].repl_bio->bi_status) { in handle_write_completed()
[all …]
Ddm-io.c143 if (bio->bi_status && bio_data_dir(bio) == READ) in endio()
151 error = bio->bi_status; in endio()
Ddm-raid1.c487 bio->bi_status = BLK_STS_DM_REQUEUE; in hold_bio()
489 bio->bi_status = BLK_STS_IOERR; in hold_bio()
623 bio->bi_status = BLK_STS_NOTSUPP; in write_callback()
1286 bio->bi_status = 0; in mirror_end_io()
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-srv-dev.c52 rnbd_endio(io->priv, blk_status_to_errno(bio->bi_status)); in rnbd_dev_bi_end_io()
/kernel/linux/linux-5.10/mm/
Dpage_io.c52 if (bio->bi_status) { in end_swap_bio_write()
125 if (bio->bi_status) { in end_swap_bio_read()
/kernel/linux/linux-5.10/fs/btrfs/
Dcompression.c203 if (bio->bi_status) in end_compressed_bio_read()
327 if (bio->bi_status) in end_compressed_bio_write()
452 bio->bi_status = ret; in btrfs_submit_compressed_write()
484 bio->bi_status = ret; in btrfs_submit_compressed_write()
742 comp_bio->bi_status = ret; in btrfs_submit_compressed_read()
766 comp_bio->bi_status = ret; in btrfs_submit_compressed_read()
Draid56.c860 cur->bi_status = err; in rbio_endio_bio_list()
902 blk_status_t err = bio->bi_status; in raid_write_end_io()
1107 if (last_end == disk_start && !last->bi_status && in rbio_add_io_page()
1462 if (bio->bi_status) in raid_rmw_end_io()
2008 if (bio->bi_status) in raid_recover_end_io()
2558 if (bio->bi_status) in raid56_parity_scrub_end_io()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_worker.c55 device->md_io.error = blk_status_to_errno(bio->bi_status); in drbd_md_endio()
179 if (bio->bi_status && __ratelimit(&drbd_ratelimit_state)) in drbd_peer_request_endio()
182 : "read", bio->bi_status, in drbd_peer_request_endio()
185 if (bio->bi_status) in drbd_peer_request_endio()
246 if (!bio->bi_status) in drbd_request_endio()
251 if (unlikely(bio->bi_status)) { in drbd_request_endio()
255 if (bio->bi_status == BLK_STS_NOTSUPP) in drbd_request_endio()
274 req->private_bio = ERR_PTR(blk_status_to_errno(bio->bi_status)); in drbd_request_endio()
/kernel/linux/linux-5.10/fs/iomap/
Dbuffered-io.c192 int error = blk_status_to_errno(bio->bi_status); in iomap_read_end_io()
1123 if (ioend->io_bio->bi_status != next->io_bio->bi_status) in iomap_ioend_can_merge()
1182 iomap_finish_ioend(ioend, blk_status_to_errno(bio->bi_status)); in iomap_writepage_end_bio()
1209 ioend->io_bio->bi_status = errno_to_blk_status(error); in iomap_submit_ioend()

12345