Lines Matching defs:_c
227 #define count_event(_c, _name) this_cpu_inc((_c)->counters[BCH_COUNTER_##_name]) argument
229 #define trace_and_count(_c, _name, ...) \ argument
248 #define bch2_log_msg(_c, fmt) "bcachefs (%s): " fmt, ((_c)->name) argument
251 #define bch2_fmt_inum(_c, _inum, fmt) "bcachefs (%s inum %llu): " fmt "\n", ((_c)->name), (_inum) argument
252 #define bch2_fmt_inum_offset(_c, _inum, _offset, fmt) \ argument
257 #define bch2_log_msg(_c, fmt) fmt argument
260 #define bch2_fmt_inum(_c, _inum, fmt) "inum %llu: " fmt "\n", (_inum) argument
261 #define bch2_fmt_inum_offset(_c, _inum, _offset, fmt) \ argument
266 #define bch2_fmt(_c, fmt) bch2_log_msg(_c, fmt "\n") argument
271 #define maybe_dev_to_fs(_c) _Generic((_c), \ argument
275 #define bch2_print(_c, ...) __bch2_print(maybe_dev_to_fs(_c), __VA_ARGS__) argument
277 #define bch2_print_ratelimited(_c, ...) \ argument
323 #define bch_err_fn(_c, _ret) \ argument
329 #define bch_err_fn_ratelimited(_c, _ret) \ argument
335 #define bch_err_msg(_c, _ret, _msg, ...) \ argument