Lines Matching defs:error
173 iomap_read_page_end_io(struct bio_vec *bvec, int error)
178 if (unlikely(error)) {
192 int error = blk_status_to_errno(bio->bi_status);
197 iomap_read_page_end_io(bvec, error);
1043 int error, unsigned int len)
1047 if (error) {
1049 mapping_set_error(inode->i_mapping, error);
1065 iomap_finish_ioend(struct iomap_ioend *ioend, int error)
1089 iomap_finish_page_writeback(inode, bv->bv_page, error,
1095 if (unlikely(error && !quiet)) {
1097 "%s: writeback error on inode %lu, offset %lld, sector %llu",
1103 iomap_finish_ioends(struct iomap_ioend *ioend, int error)
1108 iomap_finish_ioend(ioend, error);
1113 iomap_finish_ioend(ioend, error);
1189 * If @error is non-zero, it means that we have a situation where some part of
1196 int error)
1202 error = wpc->ops->prepare_ioend(ioend, error);
1203 if (error) {
1206 * error and finish it. This will run IO completion immediately
1210 ioend->io_bio->bi_status = errno_to_blk_status(error);
1212 return error;
1331 * locally for submission once the entire page is processed or an error has been
1347 int error = 0, count = 0, i;
1364 error = wpc->ops->map_blocks(wpc, inode, file_offset);
1365 if (error)
1382 * We cannot cancel the ioend directly here on error. We may have
1384 * completion to mark the error state of the pages under writeback
1387 if (unlikely(error)) {
1407 * Preserve the original error if there was one, otherwise catch
1415 error2 = iomap_submit_ioend(wpc, ioend, error);
1416 if (error2 && !error)
1417 error = error2;
1421 * We can end up here with no error and nothing to write only if we race
1427 mapping_set_error(page->mapping, error);
1428 return error;