Lines Matching defs:_c
231 #define count_event(_c, _name) this_cpu_inc((_c)->counters[BCH_COUNTER_##_name]) argument
233 #define trace_and_count(_c, _name, ...) \ argument
252 #define bch2_log_msg(_c, fmt) "bcachefs (%s): " fmt, ((_c)->name) argument
255 #define bch2_fmt_inum(_c, _inum, fmt) "bcachefs (%s inum %llu): " fmt "\n", ((_c)->name), (_inum) argument
256 #define bch2_fmt_inum_offset(_c, _inum, _offset, fmt) \ argument
261 #define bch2_log_msg(_c, fmt) fmt argument
264 #define bch2_fmt_inum(_c, _inum, fmt) "inum %llu: " fmt "\n", (_inum) argument
265 #define bch2_fmt_inum_offset(_c, _inum, _offset, fmt) \ argument
270 #define bch2_fmt(_c, fmt) bch2_log_msg(_c, fmt "\n") argument
280 #define maybe_dev_to_fs(_c) _Generic((_c), \ argument
284 #define bch2_print(_c, ...) __bch2_print(maybe_dev_to_fs(_c), __VA_ARGS__) argument
286 #define bch2_print_ratelimited(_c, ...) \ argument
334 #define bch_err_fn(_c, _ret) \ argument
340 #define bch_err_fn_ratelimited(_c, _ret) \ argument
346 #define bch_err_msg(_c, _ret, _msg, ...) \ argument