Lines Matching defs:ca
21 static inline bool bch2_dev_is_online(struct bch_dev *ca) in bch2_dev_is_online()
26 static inline bool bch2_dev_is_readable(struct bch_dev *ca) in bch2_dev_is_readable()
73 struct bch_dev *ca = NULL; in __bch2_next_dev_idx() local
85 static inline struct bch_dev *__bch2_next_dev(struct bch_fs *c, struct bch_dev *ca, in __bch2_next_dev()
95 static inline void bch2_dev_get(struct bch_dev *ca) in bch2_dev_get()
104 static inline void __bch2_dev_put(struct bch_dev *ca) in __bch2_dev_put()
118 static inline void bch2_dev_put(struct bch_dev *ca) in bch2_dev_put()
124 static inline struct bch_dev *bch2_get_next_dev(struct bch_fs *c, struct bch_dev *ca) in bch2_get_next_dev()
146 struct bch_dev *ca, in bch2_get_next_online_dev()
166 #define for_each_online_member(c, ca) \ argument
169 #define for_each_rw_member(c, ca) \ argument
172 #define for_each_readable_member(c, ca) \ argument
180 static inline bool bucket_valid(const struct bch_dev *ca, u64 b) in bucket_valid()
212 struct bch_dev *ca = bch2_dev_rcu_noerror(c, dev); in bch2_dev_rcu() local
221 struct bch_dev *ca = bch2_dev_rcu_noerror(c, dev); in bch2_dev_tryget_noerror() local
230 struct bch_dev *ca = bch2_dev_tryget_noerror(c, dev); in bch2_dev_tryget() local
238 struct bch_dev *ca = bch2_dev_tryget_noerror(c, bucket.inode); in bch2_dev_bucket_tryget_noerror() local
250 struct bch_dev *ca = bch2_dev_bucket_tryget_noerror(c, bucket); in bch2_dev_bucket_tryget() local
256 static inline struct bch_dev *bch2_dev_iterate_noerror(struct bch_fs *c, struct bch_dev *ca, unsign… in bch2_dev_iterate_noerror()
264 static inline struct bch_dev *bch2_dev_iterate(struct bch_fs *c, struct bch_dev *ca, unsigned dev_i… in bch2_dev_iterate()
275 struct bch_dev *ca = bch2_dev_rcu(c, dev); in bch2_dev_get_ioref() local
347 static inline bool bch2_dev_btree_bitmap_marked_sectors(struct bch_dev *ca, u64 start, unsigned sec… in bch2_dev_btree_bitmap_marked_sectors()