Searched refs:btree_cache (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/md/bcache/ |
| H A D | btree.c | 556 list_move(&b->list, &b->c->btree_cache); in mca_data_alloc() 713 list_for_each_entry_safe_reverse(b, t, &c->btree_cache, list) { in bch_mca_scan() 760 list_move(&c->verify_data->list, &c->btree_cache); in bch_btree_cache_free() 766 &c->btree_cache); in bch_btree_cache_free() 768 while (!list_empty(&c->btree_cache)) { in bch_btree_cache_free() 769 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_btree_cache_free() 802 list_splice_init(&c->btree_cache, in bch_btree_cache_alloc() 894 list_for_each_entry_reverse(b, &c->btree_cache, list) in mca_cannibalize() 898 list_for_each_entry_reverse(b, &c->btree_cache, list) in mca_cannibalize() 964 list_move(&b->list, &c->btree_cache); in mca_alloc()
|
| H A D | bcache.h | 580 struct list_head btree_cache; member
|
| H A D | super.c | 1729 list_add(&c->root->list, &c->btree_cache); in CLOSURE_CALLBACK() 1736 list_for_each_entry(b, &c->btree_cache, list) { in CLOSURE_CALLBACK() 1917 INIT_LIST_HEAD(&c->btree_cache); in bch_cache_set_alloc()
|
| H A D | sysfs.c | 687 list_for_each_entry(b, &c->btree_cache, list) in bch_cache_size()
|