Lines Matching refs:cache
395 struct cache { struct
501 struct cache *cache[MAX_CACHES_PER_SET]; member
502 struct cache *cache_by_alloc[MAX_CACHES_PER_SET];
732 static inline struct cache *PTR_CACHE(struct cache_set *c, in PTR_CACHE()
736 return c->cache[PTR_DEV(k, ptr)]; in PTR_CACHE()
817 for (iter = 0; ca = cs->cache[iter], iter < (cs)->sb.nr_in_set; iter++)
860 struct cache *ca; in wake_up_allocators()
869 void bch_count_io_errors(struct cache *, int, const char *);
880 uint8_t bch_inc_gen(struct cache *, struct bucket *);
883 bool bch_can_invalidate_bucket(struct cache *, struct bucket *);
884 void __bch_invalidate_one_bucket(struct cache *, struct bucket *);
886 void __bch_bucket_free(struct cache *, struct bucket *);
889 long bch_bucket_alloc(struct cache *, unsigned, bool);
900 void bch_prio_write(struct cache *);
939 int bch_cache_allocator_start(struct cache *ca);