Searched refs:nr_reserve (Results 1 – 3 of 3) sorted by relevance
47 c->btree_cache.nr_reserve = reserve; in bch2_recalc_btree_reserve()56 can_free = max_t(ssize_t, 0, can_free - bc->nr_reserve); in btree_cache_can_free()652 for (i = 0; i < bc->nr_reserve; i++) in bch2_fs_btree_cache_init()
189 size_t nr_reserve; member
316 unsigned nr_reserve = watermark < BCH_WATERMARK_reclaim in __bch2_btree_node_alloc() local328 if (c->btree_reserve_cache_nr > nr_reserve) { in __bch2_btree_node_alloc()