Go to the source code of this file.
|
M0_INTERNAL int | m0_fd__tree_node_init (struct m0_fd_tree *tree, struct m0_fd_tree_node *node, uint16_t child_nr, const struct m0_fd__tree_cursor *cursor) |
|
M0_INTERNAL void | m0_fd__tree_node_fini (struct m0_fd_tree *tree, struct m0_fd_tree_node *node) |
|
M0_INTERNAL int | m0_fd__tree_cursor_init (struct m0_fd__tree_cursor *cursor, const struct m0_fd_tree *tree, uint16_t depth) |
|
M0_INTERNAL int | m0_fd__tree_cursor_init_at (struct m0_fd__tree_cursor *cursor, const struct m0_fd_tree *tree, const struct m0_fd_tree_node *node, uint32_t child_idx) |
|
M0_INTERNAL struct m0_fd_tree_node ** | m0_fd__tree_cursor_get (struct m0_fd__tree_cursor *cursor) |
|
M0_INTERNAL int | m0_fd__tree_cursor_next (struct m0_fd__tree_cursor *cursor) |
|
M0_INTERNAL int | m0_fd__tree_root_create (struct m0_fd_tree *tree, uint64_t root_children) |
|
M0_INTERNAL bool | m0_fd__tree_invariant (const struct m0_fd_tree *tree) |
|
M0_INTERNAL bool | m0_fd__tree_node_invariant (const struct m0_fd_tree *tree, const struct m0_fd_tree_node *node) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_FD |
◆ m0_fd__tree_cursor_get()
◆ m0_fd__tree_cursor_init()
◆ m0_fd__tree_cursor_init_at()
◆ m0_fd__tree_cursor_next()
◆ m0_fd__tree_invariant()
M0_INTERNAL bool m0_fd__tree_invariant |
( |
const struct m0_fd_tree * |
tree | ) |
|
◆ m0_fd__tree_node_fini()
◆ m0_fd__tree_node_init()
◆ m0_fd__tree_node_invariant()
◆ m0_fd__tree_root_create()
M0_INTERNAL int m0_fd__tree_root_create |
( |
struct m0_fd_tree * |
tree, |
|
|
uint64_t |
root_children |
|
) |
| |
Allocates and initializes the root node of the failure domains tree.
Definition at line 181 of file fd_tree.c.