Searched refs:parentp (Results 1 – 1 of 1) sorted by relevance
335 struct node *nodep, *parentp, *prev; in node_add() local356 parentp = s->root; in node_add()358 if (idx < parentp->idx) { in node_add()359 if (!parentp->left) { in node_add()360 parentp->left = nodep; in node_add()361 nodep->parent = parentp; in node_add()364 parentp = parentp->left; in node_add()366 assert(idx > parentp->idx + MASK_BITS + parentp->num_after - 1); in node_add()367 if (!parentp->right) { in node_add()368 parentp->right = nodep; in node_add()[all …]