Lines Matching refs:error

131 	int error;
218 int error;
428 if (!cmpxchg(&(wc)->error, 0, err)) \
433 #define writecache_has_error(wc) (unlikely(READ_ONCE((wc)->error)))
456 static void writecache_notify_io(unsigned long error, void *context)
460 if (unlikely(error != 0))
461 writecache_error(endio->wc, -EIO, "error writing metadata");
511 /* writing via async dm-io (implied by notify.fn above) won't return an error */
552 writecache_error(wc, r, "error writing superblock");
581 writecache_error(wc, r, "error flushing metadata: %d", r);
1009 writecache_error(wc, r, "hardware memory error when reading superblock: %d", r);
1026 writecache_error(wc, r, "hardware memory error when reading metadata entry %lu: %d",
1225 writecache_error(wc, r, "hardware memory error when reading data: %d", r);
1547 c->error = likely(!(read_err | write_err)) ? 0 : -EIO;
1569 "write error %d", wb->bio.bi_status);
1604 if (unlikely(c->error))
1605 writecache_error(wc, c->error, "copy error");
2104 ti->error = "Cannot allocate writecache structure";
2126 ti->error = "Unable to allocate dm-io client";
2134 ti->error = "Could not allocate writeback workqueue";
2146 ti->error = "Couldn't spawn endio thread";
2171 ti->error = "Persistent memory or DAX not supported on this system";
2183 ti->error = "Could not allocate bio set";
2189 ti->error = "Could not allocate mempool";
2202 ti->error = "Origin data device lookup failed";
2215 ti->error = "Cache data device lookup failed";
2230 ti->error = "Invalid block size";
2236 ti->error = "Block size is smaller than device logical block size";
2248 r = dm_read_arg_group(_args, &as, &opt_params, &ti->error);
2326 ti->error = "Invalid optional argument";
2333 ti->error = "High watermark must be greater than or equal to low watermark";
2340 ti->error = "Asynchronous persistent memory not supported as pmem cache";
2346 ti->error = "Unable to map persistent memory for cache";
2360 ti->error = "Couldn't spawn flush thread";
2368 ti->error = "Invalid device size";
2377 ti->error = "Invalid device size";
2384 ti->error = "Unable to allocate memory for metadata";
2391 ti->error = "Unable to allocate dm-kcopyd client";
2402 ti->error = "Unable to allocate dirty bitmap";
2408 ti->error = "Unable to read first block of metadata";
2415 ti->error = "Hardware memory error when reading superblock";
2421 ti->error = "Unable to initialize device";
2427 ti->error = "Hardware memory error when reading superblock";
2433 ti->error = "Invalid magic in the superblock";
2439 ti->error = "Invalid version in the superblock";
2445 ti->error = "Block size does not match superblock";
2455 ti->error = "Overflow in size calculation";
2468 ti->error = "Memory area is too small";
2490 ti->error = "Cannot allocate memory";
2505 ti->error = "Bad arguments";