Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dbtree_cache.c47 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()
H A Dbtree_types.h189 size_t nr_reserve; member
H A Dbtree_update_interior.c316 unsigned nr_reserve = watermark < BCH_WATERMARK_reclaim in __bch2_btree_node_alloc() local
328 if (c->btree_reserve_cache_nr > nr_reserve) { in __bch2_btree_node_alloc()