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