Searched refs:RESERVE_BTREE (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/md/bcache/ |
| H A D | btree.c | 1130 if (__bch_bucket_alloc_set(c, RESERVE_BTREE, &k.key, wait)) in __bch_btree_node_alloc() 1211 if (fifo_used(&ca->free[RESERVE_BTREE]) < reserve) { in btree_check_reserve() 2145 fifo_full(&ca->free[RESERVE_BTREE])) in bch_initial_gc_finish() 2153 fifo_push(&ca->free[RESERVE_BTREE], in bch_initial_gc_finish()
|
| H A D | bcache.h | 413 RESERVE_BTREE, enumerator
|
| H A D | super.c | 508 if (bch_bucket_alloc_set(c, RESERVE_BTREE, &k.key, true)) in __uuid_write() 2264 * and all the keys need to replay, so the number of RESERVE_BTREE in cache_alloc() 2267 * If the number of RESERVE_BTREE type buckets is too few, the in cache_alloc() 2278 * whether there are enough reserved buckets in the RESERVE_BTREE in cache_alloc() 2295 * Therefore, reserve more RESERVE_BTREE type buckets. in cache_alloc() 2306 if (!init_fifo(&ca->free[RESERVE_BTREE], btree_buckets, in cache_alloc() 2308 err = "ca->free[RESERVE_BTREE] alloc failed"; in cache_alloc() 2380 free_fifo(&ca->free[RESERVE_BTREE]);
|