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.
583 static struct btree *mca_bucket_alloc(struct cache_set *c,
670 struct cache_set *c = container_of(shrink, struct cache_set, shrink);
737 struct cache_set *c = container_of(shrink, struct cache_set, shrink);
748 void bch_btree_cache_free(struct cache_set *c)
796 int bch_btree_cache_alloc(struct cache_set *c)
845 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k)
850 static struct btree *mca_find(struct cache_set *c, struct bkey *k)
864 static int mca_cannibalize_lock(struct cache_set *c, struct btree_op *op)
881 static struct btree *mca_cannibalize(struct cache_set *c, struct btree_op *op,
909 void bch_cannibalize_unlock(struct cache_set *c)
919 static struct btree *mca_alloc(struct cache_set *c, struct btree_op *op,
1002 struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op,
1116 struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op,
1159 static struct btree *bch_btree_node_alloc(struct cache_set *c,
1202 struct cache_set *c = b->c;
1223 static uint8_t __bch_btree_mark_key(struct cache_set *c, int level,
1277 void bch_initial_mark_key(struct cache_set *c, int level, struct bkey *k)
1297 void bch_update_bucket_in_use(struct cache_set *c, struct gc_stat *stats)
1577 static size_t btree_gc_min_nodes(struct cache_set *c)
1728 static void btree_gc_start(struct cache_set *c)
1753 static void bch_btree_gc_finish(struct cache_set *c)
1818 static void bch_btree_gc(struct cache_set *c)
1862 static bool gc_should_run(struct cache_set *c)
1877 struct cache_set *c = arg;
1897 int bch_gc_thread_start(struct cache_set *c)
1947 struct cache_set *c = check_state->c;
2004 * The op may be added to cache_set's btree_cache_wait
2044 int bch_btree_check(struct cache_set *c)
2117 void bch_initial_gc_finish(struct cache_set *c)
2477 int bch_btree_insert(struct cache_set *c, struct keylist *keys,
2566 int __bch_btree_map_nodes(struct btree_op *op, struct cache_set *c,
2600 int bch_btree_map_keys(struct btree_op *op, struct cache_set *c,
2676 void bch_refill_keybuf(struct cache_set *c, struct keybuf *buf,
2776 struct keybuf_key *bch_keybuf_next_rescan(struct cache_set *c,