Lines Matching refs:error
880 * io->status is updated with error if requeue disallowed.
1041 static void dm_io_set_error(struct dm_io *io, blk_status_t error)
1049 io->status = error;
1054 static void dm_io_dec_pending(struct dm_io *io, blk_status_t error)
1056 if (unlikely(error))
1057 dm_io_set_error(io, error);
1094 blk_status_t error = bio->bi_status;
1101 if (unlikely(error == BLK_STS_TARGET)) {
1115 int r = endio(ti, bio, &error);
1126 error = BLK_STS_IOERR;
1128 error = BLK_STS_DM_REQUEUE;
1130 error = BLK_STS_DM_REQUEUE;
1148 dm_io_dec_pending(io, error);
1191 ti->error = "Maximum size of target IO is too large";
1759 blk_status_t error = BLK_STS_OK;
1782 error = __split_and_process_bio(&ci);
1783 if (error || !ci.sector_count)
1801 if (error || !ci.submit_as_polled) {
1806 if (error)
1808 dm_io_dec_pending(io, error);
1881 * error handling is needed here.
2694 * This gets reverted if there's an error later and the targets
2908 * would require changing .presuspend to return an error -- avoid this
2937 * tricky situation. We can't return an error to the caller. We