Searched refs:parentp (Results 1 – 2 of 2) 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 …]
948 static struct rb_node **bdi_lookup_rb_node(u64 id, struct rb_node **parentp) in bdi_lookup_rb_node() argument968 if (parentp) in bdi_lookup_rb_node()969 *parentp = parent; in bdi_lookup_rb_node()