Home
last modified time | relevance | path

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

/drivers/md/bcache/
Dbtree.c594 list_move(&b->list, &b->c->btree_cache); in mca_data_alloc()
707 if (list_empty(&c->btree_cache)) in bch_mca_scan()
710 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_mca_scan()
711 list_rotate_left(&c->btree_cache); in bch_mca_scan()
754 list_move(&c->verify_data->list, &c->btree_cache); in bch_btree_cache_free()
760 &c->btree_cache); in bch_btree_cache_free()
762 while (!list_empty(&c->btree_cache)) { in bch_btree_cache_free()
763 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_btree_cache_free()
791 list_splice_init(&c->btree_cache, in bch_btree_cache_alloc()
869 list_for_each_entry_reverse(b, &c->btree_cache, list) in mca_cannibalize()
[all …]
Dbcache.h535 struct list_head btree_cache; member
Dsuper.c1411 list_add(&c->root->list, &c->btree_cache); in cache_set_flush()
1414 list_for_each_entry(b, &c->btree_cache, list) { in cache_set_flush()
1527 INIT_LIST_HEAD(&c->btree_cache); in bch_cache_set_alloc()
Dsysfs.c479 list_for_each_entry(b, &c->btree_cache, list) in bch_cache_size()