Lines Matching refs:bch_dev

103 	struct bch_dev *ca = ob_dev(c, ob);  in __bch2_open_bucket_put()
179 long bch2_bucket_alloc_new_fs(struct bch_dev *ca) in bch2_bucket_alloc_new_fs()
209 static struct open_bucket *__try_alloc_bucket(struct bch_fs *c, struct bch_dev *ca, in __try_alloc_bucket()
278 static struct open_bucket *try_alloc_bucket(struct btree_trans *trans, struct bch_dev *ca, in try_alloc_bucket()
387 struct bch_dev *ca, in bch2_bucket_alloc_early()
480 struct bch_dev *ca, in bch2_bucket_alloc_freelist()
552 static noinline void trace_bucket_alloc2(struct bch_fs *c, struct bch_dev *ca, in trace_bucket_alloc2()
603 struct bch_dev *ca, in bch2_bucket_alloc_trans()
683 struct open_bucket *bch2_bucket_alloc(struct bch_fs *c, struct bch_dev *ca, in bch2_bucket_alloc()
720 static inline void bch2_dev_stripe_increment_inlined(struct bch_dev *ca, in bch2_dev_stripe_increment_inlined()
741 void bch2_dev_stripe_increment(struct bch_dev *ca, in bch2_dev_stripe_increment()
799 struct bch_dev *ca = bch2_dev_tryget_noerror(c, dev); in bch2_bucket_alloc_set_trans()
905 struct bch_dev *ca = ob_dev(c, ob); in want_bucket()
974 struct bch_dev *ca = ob_dev(c, ob); in bucket_alloc_set_partial()
1122 struct bch_dev *ca, bool ec) in should_drop_bucket()
1153 static void bch2_writepoint_stop(struct bch_fs *c, struct bch_dev *ca, in bch2_writepoint_stop()
1170 void bch2_open_buckets_stop(struct bch_fs *c, struct bch_dev *ca, in bch2_open_buckets_stop()
1522 struct bch_dev *ca = ob_dev(c, ob); in bch2_ob_ptr()
1598 struct bch_dev *ca = ob_dev(c, ob); in bch2_open_bucket_to_text()
1617 struct bch_dev *ca) in bch2_open_buckets_to_text()
1734 void bch2_dev_alloc_debug_to_text(struct printbuf *out, struct bch_dev *ca) in bch2_dev_alloc_debug_to_text()