Lines Matching refs:unfold

171 static void callchain_list__set_folding(struct callchain_list *cl, bool unfold)  in callchain_list__set_folding()  argument
173 cl->unfolded = unfold ? cl->has_children : false; in callchain_list__set_folding()
515 static int callchain_node__set_folding_rb_tree(struct callchain_node *node, bool unfold) in callchain_node__set_folding_rb_tree() argument
527 callchain_list__set_folding(chain, unfold); in callchain_node__set_folding_rb_tree()
532 n += callchain_node__set_folding_rb_tree(child, unfold); in callchain_node__set_folding_rb_tree()
538 static int callchain_node__set_folding(struct callchain_node *node, bool unfold) in callchain_node__set_folding() argument
546 callchain_list__set_folding(chain, unfold); in callchain_node__set_folding()
551 n += callchain_node__set_folding_rb_tree(node, unfold); in callchain_node__set_folding()
556 static int callchain__set_folding(struct rb_root *chain, bool unfold) in callchain__set_folding() argument
563 n += callchain_node__set_folding(node, unfold); in callchain__set_folding()
570 bool unfold __maybe_unused) in hierarchy_set_folding()
588 struct hist_browser *hb, bool unfold) in __hist_entry__set_folding() argument
591 he->unfolded = unfold ? he->has_children : false; in __hist_entry__set_folding()
597 n = callchain__set_folding(&he->sorted_chain, unfold); in __hist_entry__set_folding()
599 n = hierarchy_set_folding(hb, he, unfold); in __hist_entry__set_folding()
601 he->nr_rows = unfold ? n : 0; in __hist_entry__set_folding()
607 struct hist_browser *browser, bool unfold) in hist_entry__set_folding() argument
615 __hist_entry__set_folding(he, browser, unfold); in hist_entry__set_folding()
617 if (!he->depth || unfold) in hist_entry__set_folding()
621 else if (unfold && !hist_entry__has_hierarchy_children(he, browser->min_pcnt)) { in hist_entry__set_folding()
630 __hist_browser__set_folding(struct hist_browser *browser, bool unfold) in __hist_browser__set_folding() argument
642 hist_entry__set_folding(he, browser, unfold); in __hist_browser__set_folding()
646 static void hist_browser__set_folding(struct hist_browser *browser, bool unfold) in hist_browser__set_folding() argument
650 __hist_browser__set_folding(browser, unfold); in hist_browser__set_folding()
657 static void hist_browser__set_folding_selected(struct hist_browser *browser, bool unfold) in hist_browser__set_folding_selected() argument
662 hist_entry__set_folding(browser->he_selection, browser, unfold); in hist_browser__set_folding_selected()