Lines Matching defs:_c
257 #define count_event(_c, _name) this_cpu_inc((_c)->counters[BCH_COUNTER_##_name]) argument
259 #define trace_and_count(_c, _name, ...) \ argument
278 #define bch2_log_msg(_c, fmt) "bcachefs (%s): " fmt, ((_c)->name) argument
281 #define bch2_fmt_inum(_c, _inum, fmt) "bcachefs (%s inum %llu): " fmt "\n", ((_c)->name), (_inum) argument
282 #define bch2_fmt_inum_offset(_c, _inum, _offset, fmt) \ argument
287 #define bch2_log_msg(_c, fmt) fmt argument
290 #define bch2_fmt_inum(_c, _inum, fmt) "inum %llu: " fmt "\n", (_inum) argument
291 #define bch2_fmt_inum_offset(_c, _inum, _offset, fmt) \ argument
296 #define bch2_fmt(_c, fmt) bch2_log_msg(_c, fmt "\n") argument
306 #define maybe_dev_to_fs(_c) _Generic((_c), \ argument
310 #define bch2_print(_c, ...) __bch2_print(maybe_dev_to_fs(_c), __VA_ARGS__) argument
312 #define bch2_print_ratelimited(_c, ...) \ argument
322 #define bch2_print_str_ratelimited(_c, ...) \ argument
370 #define bch_err_fn(_c, _ret) \ argument
376 #define bch_err_fn_ratelimited(_c, _ret) \ argument
382 #define bch_err_msg(_c, _ret, _msg, ...) \ argument
413 #define bch_err_throw(_c, _err) __bch2_err_trace(_c, -BCH_ERR_##_err) argument