Lines Matching refs:nd
2157 struct rb_node *nd; in hists__filter_by_type() local
2164 for (nd = rb_first_cached(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_type()
2165 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_by_type()
2181 struct rb_node *nd; in resort_filtered_entry() local
2202 nd = rb_first_cached(&he->hroot_out); in resort_filtered_entry()
2203 while (nd) { in resort_filtered_entry()
2204 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in resort_filtered_entry()
2206 nd = rb_next(nd); in resort_filtered_entry()
2217 struct rb_node *nd; in hists__filter_hierarchy() local
2225 nd = rb_first_cached(&hists->entries); in hists__filter_hierarchy()
2226 while (nd) { in hists__filter_hierarchy()
2227 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_hierarchy()
2240 nd = __rb_hierarchy_next(&h->rb_node, HMD_FORCE_CHILD); in hists__filter_hierarchy()
2249 nd = __rb_hierarchy_next(&h->rb_node, HMD_FORCE_SIBLING); in hists__filter_hierarchy()
2259 nd = __rb_hierarchy_next(&h->rb_node, HMD_FORCE_SIBLING); in hists__filter_hierarchy()
2269 nd = rb_first_cached(&hists->entries); in hists__filter_hierarchy()
2270 while (nd) { in hists__filter_hierarchy()
2271 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_hierarchy()
2273 nd = rb_next(nd); in hists__filter_hierarchy()
2497 struct rb_node *nd; in hists__match_hierarchy() local
2500 for (nd = rb_first_cached(leader_root); nd; nd = rb_next(nd)) { in hists__match_hierarchy()
2501 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__match_hierarchy()
2517 struct rb_node *nd; in hists__match() local
2531 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__match()
2532 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__match()
2545 struct rb_node *nd; in hists__link_hierarchy() local
2548 for (nd = rb_first_cached(other_root); nd; nd = rb_next(nd)) { in hists__link_hierarchy()
2549 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__link_hierarchy()
2592 struct rb_node *nd; in hists__link() local
2607 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__link()
2608 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__link()
2624 struct rb_node *nd; in hists__unlink() local
2632 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__unlink()
2633 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__unlink()