Searched refs:c_rbnode_parent (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Dc-rbtree.c122 while ((p = c_rbnode_parent(n)) && n == p->right)
148 while ((p = c_rbnode_parent(n)) && n == p->left)
200 c_rbnode_set_parent_and_color(n, c_rbnode_parent(n), c);
263 gg = c_rbnode_parent(g);
314 gg = c_rbnode_parent(g);
441 g = c_rbnode_parent(p);
466 c_rbnode_set_parent_and_color(p, c_rbnode_parent(p), C_RBNODE_BLACK);
488 g = c_rbnode_parent(p);
501 g = c_rbnode_parent(p);
520 c_rbnode_set_parent_and_color(p, c_rbnode_parent(
[all...]
H A Dc-rbtree.h142 * c_rbnode_parent() - return parent pointer
153 static inline CRBNode *c_rbnode_parent(CRBNode *n) { function
/systemd/src/test/
H A Dtest-rbtree.c110 assert(!n->right || c_rbnode_parent(n->right) == n);
111 assert(!n->left || c_rbnode_parent(n->left) == n);
114 if (!c_rbnode_parent(n))
142 while ((p = c_rbnode_parent(n)) && n == p->right) {

Completed in 855 milliseconds