Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/bcache/
Dbtree.c594 list_move(&b->list, &b->c->btree_cache); in mca_data_alloc()
705 if (list_empty(&c->btree_cache)) in bch_mca_scan()
708 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_mca_scan()
709 list_rotate_left(&c->btree_cache); in bch_mca_scan()
752 list_move(&c->verify_data->list, &c->btree_cache); in bch_btree_cache_free()
758 &c->btree_cache); in bch_btree_cache_free()
760 while (!list_empty(&c->btree_cache)) { in bch_btree_cache_free()
761 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_btree_cache_free()
789 list_splice_init(&c->btree_cache, in bch_btree_cache_alloc()
862 list_for_each_entry_reverse(b, &c->btree_cache, list) in mca_cannibalize()
[all …]
Dbcache.h551 struct list_head btree_cache; member
Dsuper.c1419 list_add(&c->root->list, &c->btree_cache); in cache_set_flush()
1422 list_for_each_entry(b, &c->btree_cache, list) { in cache_set_flush()
1533 INIT_LIST_HEAD(&c->btree_cache); in bch_cache_set_alloc()
Dsysfs.c474 list_for_each_entry(b, &c->btree_cache, list) in bch_cache_size()