Lines Matching refs:cache
380 struct cache { struct
484 struct cache *cache[MAX_CACHES_PER_SET]; member
485 struct cache *cache_by_alloc[MAX_CACHES_PER_SET];
715 static inline struct cache *PTR_CACHE(struct cache_set *c, in PTR_CACHE()
719 return c->cache[PTR_DEV(k, ptr)]; in PTR_CACHE()
800 for (iter = 0; ca = cs->cache[iter], iter < (cs)->sb.nr_in_set; iter++)
843 struct cache *ca; in wake_up_allocators()
852 void bch_count_io_errors(struct cache *, int, const char *);
862 uint8_t bch_inc_gen(struct cache *, struct bucket *);
865 bool bch_can_invalidate_bucket(struct cache *, struct bucket *);
866 void __bch_invalidate_one_bucket(struct cache *, struct bucket *);
868 void __bch_bucket_free(struct cache *, struct bucket *);
871 long bch_bucket_alloc(struct cache *, unsigned, bool);
882 void bch_prio_write(struct cache *);
921 int bch_cache_allocator_start(struct cache *ca);