Searched refs:rootp (Results 1 – 3 of 3) sorted by relevance
161 Bool avl_insert_wrk ( AvlNode** rootp, in avl_insert_wrk() argument175 if (!(*rootp)) { in avl_insert_wrk()176 (*rootp) = a; in avl_insert_wrk()180 cmpres = kCmp ? /*boxed*/ kCmp( (*rootp)->key, a->key ) in avl_insert_wrk()181 : /*unboxed*/ cmp_unsigned_Words( (UWord)(*rootp)->key, in avl_insert_wrk()186 if ((*rootp)->child[0]) { in avl_insert_wrk()187 AvlNode* left_subtree = (*rootp)->child[0]; in avl_insert_wrk()189 switch ((*rootp)->balance--) { in avl_insert_wrk()195 if ((*rootp)->child[0]->balance < 0) { in avl_insert_wrk()196 avl_swr( rootp ); in avl_insert_wrk()[all …]
1054 Bool avl_insert_wrk ( AvlNode** rootp, in avl_insert_wrk() argument1068 if (!(*rootp)) { in avl_insert_wrk()1069 (*rootp) = a; in avl_insert_wrk()1073 cmpres = kCmp( (*rootp)->key, a->key ); in avl_insert_wrk()1077 if ((*rootp)->left) { in avl_insert_wrk()1078 AvlNode* left_subtree = (*rootp)->left; in avl_insert_wrk()1080 switch ((*rootp)->balance--) { in avl_insert_wrk()1086 if ((*rootp)->left->balance < 0) { in avl_insert_wrk()1087 avl_swr( rootp ); in avl_insert_wrk()1088 (*rootp)->balance = 0; in avl_insert_wrk()[all …]
1733 bpf_optimize(rootp) in bpf_optimize() argument1734 struct block **rootp; in bpf_optimize()1738 root = *rootp;1750 opt_root(rootp);