Lines Matching refs:bch_fs
11 int bch2_quota_validate(struct bch_fs *, struct bkey_s_c, enum bch_validate_flags);
12 void bch2_quota_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
29 static inline unsigned enabled_qtypes(struct bch_fs *c) in enabled_qtypes()
38 int bch2_quota_acct(struct bch_fs *, struct bch_qid, enum quota_counters,
41 int bch2_quota_transfer(struct bch_fs *, unsigned, struct bch_qid,
44 void bch2_fs_quota_exit(struct bch_fs *);
45 void bch2_fs_quota_init(struct bch_fs *);
46 int bch2_fs_quota_read(struct bch_fs *);
52 static inline int bch2_quota_acct(struct bch_fs *c, struct bch_qid qid, in bch2_quota_acct()
59 static inline int bch2_quota_transfer(struct bch_fs *c, unsigned qtypes, in bch2_quota_transfer()
67 static inline void bch2_fs_quota_exit(struct bch_fs *c) {} in bch2_fs_quota_exit()
68 static inline void bch2_fs_quota_init(struct bch_fs *c) {} in bch2_fs_quota_init()
69 static inline int bch2_fs_quota_read(struct bch_fs *c) { return 0; } in bch2_fs_quota_read()