// SPDX-License-Identifier: GPL-2.0 #include "bcachefs.h" #include "errcode.h" #include "trace.h" #include <linux/errname.h> static const char * const bch2_errcode_strs[] = …; static unsigned bch2_errcode_parents[] = …; const char *bch2_err_str(int err) { … } bool __bch2_err_matches(int err, int class) { … } int __bch2_err_class(int bch_err) { … } const char *bch2_blk_status_to_str(blk_status_t status) { … }