Lines Matching defs:ca
31 void bch2_dev_usage_read_fast(struct bch_dev *ca, struct bch_dev_usage *usage) in bch2_dev_usage_read_fast()
37 void bch2_dev_usage_full_read_fast(struct bch_dev *ca, struct bch_dev_usage_full *usage) in bch2_dev_usage_full_read_fast()
84 struct bch_dev *ca, in bch2_dev_usage_to_text()
119 struct bch_dev *ca = bch2_dev_tryget(c, p.ptr.dev); in bch2_check_fix_ptr() local
303 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in bch2_check_fix_ptrs() local
317 struct bch_dev *ca = bch2_dev_rcu(c, p.ptr.dev); in bch2_check_fix_ptrs() local
421 int bch2_bucket_ref_update(struct btree_trans *trans, struct bch_dev *ca, in bch2_bucket_ref_update()
562 static int __mark_pointer(struct btree_trans *trans, struct bch_dev *ca, in __mark_pointer()
599 struct bch_dev *ca = bch2_dev_tryget(c, p.ptr.dev); in bch2_trigger_pointer() local
955 struct bch_dev *ca, u64 b, in __bch2_trans_mark_metadata_bucket()
993 static int bch2_mark_metadata_bucket(struct btree_trans *trans, struct bch_dev *ca, in bch2_mark_metadata_bucket()
1035 struct bch_dev *ca, u64 b, in bch2_trans_mark_metadata_bucket()
1059 struct bch_dev *ca, u64 start, u64 end, in bch2_trans_mark_metadata_sectors()
1085 static int __bch2_trans_mark_dev_sb(struct btree_trans *trans, struct bch_dev *ca, in __bch2_trans_mark_dev_sb()
1134 int bch2_trans_mark_dev_sb(struct bch_fs *c, struct bch_dev *ca, in bch2_trans_mark_dev_sb()
1162 bool bch2_is_superblock_bucket(struct bch_dev *ca, u64 b) in bch2_is_superblock_bucket()
1290 int bch2_dev_buckets_resize(struct bch_fs *c, struct bch_dev *ca, u64 nbuckets) in bch2_dev_buckets_resize()
1337 void bch2_dev_buckets_free(struct bch_dev *ca) in bch2_dev_buckets_free()
1344 int bch2_dev_buckets_alloc(struct bch_fs *c, struct bch_dev *ca) in bch2_dev_buckets_alloc()