tree.
mas_start returns:
If mas->node is an error or MAS_START, return NULL
If it's an empty tree: NULL & mas->node == MAS_NONE
If it's a single entry: The entry & mas->node == MAS_ROOT
If it's a tree: NULL & mas->node == safe root node.
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
* Sets up maple state for operations by setting mas->min = 0 & mas->node to
* certain values.
* returns:
+ * - If mas->node is an error or MAS_START, return NULL.
* - If it's an empty tree: NULL & mas->node == MAS_NONE
* - If it's a single entry: The entry & mas->node == MAS_ROOT
* - If it's a tree: NULL & mas->node == safe root node.