Lines Matching defs:errno
85 const char * __attribute_const__ btrfs_decode_error(int errno)
89 switch (errno) {
128 unsigned int line, int errno, const char *fmt, ...)
139 if (errno == -EROFS && sb_rdonly(sb))
143 errstr = btrfs_decode_error(errno);
152 pr_crit("BTRFS: error (device %s) in %s:%d: errno=%d %s (%pV)\n",
153 sb->s_id, function, line, errno, errstr, &vaf);
156 pr_crit("BTRFS: error (device %s) in %s:%d: errno=%d %s\n",
157 sb->s_id, function, line, errno, errstr);
267 unsigned int line, int errno)
271 WRITE_ONCE(trans->aborted, errno);
277 errstr = btrfs_decode_error(errno);
283 WRITE_ONCE(trans->transaction->aborted, errno);
287 __btrfs_handle_fs_error(fs_info, function, line, errno, NULL);
295 unsigned int line, int errno, const char *fmt, ...)
308 errstr = btrfs_decode_error(errno);
310 panic(KERN_CRIT "BTRFS panic (device %s) in %s:%d: %pV (errno=%d %s)\n",
311 s_id, function, line, &vaf, errno, errstr);
313 btrfs_crit(fs_info, "panic in %s:%d: %pV (errno=%d %s)",
314 function, line, &vaf, errno, errstr);