Lines Matching refs:bch_fs
85 int bch2_accounting_validate(struct bch_fs *, struct bkey_s_c, enum bch_validate_flags);
87 void bch2_accounting_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
112 int bch2_accounting_mem_insert(struct bch_fs *, struct bkey_s_c_accounting, enum bch_accounting_mod…
113 void bch2_accounting_mem_gc(struct bch_fs *);
123 struct bch_fs *c = trans->c; in bch2_accounting_mem_mod_locked()
197 static inline void bch2_accounting_mem_read(struct bch_fs *c, struct bpos p, in bch2_accounting_mem_read()
207 int bch2_fs_replicas_usage_read(struct bch_fs *, darray_char *);
208 int bch2_fs_accounting_read(struct bch_fs *, darray_char *, unsigned);
209 void bch2_fs_accounting_to_text(struct printbuf *, struct bch_fs *);
211 int bch2_gc_accounting_start(struct bch_fs *);
212 int bch2_gc_accounting_done(struct bch_fs *);
214 int bch2_accounting_read(struct bch_fs *);
216 int bch2_dev_usage_remove(struct bch_fs *, unsigned);
219 void bch2_verify_accounting_clean(struct bch_fs *c);
221 void bch2_accounting_gc_free(struct bch_fs *);
222 void bch2_fs_accounting_exit(struct bch_fs *);