Lines Matching refs:bch_fs
12 struct bch_fs;
18 static inline void set_btree_node_dirty_acct(struct bch_fs *c, struct btree *b) in set_btree_node_dirty_acct()
24 static inline void clear_btree_node_dirty_acct(struct bch_fs *c, struct btree *b) in clear_btree_node_dirty_acct()
38 struct bch_fs *c;
70 bool bch2_compact_whiteouts(struct bch_fs *, struct btree *,
82 static inline bool bch2_maybe_compact_whiteouts(struct bch_fs *c, struct btree *b) in bch2_maybe_compact_whiteouts()
101 static inline int bset_encrypt(struct bch_fs *c, struct bset *i, unsigned offset) in bset_encrypt()
122 void bch2_btree_sort_into(struct bch_fs *, struct btree *, struct btree *);
129 int bch2_btree_node_read_done(struct bch_fs *, struct bch_dev *,
132 int bch2_btree_root_read(struct bch_fs *, enum btree_id,
135 bool bch2_btree_post_write_cleanup(struct bch_fs *, struct btree *);
144 void __bch2_btree_node_write(struct bch_fs *, struct btree *, unsigned);
145 void bch2_btree_node_write(struct bch_fs *, struct btree *,
148 static inline void btree_node_write_if_need(struct bch_fs *c, struct btree *b, in btree_node_write_if_need()
154 bool bch2_btree_flush_all_reads(struct bch_fs *);
155 bool bch2_btree_flush_all_writes(struct bch_fs *);
221 void bch2_btree_write_stats_to_text(struct printbuf *, struct bch_fs *);