Lines Matching defs:ca
76 uint8_t bch_inc_gen(struct cache *ca, struct bucket *b) in bch_inc_gen()
88 struct cache *ca; in bch_rescale_priorities() local
130 bool bch_can_invalidate_bucket(struct cache *ca, struct bucket *b) in bch_can_invalidate_bucket()
137 void __bch_invalidate_one_bucket(struct cache *ca, struct bucket *b) in __bch_invalidate_one_bucket()
151 static void bch_invalidate_one_bucket(struct cache *ca, struct bucket *b) in bch_invalidate_one_bucket()
167 static inline unsigned int new_bucket_prio(struct cache *ca, struct bucket *b) in new_bucket_prio()
178 struct cache *ca = args; in new_bucket_max_cmp() local
187 struct cache *ca = args; in new_bucket_min_cmp() local
199 static void invalidate_buckets_lru(struct cache *ca) in invalidate_buckets_lru()
244 static void invalidate_buckets_fifo(struct cache *ca) in invalidate_buckets_fifo()
267 static void invalidate_buckets_random(struct cache *ca) in invalidate_buckets_random()
293 static void invalidate_buckets(struct cache *ca) in invalidate_buckets()
310 #define allocator_wait(ca, cond) \ argument
330 static int bch_allocator_push(struct cache *ca, long bucket) in bch_allocator_push()
347 struct cache *ca = arg; in bch_allocator_thread() local
419 long bch_bucket_alloc(struct cache *ca, unsigned int reserve, bool wait) in bch_bucket_alloc()
496 void __bch_bucket_free(struct cache *ca, struct bucket *b) in __bch_bucket_free()
518 struct cache *ca; in __bch_bucket_alloc_set() local
750 int bch_cache_allocator_start(struct cache *ca) in bch_cache_allocator_start()