sb-counters.h 433 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _BCACHEFS_SB_COUNTERS_H
  3. #define _BCACHEFS_SB_COUNTERS_H
  4. #include "bcachefs.h"
  5. #include "super-io.h"
  6. int bch2_sb_counters_to_cpu(struct bch_fs *);
  7. int bch2_sb_counters_from_cpu(struct bch_fs *);
  8. void bch2_fs_counters_exit(struct bch_fs *);
  9. int bch2_fs_counters_init(struct bch_fs *);
  10. extern const struct bch_sb_field_ops bch_sb_field_ops_counters;
  11. #endif // _BCACHEFS_SB_COUNTERS_H