25 #ifndef __MOTR_FD_UT_COMMON_H__ 26 #define __MOTR_FD_UT_COMMON_H__ 83 uint64_t *child_nr, uint64_t
depth);
86 uint64_t children, uint16_t
level,
M0_INTERNAL int fd_ut_tree_level_populate(struct m0_fd_tree *tree, uint64_t children, uint16_t level, enum tree_attr ta)
M0_INTERNAL void fd_ut_children_populate(uint64_t *child_nr, uint32_t length)
enum m0_trace_level level
M0_BASSERT(TUA_CHILD_NR_MAX >=la_N+la_K+la_S &&TUA_MAX_POOL_WIDTH >=TUA_CHILD_NR_MAX)
M0_INTERNAL void fd_ut_symm_tree_get(struct m0_fd_tree *tree, uint64_t *children_nr)
M0_INTERNAL uint64_t fd_ut_random_cnt_get(uint64_t max_cnt)
M0_INTERNAL void fd_ut_symm_tree_create(struct m0_fd_tree *tree, enum tree_gen_type tg_type, uint64_t *child_nr, uint64_t depth)
M0_INTERNAL int fd_ut_tree_init(struct m0_fd_tree *tree, uint64_t tree_depth)