Searched refs:btree_cache (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/md/bcache/ |
D | btree.c | 607 list_move(&b->list, &b->c->btree_cache); in mca_data_alloc() 744 if (list_empty(&c->btree_cache)) in bch_mca_scan() 747 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_mca_scan() 748 list_rotate_left(&c->btree_cache); in bch_mca_scan() 792 list_move(&c->verify_data->list, &c->btree_cache); in bch_btree_cache_free() 798 &c->btree_cache); in bch_btree_cache_free() 800 while (!list_empty(&c->btree_cache)) { in bch_btree_cache_free() 801 b = list_first_entry(&c->btree_cache, struct btree, list); in bch_btree_cache_free() 834 list_splice_init(&c->btree_cache, in bch_btree_cache_alloc() 910 list_for_each_entry_reverse(b, &c->btree_cache, list) in mca_cannibalize() [all …]
|
D | bcache.h | 570 struct list_head btree_cache; member
|
D | super.c | 1601 list_add(&c->root->list, &c->btree_cache); in cache_set_flush() 1608 list_for_each_entry(b, &c->btree_cache, list) { in cache_set_flush() 1784 INIT_LIST_HEAD(&c->btree_cache); in bch_cache_set_alloc()
|
D | journal.c | 441 list_for_each_entry_safe_reverse(b, t, &c->btree_cache, list) { in btree_flush_write()
|
D | sysfs.c | 640 list_for_each_entry(b, &c->btree_cache, list) in bch_cache_size()
|