Lines Matching defs:_c
230 #define count_event(_c, _name) this_cpu_inc((_c)->counters[BCH_COUNTER_##_name]) argument
232 #define trace_and_count(_c, _name, ...) \ argument
251 #define bch2_log_msg(_c, fmt) "bcachefs (%s): " fmt, ((_c)->name) argument
254 #define bch2_fmt_inum(_c, _inum, fmt) "bcachefs (%s inum %llu): " fmt "\n", ((_c)->name), (_inum) argument
255 #define bch2_fmt_inum_offset(_c, _inum, _offset, fmt) \ argument
260 #define bch2_log_msg(_c, fmt) fmt argument
263 #define bch2_fmt_inum(_c, _inum, fmt) "inum %llu: " fmt "\n", (_inum) argument
264 #define bch2_fmt_inum_offset(_c, _inum, _offset, fmt) \ argument
269 #define bch2_fmt(_c, fmt) bch2_log_msg(_c, fmt "\n") argument
279 #define maybe_dev_to_fs(_c) _Generic((_c), \ argument
283 #define bch2_print(_c, ...) __bch2_print(maybe_dev_to_fs(_c), __VA_ARGS__) argument
285 #define bch2_print_ratelimited(_c, ...) \ argument
333 #define bch_err_fn(_c, _ret) \ argument
339 #define bch_err_fn_ratelimited(_c, _ret) \ argument
345 #define bch_err_msg(_c, _ret, _msg, ...) \ argument