Lines Matching refs:error
115 * values between themselves, typically error values.
1002 DMERR_LIMIT("%s: metadata operation '%s' failed: error = %d",
1960 * This function gets called on the error paths of the constructor, so we
2086 static bool at_least_one_arg(struct dm_arg_set *as, char **error)
2089 *error = "Insufficient args";
2097 char **error)
2103 if (!at_least_one_arg(as, error))
2109 *error = "Error opening metadata device";
2122 char **error)
2126 if (!at_least_one_arg(as, error))
2132 *error = "Error opening cache device";
2141 char **error)
2145 if (!at_least_one_arg(as, error))
2151 *error = "Error opening origin device";
2157 *error = "Device size larger than cached device";
2165 char **error)
2169 if (!at_least_one_arg(as, error))
2176 *error = "Invalid data block size";
2181 *error = "Data block size is larger than the cache device";
2199 char **error)
2212 r = dm_read_arg_group(_args, as, &argc, error);
2241 *error = "Unrecognised cache feature requested";
2247 *error = "Duplicate cache io_mode features requested";
2255 char **error)
2263 if (!at_least_one_arg(as, error))
2268 r = dm_read_arg_group(_args, as, &ca->policy_argc, error);
2279 char **error)
2287 r = parse_metadata_dev(ca, &as, error);
2291 r = parse_cache_dev(ca, &as, error);
2295 r = parse_origin_dev(ca, &as, error);
2299 r = parse_block_size(ca, &as, error);
2303 r = parse_features(ca, &as, error);
2307 r = parse_policy(ca, &as, error);
2370 char **error)
2377 *error = "Error creating cache's policy";
2430 char **error = &ca->ti->error;
2486 r = create_cache_policy(cache, ca, error);
2495 *error = "Error setting cache policy's config values";
2504 *error = "Error creating metadata object";
2511 *error = "Unable to get write access to metadata, please check/repair metadata.";
2521 *error = "dm_cache_metadata_all_clean() failed";
2526 *error = "Cannot enter passthrough mode unless all blocks are clean";
2544 *error = "could not allocate dirty bitset";
2556 *error = "could not allocate discard bitset";
2563 *error = "could not create kcopyd client";
2570 *error = "could not create workqueue for metadata object";
2579 *error = "could not create bio prison";
2586 *error = "Error creating cache's migration mempool";
2655 ti->error = "Error allocating memory for cache";
2660 r = parse_cache_args(ca, argc, argv, &ti->error);
2714 static int cache_end_io(struct dm_target *ti, struct bio *bio, blk_status_t *error)
3091 DMERR("%s: internal error: unknown io mode: %d",