Lines Matching defs:rn
124 #define RN_MATCHF(rn, f, arg) (f == NULL || (*f)((rn), arg))
1106 struct radix_node *rn = h->rnh_treetop;
1120 while (rn->rn_bit >= 0) {
1121 rn = rn->rn_left;
1125 (*lockf)(rn);
1128 base = rn;
1130 while (rn->rn_parent->rn_right == rn &&
1131 (rn->rn_flags & RNF_ROOT) == 0) {
1132 rn = rn->rn_parent;
1135 for (rn = rn->rn_parent->rn_right; rn->rn_bit >= 0; ) {
1136 rn = rn->rn_left;
1138 next = rn;
1144 while ((rn = base) != NULL) {
1145 base = rn->rn_dupedkey;
1151 if (!(rn->rn_flags & RNF_ROOT) &&
1152 (error = (*f)(rn, w))) {
1154 (*unlockf)(rn);
1163 (*unlockf)(rn);
1166 rn = next;
1167 if (rn->rn_flags & RNF_ROOT) {