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 = shrink->private_data;
737 struct cache_set *c = shrink->private_data;
748 void bch_btree_cache_free(struct cache_set *c)
796 int bch_btree_cache_alloc(struct cache_set *c)
850 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k)
855 static struct btree *mca_find(struct cache_set *c, struct bkey *k)
869 static int mca_cannibalize_lock(struct cache_set *c, struct btree_op *op)
886 static struct btree *mca_cannibalize(struct cache_set *c, struct btree_op *op,
914 void bch_cannibalize_unlock(struct cache_set *c)
924 static struct btree *mca_alloc(struct cache_set *c, struct btree_op *op,
1007 struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op,
1121 struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op,
1164 static struct btree *bch_btree_node_alloc(struct cache_set *c,
1207 struct cache_set *c = b->c;
1228 static uint8_t __bch_btree_mark_key(struct cache_set *c, int level,
1282 void bch_initial_mark_key(struct cache_set *c, int level, struct bkey *k)
1302 void bch_update_bucket_in_use(struct cache_set *c, struct gc_stat *stats)
1582 static size_t btree_gc_min_nodes(struct cache_set *c)
1734 static void btree_gc_start(struct cache_set *c)
1759 static void bch_btree_gc_finish(struct cache_set *c)
1824 static void bch_btree_gc(struct cache_set *c)
1868 static bool gc_should_run(struct cache_set *c)
1883 struct cache_set *c = arg;
1903 int bch_gc_thread_start(struct cache_set *c)
1953 struct cache_set *c = check_state->c;
2010 * The op may be added to cache_set's btree_cache_wait
2050 int bch_btree_check(struct cache_set *c)
2123 void bch_initial_gc_finish(struct cache_set *c)
2483 int bch_btree_insert(struct cache_set *c, struct keylist *keys,
2572 int __bch_btree_map_nodes(struct btree_op *op, struct cache_set *c,
2607 int bch_btree_map_keys(struct btree_op *op, struct cache_set *c,
2683 void bch_refill_keybuf(struct cache_set *c, struct keybuf *buf,
2783 struct keybuf_key *bch_keybuf_next_rescan(struct cache_set *c,