Lines Matching refs:cache_set
128 void bkey_put(struct cache_set *c, struct bkey *k)
157 * See the comment arount cache_set->fill_iter.
562 static struct btree *mca_bucket_alloc(struct cache_set *c,
649 struct cache_set *c = container_of(shrink, struct cache_set, shrink);
716 struct cache_set *c = container_of(shrink, struct cache_set, shrink);
727 void bch_btree_cache_free(struct cache_set *c)
775 int bch_btree_cache_alloc(struct cache_set *c)
824 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k)
829 static struct btree *mca_find(struct cache_set *c, struct bkey *k)
843 static int mca_cannibalize_lock(struct cache_set *c, struct btree_op *op)
860 static struct btree *mca_cannibalize(struct cache_set *c, struct btree_op *op,
888 void bch_cannibalize_unlock(struct cache_set *c)
898 static struct btree *mca_alloc(struct cache_set *c, struct btree_op *op,
981 struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op,
1095 struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op,
1138 static struct btree *bch_btree_node_alloc(struct cache_set *c,
1181 struct cache_set *c = b->c;
1202 static uint8_t __bch_btree_mark_key(struct cache_set *c, int level,
1256 void bch_initial_mark_key(struct cache_set *c, int level, struct bkey *k)
1276 void bch_update_bucket_in_use(struct cache_set *c, struct gc_stat *stats)
1556 static size_t btree_gc_min_nodes(struct cache_set *c)
1707 static void btree_gc_start(struct cache_set *c)
1732 static void bch_btree_gc_finish(struct cache_set *c)
1797 static void bch_btree_gc(struct cache_set *c)
1841 static bool gc_should_run(struct cache_set *c)
1856 struct cache_set *c = arg;
1876 int bch_gc_thread_start(struct cache_set *c)
1926 struct cache_set *c = check_state->c;
1983 * The op may be added to cache_set's btree_cache_wait
2023 int bch_btree_check(struct cache_set *c)
2096 void bch_initial_gc_finish(struct cache_set *c)
2456 int bch_btree_insert(struct cache_set *c, struct keylist *keys,
2545 int __bch_btree_map_nodes(struct btree_op *op, struct cache_set *c,
2579 int bch_btree_map_keys(struct btree_op *op, struct cache_set *c,
2655 void bch_refill_keybuf(struct cache_set *c, struct keybuf *buf,
2755 struct keybuf_key *bch_keybuf_next_rescan(struct cache_set *c,