Lines Matching defs:error

14  * Characters to print to indicate error conditions or uncommon filesystem state.
15 * RO is not an error.
59 * Generally the error codes correspond to their respective errors, but there
67 * EROFS: If we check BTRFS_FS_STATE_ERROR and fail out with a return error, we
70 * over the error. Each subsequent error that doesn't have any context
71 * of the original error should use EROFS when handling BTRFS_FS_STATE_ERROR.
73 const char * __attribute_const__ btrfs_decode_error(int error)
77 switch (error) {
111 * Decodes expected errors from the caller and invokes the appropriate error
116 unsigned int line, int error, const char *fmt, ...)
126 "BTRFS: error (device %s%s) in %s:%d: errno=%d %s", KERN_CRIT, fmt);
130 * Special case: if the error is EROFS, and we're already under
133 if (error == -EROFS && sb_rdonly(sb))
137 errstr = btrfs_decode_error(error);
147 pr_crit("BTRFS: error (device %s%s) in %s:%d: errno=%d %s (%pV)\n",
148 sb->s_id, statestr, function, line, error, errstr, &vaf);
151 pr_crit("BTRFS: error (device %s%s) in %s:%d: errno=%d %s\n",
152 sb->s_id, statestr, function, line, error, errstr);
157 * Today we only save the error info to memory. Long term we'll also
160 WRITE_ONCE(fs_info->fs_error, error);
162 /* Don't go through full error handling during mount. */
171 /* Handle error by forcing the filesystem readonly. */
189 "error",
289 unsigned int line, int error, const char *fmt, ...)
302 errstr = btrfs_decode_error(error);
305 s_id, function, line, &vaf, error, errstr);
308 function, line, &vaf, error, errstr);