Lines Matching refs:RB_COLOR

76 #define RB_COLOR(elm, field)    (elm)->field.rbe_color  macro
83 RB_COLOR(elm, field) = RB_RED; \
87 RB_COLOR(black, field) = RB_BLACK; \
88 RB_COLOR(red, field) = RB_RED; \
165 RB_COLOR(parent, field) == RB_RED) { \
169 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \
170 RB_COLOR(tmp, field) = RB_BLACK; \
185 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \
186 RB_COLOR(tmp, field) = RB_BLACK; \
201 RB_COLOR(head->rbh_root, field) = RB_BLACK; \
209 while ((elm == NULL || RB_COLOR(elm, field) == RB_BLACK) && \
213 if (RB_COLOR(tmp, field) == RB_RED) { \
219 RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) && \
221 RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK)) { \
222 RB_COLOR(tmp, field) = RB_RED; \
227 RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK) { \
231 RB_COLOR(oleft, field) = RB_BLACK; \
232 RB_COLOR(tmp, field) = RB_RED; \
236 RB_COLOR(tmp, field) = RB_COLOR(parent, field); \
237 RB_COLOR(parent, field) = RB_BLACK; \
239 RB_COLOR(RB_RIGHT(tmp, field), field) = RB_BLACK; \
246 if (RB_COLOR(tmp, field) == RB_RED) { \
252 RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) && \
254 RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK)) { \
255 RB_COLOR(tmp, field) = RB_RED; \
260 RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) { \
264 RB_COLOR(oright, field) = RB_BLACK; \
265 RB_COLOR(tmp, field) = RB_RED; \
269 RB_COLOR(tmp, field) = RB_COLOR(parent, field); \
270 RB_COLOR(parent, field) = RB_BLACK; \
272 RB_COLOR(RB_LEFT(tmp, field), field) = RB_BLACK; \
280 RB_COLOR(elm, field) = RB_BLACK; \
299 color = RB_COLOR(elm, field); \
333 color = RB_COLOR(elm, field); \