Home
last modified time | relevance | path

Searched refs:btree_max_u64s (Results 1 – 4 of 4) sorted by relevance

/linux/fs/bcachefs/
H A Dbtree_cache.h98 static inline size_t btree_max_u64s(const struct bch_fs *c) in btree_max_u64s() function
113 #define BTREE_SPLIT_THRESHOLD(c) (btree_max_u64s(c) * 2 / 3)
115 #define BTREE_FOREGROUND_MERGE_THRESHOLD(c) (btree_max_u64s(c) * 1 / 3)
H A Dbtree_cache.c1461 b->nr.live_u64s * 100 / btree_max_u64s(c), in bch2_btree_node_to_text()
H A Dbtree_io.c469 (ilog2(btree_max_u64s(c)) + BTREE_WRITE_SET_U64s_BITS) / 2; in should_compact_all()
H A Dbtree_update_interior.c2114 sib_u64s = min(sib_u64s, btree_max_u64s(c)); in __bch2_foreground_maybe_merge()