Lines Matching refs:unfold
172 static void callchain_list__set_folding(struct callchain_list *cl, bool unfold) in callchain_list__set_folding() argument
174 cl->unfolded = unfold ? cl->has_children : false; in callchain_list__set_folding()
511 static int callchain_node__set_folding_rb_tree(struct callchain_node *node, bool unfold) in callchain_node__set_folding_rb_tree() argument
523 callchain_list__set_folding(chain, unfold); in callchain_node__set_folding_rb_tree()
528 n += callchain_node__set_folding_rb_tree(child, unfold); in callchain_node__set_folding_rb_tree()
534 static int callchain_node__set_folding(struct callchain_node *node, bool unfold) in callchain_node__set_folding() argument
542 callchain_list__set_folding(chain, unfold); in callchain_node__set_folding()
547 n += callchain_node__set_folding_rb_tree(node, unfold); in callchain_node__set_folding()
552 static int callchain__set_folding(struct rb_root *chain, bool unfold) in callchain__set_folding() argument
559 n += callchain_node__set_folding(node, unfold); in callchain__set_folding()
566 bool unfold __maybe_unused) in hierarchy_set_folding()
584 struct hist_browser *hb, bool unfold) in hist_entry__set_folding() argument
587 he->unfolded = unfold ? he->has_children : false; in hist_entry__set_folding()
593 n = callchain__set_folding(&he->sorted_chain, unfold); in hist_entry__set_folding()
595 n = hierarchy_set_folding(hb, he, unfold); in hist_entry__set_folding()
597 he->nr_rows = unfold ? n : 0; in hist_entry__set_folding()
603 __hist_browser__set_folding(struct hist_browser *browser, bool unfold) in __hist_browser__set_folding() argument
616 hist_entry__set_folding(he, browser, unfold); in __hist_browser__set_folding()
622 if (!he->depth || unfold) in __hist_browser__set_folding()
626 else if (unfold && !hist_entry__has_hierarchy_children(he, browser->min_pcnt)) { in __hist_browser__set_folding()
635 static void hist_browser__set_folding(struct hist_browser *browser, bool unfold) in hist_browser__set_folding() argument
639 __hist_browser__set_folding(browser, unfold); in hist_browser__set_folding()
646 static void hist_browser__set_folding_selected(struct hist_browser *browser, bool unfold) in hist_browser__set_folding_selected() argument
651 if (unfold == browser->he_selection->unfolded) in hist_browser__set_folding_selected()