Home
last modified time | relevance | path

Searched refs:avail_nbuckets (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/bcache/
Dalloc.c461 if (ca->set->avail_nbuckets > 0) { in bch_bucket_alloc()
462 ca->set->avail_nbuckets--; in bch_bucket_alloc()
474 if (ca->set->avail_nbuckets < ca->set->nbuckets) { in __bch_bucket_free()
475 ca->set->avail_nbuckets++; in __bch_bucket_free()
Dbcache.h625 size_t avail_nbuckets; member
Dbtree.c1269 stats->in_use = (c->nbuckets - c->avail_nbuckets) * 100 / c->nbuckets; in bch_update_bucket_in_use()
1759 c->avail_nbuckets = 0; in bch_btree_gc_finish()
1780 c->avail_nbuckets++; in bch_btree_gc_finish()