/linux/block/ |
A D | blk-crypto-fallback.c | 153 src_bio->bi_status = enc_bio->bi_status; in blk_crypto_fallback_encrypt_endio() 229 bio->bi_status = BLK_STS_RESOURCE; in blk_crypto_fallback_split_bio_if_needed() 287 src_bio->bi_status = BLK_STS_RESOURCE; in blk_crypto_fallback_encrypt_bio() 298 src_bio->bi_status = blk_st; in blk_crypto_fallback_encrypt_bio() 340 src_bio->bi_status = BLK_STS_IOERR; in blk_crypto_fallback_encrypt_bio() 401 bio->bi_status = blk_st; in blk_crypto_fallback_decrypt_bio() 407 bio->bi_status = BLK_STS_RESOURCE; in blk_crypto_fallback_decrypt_bio() 427 bio->bi_status = BLK_STS_IOERR; in blk_crypto_fallback_decrypt_bio() 459 if (bio->bi_status) { in blk_crypto_fallback_decrypt_endio() 498 bio->bi_status = BLK_STS_IOERR; in blk_crypto_fallback_bio_prep() [all …]
|
A D | fops.c | 115 if (unlikely(bio.bi_status)) in __blkdev_direct_IO_simple() 116 ret = blk_status_to_errno(bio.bi_status); in __blkdev_direct_IO_simple() 150 if (bio->bi_status && !dio->bio.bi_status) in blkdev_bio_end_io() 151 dio->bio.bi_status = bio->bi_status; in blkdev_bio_end_io() 160 if (likely(!dio->bio.bi_status)) { in blkdev_bio_end_io() 164 ret = blk_status_to_errno(dio->bio.bi_status); in blkdev_bio_end_io() 235 bio->bi_status = BLK_STS_IOERR; in __blkdev_direct_IO() 278 ret = blk_status_to_errno(dio->bio.bi_status); in __blkdev_direct_IO() 292 if (likely(!bio->bi_status)) { in blkdev_bio_end_io_async() 296 ret = blk_status_to_errno(bio->bi_status); in blkdev_bio_end_io_async()
|
A D | bounce.c | 121 bio_orig->bi_status = bio->bi_status; in bounce_end_io() 135 if (!bio->bi_status) in bounce_end_io_read()
|
A D | bio-integrity.c | 301 bio->bi_status = status; in bio_integrity_prep() 328 bio->bi_status = bio_integrity_process(bio, &bip->bio_iter, in bio_integrity_verify_fn() 350 if (bio_op(bio) == REQ_OP_READ && !bio->bi_status && in __bio_integrity_endio()
|
A D | blk-crypto.c | 272 bio->bi_status = BLK_STS_IOERR; in __blk_crypto_bio_prep() 277 bio->bi_status = BLK_STS_IOERR; in __blk_crypto_bio_prep()
|
A D | bio.c | 261 bio->bi_status = 0; in bio_init() 315 if (bio->bi_status && !parent->bi_status) in __bio_chain_endio() 316 parent->bi_status = bio->bi_status; in __bio_chain_endio() 1265 return blk_status_to_errno(bio->bi_status); in submit_bio_wait()
|
A D | blk-crypto-internal.h | 200 (*bio_ptr)->bi_status = BLK_STS_NOTSUPP; in blk_crypto_fallback_bio_prep()
|
/linux/drivers/md/bcache/ |
A D | request.c | 174 if (bio->bi_status) { in bch_data_insert_endio() 177 op->status = bio->bi_status; 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() 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->bdev, bio->bi_status); in backing_request_endio() 1087 if (bio->bi_status) { in detached_dev_end_io() 1177 bio->bi_status = BLK_STS_IOERR; in cached_dev_submit_bio() [all …]
|
A D | movinggc.c | 68 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()
|
/linux/fs/ext4/ |
A D | page-io.c | 119 if (bio->bi_status) { in ext4_finish_bio() 137 if (bio->bi_status) in ext4_finish_bio() 332 bio->bi_status)) { in ext4_end_bio() 339 if (bio->bi_status) { in ext4_end_bio() 344 bio->bi_status, inode->i_ino, in ext4_end_bio() 348 blk_status_to_errno(bio->bi_status)); in ext4_end_bio()
|
A D | readpage.c | 80 if (bio->bi_status || PageError(page)) { in __read_end_io() 159 return bio->bi_private && !bio->bi_status; in bio_post_read_required()
|
/linux/drivers/target/ |
A D | target_core_iblock.c | 332 if (bio->bi_status) { in iblock_bio_done() 333 pr_err("bio error: %p, err: %d\n", bio, bio->bi_status); in iblock_bio_done() 390 if (bio->bi_status) in iblock_end_io_flush() 391 pr_err("IBLOCK: cache flush failed: %d\n", bio->bi_status); in iblock_end_io_flush() 394 if (bio->bi_status) in iblock_end_io_flush()
|
/linux/fs/gfs2/ |
A D | lops.c | 209 if (bio->bi_status) { in gfs2_end_log_write() 210 if (!cmpxchg(&sdp->sd_log_error, 0, (int)bio->bi_status)) in gfs2_end_log_write() 212 bio->bi_status, sdp->sd_jdesc->jd_jid); in gfs2_end_log_write() 222 gfs2_end_log_write_bh(sdp, bvec, bio->bi_status); in gfs2_end_log_write() 404 if (bio->bi_status) { in gfs2_end_log_read() 405 int err = blk_status_to_errno(bio->bi_status); in gfs2_end_log_read()
|
/linux/drivers/md/ |
A D | md-multipath.c | 73 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()
|
A D | dm-zoned-target.c | 80 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()
|
A D | raid1.c | 301 bio->bi_status = BLK_STS_IOERR; in call_bio_endio() 363 int uptodate = !bio->bi_status; in raid1_end_read_request() 461 if (bio->bi_status && !discard_error) { in raid1_end_write_request() 1895 if (!bio->bi_status) in end_sync_read() 1934 int uptodate = !bio->bi_status; in end_sync_write() 2108 bio->bi_status = 0; in fix_sync_read_error() 2136 status = b->bi_status; in process_checks() 2138 b->bi_status = status; in process_checks() 2171 sbio->bi_status = 0; in process_checks() 2427 if (!bio->bi_status && in handle_sync_write_finished() [all …]
|
A D | dm-zone.c | 616 if (clone->bi_status == BLK_STS_OK && in dm_zone_endio() 636 if (clone->bi_status != BLK_STS_OK) { in dm_zone_endio()
|
A D | raid10.c | 298 bio->bi_status = BLK_STS_IOERR; in raid_end_bio_io() 352 int uptodate = !bio->bi_status; in raid10_end_read_request() 453 if (bio->bi_status && !discard_error) { in raid10_end_write_request() 2201 if (!bio->bi_status) in __end_sync_read() 2285 if (bio->bi_status) { in end_sync_write() 2334 if (!r10_bio->devs[i].bio->bi_status) in sync_request_write() 2363 if (!r10_bio->devs[i].bio->bi_status) { in sync_request_write() 3658 bio->bi_status = BLK_STS_IOERR; in raid10_sync_request() 3699 bio->bi_status = BLK_STS_IOERR; in raid10_sync_request() 3812 bio->bi_status = 0; in raid10_sync_request() [all …]
|
A D | dm-io.c | 143 if (bio->bi_status && bio_data_dir(bio) == READ) in endio() 151 error = bio->bi_status; in endio()
|
A D | dm-verity-target.c | 535 if (bio->bi_status) { in verity_verify_io() 568 bio->bi_status = status; in verity_finish_io() 586 if (bio->bi_status && in verity_end_io() 588 verity_finish_io(io, bio->bi_status); in verity_end_io()
|
A D | dm-raid1.c | 487 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()
|
/linux/drivers/block/rnbd/ |
A D | rnbd-srv-dev.c | 52 rnbd_endio(io->priv, blk_status_to_errno(bio->bi_status)); in rnbd_dev_bi_end_io()
|
/linux/mm/ |
A D | page_io.c | 33 if (bio->bi_status) { in end_swap_bio_write() 106 if (bio->bi_status) { in end_swap_bio_read()
|
/linux/drivers/block/drbd/ |
A D | drbd_worker.c | 55 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()
|
/linux/fs/iomap/ |
A D | buffered-io.c | 192 int error = blk_status_to_errno(bio->bi_status); in iomap_read_end_io() 1091 if (ioend->io_bio->bi_status != next->io_bio->bi_status) in iomap_ioend_can_merge() 1146 iomap_finish_ioend(ioend, blk_status_to_errno(bio->bi_status)); in iomap_writepage_end_bio() 1173 ioend->io_bio->bi_status = errno_to_blk_status(error); in iomap_submit_ioend()
|