Lines Matching refs:nd
2146 struct rb_node *nd; in hists__filter_by_type() local
2153 for (nd = rb_first_cached(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_type()
2154 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_by_type()
2170 struct rb_node *nd; in resort_filtered_entry() local
2191 nd = rb_first_cached(&he->hroot_out); in resort_filtered_entry()
2192 while (nd) { in resort_filtered_entry()
2193 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in resort_filtered_entry()
2195 nd = rb_next(nd); in resort_filtered_entry()
2206 struct rb_node *nd; in hists__filter_hierarchy() local
2214 nd = rb_first_cached(&hists->entries); in hists__filter_hierarchy()
2215 while (nd) { in hists__filter_hierarchy()
2216 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_hierarchy()
2229 nd = __rb_hierarchy_next(&h->rb_node, HMD_FORCE_CHILD); in hists__filter_hierarchy()
2238 nd = __rb_hierarchy_next(&h->rb_node, HMD_FORCE_SIBLING); in hists__filter_hierarchy()
2248 nd = __rb_hierarchy_next(&h->rb_node, HMD_FORCE_SIBLING); in hists__filter_hierarchy()
2258 nd = rb_first_cached(&hists->entries); in hists__filter_hierarchy()
2259 while (nd) { in hists__filter_hierarchy()
2260 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_hierarchy()
2262 nd = rb_next(nd); in hists__filter_hierarchy()
2486 struct rb_node *nd; in hists__match_hierarchy() local
2489 for (nd = rb_first_cached(leader_root); nd; nd = rb_next(nd)) { in hists__match_hierarchy()
2490 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__match_hierarchy()
2506 struct rb_node *nd; in hists__match() local
2520 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__match()
2521 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__match()
2534 struct rb_node *nd; in hists__link_hierarchy() local
2537 for (nd = rb_first_cached(other_root); nd; nd = rb_next(nd)) { in hists__link_hierarchy()
2538 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__link_hierarchy()
2581 struct rb_node *nd; in hists__link() local
2596 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__link()
2597 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__link()
2613 struct rb_node *nd; in hists__unlink() local
2621 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__unlink()
2622 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__unlink()