Lines Matching refs:bch_fs

14 static inline bool bch2_dev_bucket_exists(struct bch_fs *c, struct bpos pos)  in bch2_dev_bucket_exists()
244 int bch2_alloc_v1_validate(struct bch_fs *, struct bkey_s_c,
246 int bch2_alloc_v2_validate(struct bch_fs *, struct bkey_s_c,
248 int bch2_alloc_v3_validate(struct bch_fs *, struct bkey_s_c,
250 int bch2_alloc_v4_validate(struct bch_fs *, struct bkey_s_c,
253 void bch2_alloc_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
254 void bch2_alloc_v4_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
285 int bch2_bucket_gens_validate(struct bch_fs *, struct bkey_s_c,
287 void bch2_bucket_gens_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
294 int bch2_bucket_gens_init(struct bch_fs *);
303 int bch2_alloc_read(struct bch_fs *);
313 int bch2_check_alloc_info(struct bch_fs *);
314 int bch2_check_alloc_to_lru_refs(struct bch_fs *);
316 void bch2_do_discards(struct bch_fs *);
331 void bch2_do_invalidates(struct bch_fs *);
345 int bch2_dev_freespace_init(struct bch_fs *, struct bch_dev *, u64, u64);
346 int bch2_fs_freespace_init(struct bch_fs *);
347 int bch2_dev_remove_alloc(struct bch_fs *, struct bch_dev *);
349 void bch2_recalc_capacity(struct bch_fs *);
350 u64 bch2_min_rw_member_capacity(struct bch_fs *);
352 void bch2_dev_allocator_set_rw(struct bch_fs *, struct bch_dev *, bool);
353 void bch2_dev_allocator_remove(struct bch_fs *, struct bch_dev *);
354 void bch2_dev_allocator_add(struct bch_fs *, struct bch_dev *);
359 void bch2_fs_allocator_background_init(struct bch_fs *);