Lines Matching defs:errno
75 const char * __attribute_const__ btrfs_decode_error(int errno)
79 switch (errno) {
118 unsigned int line, int errno, const char *fmt, ...)
128 "BTRFS: error (device %s%s) in %s:%d: errno=%d %s", KERN_CRIT, fmt);
135 if (errno == -EROFS && sb_rdonly(sb))
139 errstr = btrfs_decode_error(errno);
149 pr_crit("BTRFS: error (device %s%s) in %s:%d: errno=%d %s (%pV)\n",
150 sb->s_id, statestr, function, line, errno, errstr, &vaf);
153 pr_crit("BTRFS: error (device %s%s) in %s:%d: errno=%d %s\n",
154 sb->s_id, statestr, function, line, errno, errstr);
162 WRITE_ONCE(fs_info->fs_error, errno);
291 unsigned int line, int errno, const char *fmt, ...)
304 errstr = btrfs_decode_error(errno);
306 panic(KERN_CRIT "BTRFS panic (device %s) in %s:%d: %pV (errno=%d %s)\n",
307 s_id, function, line, &vaf, errno, errstr);
309 btrfs_crit(fs_info, "panic in %s:%d: %pV (errno=%d %s)",
310 function, line, &vaf, errno, errstr);