Lines Matching defs:c
138 int bch2_accounting_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_accounting_validate()
236 void bch2_accounting_to_text(struct printbuf *out, struct bch_fs *c, struct bkey_s_c k) in bch2_accounting_to_text()
278 static int bch2_accounting_update_sb_one(struct bch_fs *c, struct bpos p) in bch2_accounting_update_sb_one()
304 static int __bch2_accounting_mem_insert(struct bch_fs *c, struct bkey_s_c_accounting a) in __bch2_accounting_mem_insert()
351 int bch2_accounting_mem_insert(struct bch_fs *c, struct bkey_s_c_accounting a, in bch2_accounting_mem_insert()
379 void bch2_accounting_mem_gc(struct bch_fs *c) in bch2_accounting_mem_gc()
409 int bch2_fs_replicas_usage_read(struct bch_fs *c, darray_char *usage) in bch2_fs_replicas_usage_read()
444 int bch2_fs_accounting_read(struct bch_fs *c, darray_char *out_buf, unsigned accounting_types_mask) in bch2_fs_accounting_read()
491 int bch2_gc_accounting_start(struct bch_fs *c) in bch2_gc_accounting_start()
513 int bch2_gc_accounting_done(struct bch_fs *c) in bch2_gc_accounting_done()
598 struct bch_fs *c = trans->c; in accounting_read_key() local
614 struct bch_fs *c = trans->c; in bch2_disk_accounting_validate_late() local
689 int bch2_accounting_read(struct bch_fs *c) in bch2_accounting_read()
865 int bch2_dev_usage_remove(struct bch_fs *c, unsigned dev) in bch2_dev_usage_remove()
884 struct bch_fs *c = ca->fs; in bch2_dev_usage_init() local
900 void bch2_verify_accounting_clean(struct bch_fs *c) in bch2_verify_accounting_clean()
996 void bch2_accounting_gc_free(struct bch_fs *c) in bch2_accounting_gc_free()
1006 void bch2_fs_accounting_exit(struct bch_fs *c) in bch2_fs_accounting_exit()