Lines Matching defs:ca
74 uint8_t bch_inc_gen(struct cache *ca, struct bucket *b) in bch_inc_gen()
86 struct cache *ca; in bch_rescale_priorities() local
129 bool bch_can_invalidate_bucket(struct cache *ca, struct bucket *b) in bch_can_invalidate_bucket()
139 void __bch_invalidate_one_bucket(struct cache *ca, struct bucket *b) in __bch_invalidate_one_bucket()
152 static void bch_invalidate_one_bucket(struct cache *ca, struct bucket *b) in bch_invalidate_one_bucket()
178 static void invalidate_buckets_lru(struct cache *ca) in invalidate_buckets_lru()
215 static void invalidate_buckets_fifo(struct cache *ca) in invalidate_buckets_fifo()
238 static void invalidate_buckets_random(struct cache *ca) in invalidate_buckets_random()
263 static void invalidate_buckets(struct cache *ca) in invalidate_buckets()
280 #define allocator_wait(ca, cond) \ argument
298 static int bch_allocator_push(struct cache *ca, long bucket) in bch_allocator_push()
315 struct cache *ca = arg; in bch_allocator_thread() local
381 long bch_bucket_alloc(struct cache *ca, unsigned reserve, bool wait) in bch_bucket_alloc()
447 void __bch_bucket_free(struct cache *ca, struct bucket *b) in __bch_bucket_free()
475 struct cache *ca = c->cache_by_alloc[i]; in __bch_bucket_alloc_set() local
687 int bch_cache_allocator_start(struct cache *ca) in bch_cache_allocator_start()