Lines Matching refs:error

132 	int error;
237 int error;
450 if (!cmpxchg(&(wc)->error, 0, err)) \
455 #define writecache_has_error(wc) (unlikely(READ_ONCE((wc)->error)))
478 static void writecache_notify_io(unsigned long error, void *context)
482 if (unlikely(error != 0))
483 writecache_error(endio->wc, -EIO, "error writing metadata");
533 /* writing via async dm-io (implied by notify.fn above) won't return an error */
573 writecache_error(wc, r, "error writing superblock");
601 writecache_error(wc, r, "error flushing metadata: %d", r);
1035 writecache_error(wc, r, "hardware memory error when reading superblock: %d", r);
1053 writecache_error(wc, r, "hardware memory error when reading metadata entry %lu: %d",
1268 writecache_error(wc, r, "hardware memory error when reading data: %d", r);
1673 c->error = likely(!(read_err | write_err)) ? 0 : -EIO;
1695 "write error %d", wb->bio.bi_status);
1730 if (unlikely(c->error))
1731 writecache_error(wc, c->error, "copy error");
2252 ti->error = "Cannot allocate writecache structure";
2274 ti->error = "Unable to allocate dm-io client";
2282 ti->error = "Could not allocate writeback workqueue";
2296 ti->error = "Couldn't spawn endio thread";
2320 ti->error = "Persistent memory or DAX not supported on this system";
2332 ti->error = "Could not allocate bio set";
2339 ti->error = "Could not allocate mempool";
2352 ti->error = "Origin data device lookup failed";
2365 ti->error = "Cache data device lookup failed";
2380 ti->error = "Invalid block size";
2386 ti->error = "Block size is smaller than device logical block size";
2398 r = dm_read_arg_group(_args, &as, &opt_params, &ti->error);
2496 ti->error = "Invalid optional argument";
2503 ti->error = "High watermark must be greater than or equal to low watermark";
2510 ti->error = "Asynchronous persistent memory not supported as pmem cache";
2516 ti->error = "Unable to map persistent memory for cache";
2530 ti->error = "Couldn't spawn flush thread";
2537 ti->error = "Invalid device size";
2546 ti->error = "Invalid device size";
2553 ti->error = "Unable to allocate memory for metadata";
2560 ti->error = "Unable to allocate dm-kcopyd client";
2571 ti->error = "Unable to allocate dirty bitmap";
2577 ti->error = "Unable to read first block of metadata";
2584 ti->error = "Hardware memory error when reading superblock";
2590 ti->error = "Unable to initialize device";
2596 ti->error = "Hardware memory error when reading superblock";
2602 ti->error = "Invalid magic in the superblock";
2608 ti->error = "Invalid version in the superblock";
2614 ti->error = "Block size does not match superblock";
2624 ti->error = "Overflow in size calculation";
2637 ti->error = "Memory area is too small";
2659 ti->error = "Cannot allocate memory";
2674 ti->error = "Bad arguments";