Home
last modified time | relevance | path

Searched refs:RESERVE_BTREE (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dbtree.c1106 if (__bch_bucket_alloc_set(c, RESERVE_BTREE, &k.key, wait)) in __bch_btree_node_alloc()
1187 if (fifo_used(&ca->free[RESERVE_BTREE]) < reserve) { in btree_check_reserve()
2116 fifo_full(&ca->free[RESERVE_BTREE])) in bch_initial_gc_finish()
2124 fifo_push(&ca->free[RESERVE_BTREE], in bch_initial_gc_finish()
H A Dbcache.h401 RESERVE_BTREE, enumerator
H A Dsuper.c511 if (bch_bucket_alloc_set(c, RESERVE_BTREE, &k.key, true)) in __uuid_write()
2270 * so bucket of RESERVE_BTREE type is needed, in cache_alloc()
2273 * so the number of RESERVE_BTREE type buckets should be as much in cache_alloc()
2284 if (!init_fifo(&ca->free[RESERVE_BTREE], btree_buckets, in cache_alloc()
2286 err = "ca->free[RESERVE_BTREE] alloc failed"; in cache_alloc()
2358 free_fifo(&ca->free[RESERVE_BTREE]); in cache_alloc()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dbtree.c1127 if (__bch_bucket_alloc_set(c, RESERVE_BTREE, &k.key, wait)) in __bch_btree_node_alloc()
1208 if (fifo_used(&ca->free[RESERVE_BTREE]) < reserve) { in btree_check_reserve()
2137 fifo_full(&ca->free[RESERVE_BTREE])) in bch_initial_gc_finish()
2145 fifo_push(&ca->free[RESERVE_BTREE], in bch_initial_gc_finish()
H A Dbcache.h409 RESERVE_BTREE, enumerator
H A Dsuper.c509 if (bch_bucket_alloc_set(c, RESERVE_BTREE, &k.key, true)) in __uuid_write()
2244 * so bucket of RESERVE_BTREE type is needed, in cache_alloc()
2247 * so the number of RESERVE_BTREE type buckets should be as much in cache_alloc()
2258 if (!init_fifo(&ca->free[RESERVE_BTREE], btree_buckets, in cache_alloc()
2260 err = "ca->free[RESERVE_BTREE] alloc failed"; in cache_alloc()
2332 free_fifo(&ca->free[RESERVE_BTREE]); in cache_alloc()

Completed in 16 milliseconds