Lines Matching refs:nd
30 struct rb_node *nd; in metricgroup__lookup() local
38 nd = rblist__find(metric_events, &me); in metricgroup__lookup()
39 if (nd) in metricgroup__lookup()
40 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
43 nd = rblist__find(metric_events, &me); in metricgroup__lookup()
44 if (nd) in metricgroup__lookup()
45 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
54 nd); in metric_event_cmp()
74 return &me->nd; in metric_event_new()
85 struct list_head nd; member
161 list_for_each_entry (eg, groups, nd) { in metricgroup__setup_events()
192 list_add(&expr->nd, &me->head); in metricgroup__setup_events()
219 struct rb_node nd; member
226 struct mep *a = container_of(rb_node, struct mep, nd); in mep_cmp()
246 return &me->nd; in mep_new()
256 struct rb_node *nd; in mep_lookup() local
260 nd = rblist__find(groups, &me); in mep_lookup()
261 if (nd) in mep_lookup()
262 return container_of(nd, struct mep, nd); in mep_lookup()
264 nd = rblist__find(groups, &me); in mep_lookup()
265 if (nd) in mep_lookup()
266 return container_of(nd, struct mep, nd); in mep_lookup()
271 struct rb_node *nd) in mep_delete() argument
273 struct mep *me = container_of(nd, struct mep, nd); in mep_delete()
385 struct mep *me = container_of(node, struct mep, nd); in metricgroup__print()
463 list_add_tail(&eg->nd, group_list); in metricgroup__add_metric()
501 list_for_each_entry_safe (eg, egtmp, group_list, nd) { in metricgroup__free_egroups()
505 list_del_init(&eg->nd); in metricgroup__free_egroups()