Searched refs:cfg_node (Results 1 – 1 of 1) sorted by relevance
62 #define CFG_GROW_SIZE (10*sizeof(cfg_node))63 #define GET_CHILD_MAX_COUNT(node) (short)((int)(node)->bytes / sizeof(cfg_node))64 #define GET_CHILD_COUNT(p) (short)((int)(p)->used / sizeof(cfg_node))65 #define ADD_CHILD_COUNT(p, c) (p)->used += (short)((c)*sizeof(cfg_node))66 #define DEC_CHILD_COUNT(p, c) (p)->used -= (short)((c)*sizeof(cfg_node))67 #define GET_NODE_COUNT(bytes) (bytes / sizeof(cfg_node))68 #define GET_NODE_BYTES(c) (c * sizeof(cfg_node))88 } cfg_node; typedef92 static cfg_node root;96 static inline short alloc_node(cfg_node* p, short grow);[all …]