Searched refs:avail_nbuckets (Results 1 – 4 of 4) sorted by relevance
488 if (ca->set->avail_nbuckets > 0) { in bch_bucket_alloc()489 ca->set->avail_nbuckets--; in bch_bucket_alloc()501 if (ca->set->avail_nbuckets < ca->set->nbuckets) { in __bch_bucket_free()502 ca->set->avail_nbuckets++; in __bch_bucket_free()
635 size_t avail_nbuckets; member
1304 stats->in_use = (c->nbuckets - c->avail_nbuckets) * 100 / c->nbuckets; in bch_update_bucket_in_use()1803 c->avail_nbuckets = 0; in bch_btree_gc_finish()1827 c->avail_nbuckets++; in bch_btree_gc_finish()
103 int64_t dirty_buckets = c->nbuckets - c->avail_nbuckets; in __update_writeback_rate()