Lines Matching refs:error

46  * values between themselves, typically error values.
935 DMERR_LIMIT("%s: metadata operation '%s' failed: error = %d",
1909 * This function gets called on the error paths of the constructor, so we
2035 static bool at_least_one_arg(struct dm_arg_set *as, char **error)
2038 *error = "Insufficient args";
2046 char **error)
2051 if (!at_least_one_arg(as, error))
2057 *error = "Error opening metadata device";
2070 char **error)
2074 if (!at_least_one_arg(as, error))
2080 *error = "Error opening cache device";
2089 char **error)
2093 if (!at_least_one_arg(as, error))
2099 *error = "Error opening origin device";
2105 *error = "Device size larger than cached device";
2113 char **error)
2117 if (!at_least_one_arg(as, error))
2124 *error = "Invalid data block size";
2129 *error = "Data block size is larger than the cache device";
2147 char **error)
2160 r = dm_read_arg_group(_args, as, &argc, error);
2189 *error = "Unrecognised cache feature requested";
2195 *error = "Duplicate cache io_mode features requested";
2203 char **error)
2211 if (!at_least_one_arg(as, error))
2216 r = dm_read_arg_group(_args, as, &ca->policy_argc, error);
2227 char **error)
2235 r = parse_metadata_dev(ca, &as, error);
2239 r = parse_cache_dev(ca, &as, error);
2243 r = parse_origin_dev(ca, &as, error);
2247 r = parse_block_size(ca, &as, error);
2251 r = parse_features(ca, &as, error);
2255 r = parse_policy(ca, &as, error);
2318 char **error)
2325 *error = "Error creating cache's policy";
2378 char **error = &ca->ti->error;
2435 r = create_cache_policy(cache, ca, error);
2444 *error = "Error setting cache policy's config values";
2453 *error = "Error creating metadata object";
2460 *error = "Unable to get write access to metadata, please check/repair metadata.";
2470 *error = "dm_cache_metadata_all_clean() failed";
2475 *error = "Cannot enter passthrough mode unless all blocks are clean";
2493 *error = "could not allocate dirty bitset";
2505 *error = "could not allocate discard bitset";
2512 *error = "could not create kcopyd client";
2519 *error = "could not create workqueue for metadata object";
2528 *error = "could not create bio prison";
2535 *error = "Error creating cache's migration mempool";
2604 ti->error = "Error allocating memory for cache";
2609 r = parse_cache_args(ca, argc, argv, &ti->error);
2663 static int cache_end_io(struct dm_target *ti, struct bio *bio, blk_status_t *error)
3035 DMERR("%s: internal error: unknown io mode: %d",