Searched refs:btree_max_u64s (Results 1 – 4 of 4) sorted by relevance
97 static inline size_t btree_max_u64s(const struct bch_fs *c) in btree_max_u64s() function112 #define BTREE_SPLIT_THRESHOLD(c) (btree_max_u64s(c) * 2 / 3)114 #define BTREE_FOREGROUND_MERGE_THRESHOLD(c) (btree_max_u64s(c) * 1 / 3)
1442 b->nr.live_u64s * 100 / btree_max_u64s(c), in bch2_btree_node_to_text()
466 (ilog2(btree_max_u64s(c)) + BTREE_WRITE_SET_U64s_BITS) / 2; in should_compact_all()
2045 sib_u64s = min(sib_u64s, btree_max_u64s(c)); in __bch2_foreground_maybe_merge()