Lines Matching refs:cache_set
428 struct cache_set *c;
558 struct cache_set *set;
675 struct cache_set { struct
876 static inline bool key_merging_disabled(struct cache_set *c) in key_merging_disabled() argument
999 static inline size_t sector_to_bucket(struct cache_set *c, sector_t s) in sector_to_bucket()
1004 static inline sector_t bucket_to_sector(struct cache_set *c, size_t b) in bucket_to_sector()
1009 static inline sector_t bucket_remainder(struct cache_set *c, sector_t s) in bucket_remainder()
1014 static inline struct cache *PTR_CACHE(struct cache_set *c, in PTR_CACHE()
1021 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR()
1028 static inline struct bucket *PTR_BUCKET(struct cache_set *c, in PTR_BUCKET()
1107 static inline void __bkey_put(struct cache_set *c, struct bkey *k) in __bkey_put()
1182 void bch_bbio_count_io_errors(struct cache_set *, struct bio *,
1184 void bch_bbio_endio(struct cache_set *, struct bio *, int, const char *);
1185 void bch_bbio_free(struct bio *, struct cache_set *);
1186 struct bio *bch_bbio_alloc(struct cache_set *);
1190 void __bch_submit_bbio(struct bio *, struct cache_set *);
1191 void bch_submit_bbio(struct bio *, struct cache_set *, struct bkey *, unsigned);
1194 void bch_rescale_priorities(struct cache_set *, int);
1199 void bch_bucket_free(struct cache_set *, struct bkey *);
1201 int __bch_bucket_alloc_set(struct cache_set *, unsigned,
1203 int bch_bucket_alloc_set(struct cache_set *, unsigned,
1207 bool bch_cache_set_error(struct cache_set *, const char *, ...);
1228 int bch_uuid_write(struct cache_set *);
1229 void bcache_write_super(struct cache_set *);
1231 int bch_flash_dev_create(struct cache_set *c, uint64_t size);
1233 int bch_cached_dev_attach(struct cached_dev *, struct cache_set *);
1238 void bch_cache_set_unregister(struct cache_set *);
1239 void bch_cache_set_stop(struct cache_set *);
1241 struct cache_set *bch_cache_set_alloc(struct cache_sb *);
1242 void bch_btree_cache_free(struct cache_set *);
1243 int bch_btree_cache_alloc(struct cache_set *);
1245 void bch_moving_init_cache_set(struct cache_set *);