Motr  M0
m0_fd__tree_cursor Struct Reference

#include <fd_internal.h>

Collaboration diagram for m0_fd__tree_cursor:
Collaboration graph

Data Fields

struct m0_fd_treeftc_tree
 
uint16_t ftc_depth
 
struct m0_fd_tree_nodeftc_node
 
int32_t ftc_child_idx
 
int32_t ftc_child_abs_idx
 
uint32_t ftc_cnt
 
uint64_t ftc_path [M0_CONF_PVER_HEIGHT+1]
 

Detailed Description

Definition at line 31 of file fd_internal.h.

Field Documentation

◆ ftc_child_abs_idx

int32_t ftc_child_abs_idx

Absolute index of child at which cursor points.

Definition at line 41 of file fd_internal.h.

◆ ftc_child_idx

int32_t ftc_child_idx

Index in m0_fd_tree_node::ftn_children, at which cursor points.

Definition at line 39 of file fd_internal.h.

◆ ftc_cnt

uint32_t ftc_cnt

Counts the cursor movement at ftc_depth.

Definition at line 43 of file fd_internal.h.

◆ ftc_depth

uint16_t ftc_depth

Depth of current cursor location in the tree.

Definition at line 35 of file fd_internal.h.

◆ ftc_node

struct m0_fd_tree_node* ftc_node

Current node at which cursor resides.

Definition at line 37 of file fd_internal.h.

◆ ftc_path

uint64_t ftc_path[M0_CONF_PVER_HEIGHT+1]

Starting from the tree root, Holds absolute indices of ancestors of the current cursor location

Definition at line 46 of file fd_internal.h.

◆ ftc_tree

struct m0_fd_tree* ftc_tree

Failure domain tree to which a cursor is associated.

Definition at line 33 of file fd_internal.h.


The documentation for this struct was generated from the following file: