Lines Matching refs:nd
33 struct rb_node *nd;
41 nd = rblist__find(metric_events, &me);
42 if (nd)
43 return container_of(nd, struct metric_event, nd);
46 nd = rblist__find(metric_events, &me);
47 if (nd)
48 return container_of(nd, struct metric_event, nd);
57 nd);
77 return &me->nd;
83 struct metric_event *me = container_of(rb_node, struct metric_event, nd);
86 list_for_each_entry_safe(expr, tmp, &me->head, nd) {
120 struct list_head nd;
311 list_for_each_entry (m, groups, nd) {
381 list_add(&expr->nd, &me->head);
417 struct rb_node nd;
424 struct mep *a = container_of(rb_node, struct mep, nd);
444 return &me->nd;
454 struct rb_node *nd;
458 nd = rblist__find(groups, &me);
459 if (nd)
460 return container_of(nd, struct mep, nd);
462 nd = rblist__find(groups, &me);
463 if (nd)
464 return container_of(nd, struct mep, nd);
469 struct rb_node *nd)
471 struct mep *me = container_of(nd, struct mep, nd);
588 struct mep *me = container_of(node, struct mep, nd);
777 list_add(&m->nd, metric_list);
783 struct metric *old = list_entry(pos, struct metric, nd);
789 list_add(&m->nd, pos);
927 list_for_each_entry(m, metric_list, nd) {
1002 list_for_each_entry(m, &list, nd) {
1072 list_for_each_entry_safe (m, tmp, metric_list, nd) {
1075 list_del_init(&m->nd);
1169 struct rb_node *nd;
1176 nd = rblist__entry(old_metric_events, i);
1177 old_me = container_of(nd, struct metric_event, nd);
1189 list_for_each_entry(old_expr, &old_me->head, nd) {
1240 list_add(&new_expr->nd, &new_me->head);