Lines Matching defs:ca
22 static inline bool bch2_dev_is_online(struct bch_dev *ca) in bch2_dev_is_online()
32 struct bch_dev *ca = bch2_dev_rcu(c, dev); in bch2_dev_idx_is_online() local
36 static inline bool bch2_dev_is_healthy(struct bch_dev *ca) in bch2_dev_is_healthy()
83 struct bch_dev *ca = NULL; in __bch2_next_dev_idx() local
95 static inline struct bch_dev *__bch2_next_dev(struct bch_fs *c, struct bch_dev *ca, in __bch2_next_dev()
111 static inline void bch2_dev_get(struct bch_dev *ca) in bch2_dev_get()
120 static inline void __bch2_dev_put(struct bch_dev *ca) in __bch2_dev_put()
134 static inline void bch2_dev_put(struct bch_dev *ca) in bch2_dev_put()
140 static inline struct bch_dev *bch2_get_next_dev(struct bch_fs *c, struct bch_dev *ca) in bch2_get_next_dev()
160 struct bch_dev *ca, in bch2_get_next_online_dev()
180 #define for_each_online_member(c, ca, ref_idx) \ argument
183 #define for_each_rw_member(c, ca, ref_idx) \ argument
186 #define for_each_readable_member(c, ca, ref_idx) \ argument
194 static inline bool bucket_valid(const struct bch_dev *ca, u64 b) in bucket_valid()
228 struct bch_dev *ca = bch2_dev_rcu_noerror(c, dev); in bch2_dev_rcu() local
237 struct bch_dev *ca = bch2_dev_rcu_noerror(c, dev); in bch2_dev_tryget_noerror() local
245 struct bch_dev *ca = bch2_dev_tryget_noerror(c, dev); in bch2_dev_tryget() local
253 struct bch_dev *ca = bch2_dev_tryget_noerror(c, bucket.inode); in bch2_dev_bucket_tryget_noerror() local
265 struct bch_dev *ca = bch2_dev_tryget(c, bucket.inode); in bch2_dev_bucket_tryget() local
274 static inline struct bch_dev *bch2_dev_iterate_noerror(struct bch_fs *c, struct bch_dev *ca, unsign… in bch2_dev_iterate_noerror()
282 static inline struct bch_dev *bch2_dev_iterate(struct bch_fs *c, struct bch_dev *ca, unsigned dev_i… in bch2_dev_iterate()
296 struct bch_dev *ca = bch2_dev_rcu(c, dev); in bch2_dev_get_ioref() local
356 static inline bool bch2_dev_btree_bitmap_marked_sectors(struct bch_dev *ca, u64 start, unsigned sec… in bch2_dev_btree_bitmap_marked_sectors()