Lines Matching refs:bch_dev
29 void bch2_dev_usage_read_fast(struct bch_dev *ca, struct bch_dev_usage *usage) in bch2_dev_usage_read_fast()
75 struct bch_dev *ca, in bch2_dev_usage_to_text()
110 struct bch_dev *ca = bch2_dev_tryget(c, p.ptr.dev); in bch2_check_fix_ptr()
296 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in bch2_check_fix_ptrs()
310 struct bch_dev *ca = bch2_dev_rcu(c, p.ptr.dev); in bch2_check_fix_ptrs()
388 int bch2_bucket_ref_update(struct btree_trans *trans, struct bch_dev *ca, in bch2_bucket_ref_update()
542 static int __mark_pointer(struct btree_trans *trans, struct bch_dev *ca, in __mark_pointer()
576 struct bch_dev *ca = bch2_dev_tryget(c, p.ptr.dev); in bch2_trigger_pointer()
950 struct bch_dev *ca, u64 b, in __bch2_trans_mark_metadata_bucket()
986 static int bch2_mark_metadata_bucket(struct btree_trans *trans, struct bch_dev *ca, in bch2_mark_metadata_bucket()
1031 struct bch_dev *ca, u64 b, in bch2_trans_mark_metadata_bucket()
1055 struct bch_dev *ca, u64 start, u64 end, in bch2_trans_mark_metadata_sectors()
1081 static int __bch2_trans_mark_dev_sb(struct btree_trans *trans, struct bch_dev *ca, in __bch2_trans_mark_dev_sb()
1130 int bch2_trans_mark_dev_sb(struct bch_fs *c, struct bch_dev *ca, in bch2_trans_mark_dev_sb()
1261 int bch2_dev_buckets_resize(struct bch_fs *c, struct bch_dev *ca, u64 nbuckets) in bch2_dev_buckets_resize()
1313 void bch2_dev_buckets_free(struct bch_dev *ca) in bch2_dev_buckets_free()
1320 int bch2_dev_buckets_alloc(struct bch_fs *c, struct bch_dev *ca) in bch2_dev_buckets_alloc()