Lines Matching defs:ca
302 #define bch_err_dev(ca, fmt, ...) \
303 bch2_print(c, KERN_ERR bch2_fmt_dev(ca, fmt), ##__VA_ARGS__)
304 #define bch_err_dev_offset(ca, _offset, fmt, ...) \
305 bch2_print(c, KERN_ERR bch2_fmt_dev_offset(ca, _offset, fmt), ##__VA_ARGS__)
313 #define bch_err_dev_ratelimited(ca, fmt, ...) \
314 bch2_print_ratelimited(ca, KERN_ERR bch2_fmt_dev(ca, fmt), ##__VA_ARGS__)
315 #define bch_err_dev_offset_ratelimited(ca, _offset, fmt, ...) \
316 bch2_print_ratelimited(ca, KERN_ERR bch2_fmt_dev_offset(ca, _offset, fmt), ##__VA_ARGS__)
1207 static inline unsigned bucket_bytes(const struct bch_dev *ca)
1209 return ca->mi.bucket_size << 9;