Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/bcache/
Dbtree.c601 list_move(&b->list, &b->c->btree_cache); in mca_data_alloc()
716 if (list_empty(&c->btree_cache)) in bch_mca_scan()
719 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_mca_scan()
720 list_rotate_left(&c->btree_cache); in bch_mca_scan()
764 list_move(&c->verify_data->list, &c->btree_cache); in bch_btree_cache_free()
770 &c->btree_cache); in bch_btree_cache_free()
772 while (!list_empty(&c->btree_cache)) { in bch_btree_cache_free()
773 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_btree_cache_free()
801 list_splice_init(&c->btree_cache, in bch_btree_cache_alloc()
877 list_for_each_entry_reverse(b, &c->btree_cache, list) in mca_cannibalize()
[all …]
Dbcache.h570 struct list_head btree_cache; member
Dsuper.c1562 list_add(&c->root->list, &c->btree_cache); in cache_set_flush()
1565 list_for_each_entry(b, &c->btree_cache, list) { in cache_set_flush()
1740 INIT_LIST_HEAD(&c->btree_cache); in bch_cache_set_alloc()
Dsysfs.c570 list_for_each_entry(b, &c->btree_cache, list) in bch_cache_size()