Lines Matching refs:nodefld
187 #define DEFINE_RB_INSDEL_FUNCS2(name, type, keyfld, cmpexp, keyexp, nodefld) \ argument
193 BUG_ON(!RB_EMPTY_NODE(&t->nodefld)); \
196 type *cur = rb_entry(*n, type, nodefld); \
209 rb_link_node(&t->nodefld, parent, n); \
210 rb_insert_color(&t->nodefld, root); \
214 BUG_ON(RB_EMPTY_NODE(&t->nodefld)); \
215 rb_erase(&t->nodefld, root); \
216 RB_CLEAR_NODE(&t->nodefld); \
224 lookup_param_type, nodefld) \ argument
230 type *cur = rb_entry(n, type, nodefld); \
246 lookup_param_type, nodefld) \ argument
247 DEFINE_RB_INSDEL_FUNCS2(name, type, keyfld, cmpexp, keyexp, nodefld) \
249 lookup_param_type, nodefld)
254 #define DEFINE_RB_INSDEL_FUNCS(name, type, keyfld, nodefld) \ argument
255 DEFINE_RB_INSDEL_FUNCS2(name, type, keyfld, RB_CMP3WAY, RB_BYVAL, nodefld)
257 #define DEFINE_RB_LOOKUP_FUNC(name, type, keyfld, nodefld) \ argument
260 typeof(__lookup_##name##_key.keyfld), nodefld)
262 #define DEFINE_RB_FUNCS(name, type, keyfld, nodefld) \ argument
263 DEFINE_RB_INSDEL_FUNCS(name, type, keyfld, nodefld) \
264 DEFINE_RB_LOOKUP_FUNC(name, type, keyfld, nodefld)