Home
last modified time | relevance | path

Searched refs:btree_cache (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/md/bcache/
Dbtree.c554 list_move(&b->list, &b->c->btree_cache); in mca_data_alloc()
692 list_for_each_entry_safe_reverse(b, t, &c->btree_cache, list) { in bch_mca_scan()
739 list_move(&c->verify_data->list, &c->btree_cache); in bch_btree_cache_free()
745 &c->btree_cache); in bch_btree_cache_free()
747 while (!list_empty(&c->btree_cache)) { in bch_btree_cache_free()
748 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_btree_cache_free()
781 list_splice_init(&c->btree_cache, in bch_btree_cache_alloc()
868 list_for_each_entry_reverse(b, &c->btree_cache, list) in mca_cannibalize()
872 list_for_each_entry_reverse(b, &c->btree_cache, list) in mca_cannibalize()
938 list_move(&b->list, &c->btree_cache); in mca_alloc()
Dbcache.h571 struct list_head btree_cache; member
Dsuper.c1703 list_add(&c->root->list, &c->btree_cache); in cache_set_flush()
1710 list_for_each_entry(b, &c->btree_cache, list) { in cache_set_flush()
1886 INIT_LIST_HEAD(&c->btree_cache); in bch_cache_set_alloc()
Djournal.c451 list_for_each_entry_safe_reverse(b, t, &c->btree_cache, list) { in btree_flush_write()
Dsysfs.c667 list_for_each_entry(b, &c->btree_cache, list) in bch_cache_size()