• Home
  • Raw
  • Download

Lines Matching refs:cache_set

120 static void bkey_put(struct cache_set *c, struct bkey *k, int level)  in bkey_put()
552 static struct btree *mca_bucket_alloc(struct cache_set *c, in mca_bucket_alloc()
603 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_shrink()
668 void bch_btree_cache_free(struct cache_set *c) in bch_btree_cache_free()
708 int bch_btree_cache_alloc(struct cache_set *c) in bch_btree_cache_alloc()
744 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k) in mca_hash()
749 static struct btree *mca_find(struct cache_set *c, struct bkey *k) in mca_find()
763 static struct btree *mca_cannibalize(struct cache_set *c, struct bkey *k, in mca_cannibalize()
816 void bch_cannibalize_unlock(struct cache_set *c, struct closure *cl) in bch_cannibalize_unlock()
825 static struct btree *mca_alloc(struct cache_set *c, struct bkey *k, in mca_alloc()
896 struct btree *bch_btree_node_get(struct cache_set *c, struct bkey *k, in bch_btree_node_get()
953 static void btree_node_prefetch(struct cache_set *c, struct bkey *k, int level) in btree_node_prefetch()
1007 struct btree *bch_btree_node_alloc(struct cache_set *c, int level, in bch_btree_node_alloc()
1057 uint8_t __bch_btree_mark_key(struct cache_set *c, int level, struct bkey *k) in __bch_btree_mark_key()
1404 static void btree_gc_start(struct cache_set *c) in btree_gc_start()
1435 size_t bch_btree_gc_finish(struct cache_set *c) in bch_btree_gc_finish()
1505 struct cache_set *c = container_of(cl, struct cache_set, gc.cl); in bch_btree_gc()
1555 void bch_queue_gc(struct cache_set *c) in bch_queue_gc()
1612 int bch_btree_check(struct cache_set *c, struct btree_op *op) in bch_btree_check()
2092 int bch_btree_insert(struct btree_op *op, struct cache_set *c) in bch_btree_insert()
2363 void bch_refill_keybuf(struct cache_set *c, struct keybuf *buf, in bch_refill_keybuf()
2456 struct keybuf_key *bch_keybuf_next_rescan(struct cache_set *c, in bch_keybuf_next_rescan()