Lines Matching refs:nd

33 	struct rb_node *nd;  in metricgroup__lookup()  local
41 nd = rblist__find(metric_events, &me); in metricgroup__lookup()
42 if (nd) in metricgroup__lookup()
43 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
46 nd = rblist__find(metric_events, &me); in metricgroup__lookup()
47 if (nd) in metricgroup__lookup()
48 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
57 nd); in metric_event_cmp()
77 return &me->nd; in metric_event_new()
83 struct metric_event *me = container_of(rb_node, struct metric_event, nd); in metric_event_delete()
86 list_for_each_entry_safe(expr, tmp, &me->head, nd) { in metric_event_delete()
120 struct list_head nd; member
311 list_for_each_entry (m, groups, nd) { in metricgroup__setup_events()
381 list_add(&expr->nd, &me->head); in metricgroup__setup_events()
417 struct rb_node nd; member
424 struct mep *a = container_of(rb_node, struct mep, nd); in mep_cmp()
444 return &me->nd; in mep_new()
454 struct rb_node *nd; in mep_lookup() local
458 nd = rblist__find(groups, &me); in mep_lookup()
459 if (nd) in mep_lookup()
460 return container_of(nd, struct mep, nd); in mep_lookup()
462 nd = rblist__find(groups, &me); in mep_lookup()
463 if (nd) in mep_lookup()
464 return container_of(nd, struct mep, nd); in mep_lookup()
469 struct rb_node *nd) in mep_delete() argument
471 struct mep *me = container_of(nd, struct mep, nd); in mep_delete()
588 struct mep *me = container_of(node, struct mep, nd); in metricgroup__print()
777 list_add(&m->nd, metric_list); in __add_metric()
783 struct metric *old = list_entry(pos, struct metric, nd); in __add_metric()
789 list_add(&m->nd, pos); in __add_metric()
927 list_for_each_entry(m, metric_list, nd) { in resolve_metric()
1002 list_for_each_entry(m, &list, nd) { in metricgroup__add_metric()
1072 list_for_each_entry_safe (m, tmp, metric_list, nd) { in metricgroup__free_metrics()
1075 list_del_init(&m->nd); in metricgroup__free_metrics()
1169 struct rb_node *nd; in metricgroup__copy_metric_events() local
1176 nd = rblist__entry(old_metric_events, i); in metricgroup__copy_metric_events()
1177 old_me = container_of(nd, struct metric_event, nd); in metricgroup__copy_metric_events()
1189 list_for_each_entry(old_expr, &old_me->head, nd) { in metricgroup__copy_metric_events()
1240 list_add(&new_expr->nd, &new_me->head); in metricgroup__copy_metric_events()