Lines Matching refs:callchain_node
372 rb_insert_callchain(struct rb_root *root, struct callchain_node *chain, in rb_insert_callchain()
377 struct callchain_node *rnode; in rb_insert_callchain()
384 rnode = rb_entry(parent, struct callchain_node, rb_node); in rb_insert_callchain()
413 __sort_chain_flat(struct rb_root *rb_root, struct callchain_node *node, in __sort_chain_flat()
417 struct callchain_node *child; in __sort_chain_flat()
421 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_flat()
443 static void __sort_chain_graph_abs(struct callchain_node *node, in __sort_chain_graph_abs()
447 struct callchain_node *child; in __sort_chain_graph_abs()
453 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_graph_abs()
471 static void __sort_chain_graph_rel(struct callchain_node *node, in __sort_chain_graph_rel()
475 struct callchain_node *child; in __sort_chain_graph_rel()
483 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_graph_rel()
525 static struct callchain_node *
526 create_child(struct callchain_node *parent, bool inherit_children) in create_child()
528 struct callchain_node *new; in create_child()
541 struct callchain_node *child; in create_child()
548 child = rb_entry(n, struct callchain_node, rb_node_in); in create_child()
566 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node()
629 static struct callchain_node *
630 add_child(struct callchain_node *parent, in add_child()
634 struct callchain_node *new; in add_child()
789 split_add_child(struct callchain_node *parent, in split_add_child()
794 struct callchain_node *new; in split_add_child()
823 struct callchain_node *first; in split_add_child()
843 first = rb_entry(p, struct callchain_node, rb_node_in); in split_add_child()
862 append_chain(struct callchain_node *root,
867 append_chain_children(struct callchain_node *root, in append_chain_children()
871 struct callchain_node *rnode; in append_chain_children()
885 rnode = rb_entry(parent, struct callchain_node, rb_node_in); in append_chain_children()
914 append_chain(struct callchain_node *root, in append_chain()
997 struct callchain_node *dst, struct callchain_node *src) in merge_chain_branch()
1000 struct callchain_node *child; in merge_chain_branch()
1022 child = container_of(n, struct callchain_node, rb_node_in); in merge_chain_branch()
1176 char *callchain_node__scnprintf_value(struct callchain_node *node, in callchain_node__scnprintf_value()
1205 int callchain_node__fprintf_value(struct callchain_node *node, in callchain_node__fprintf_value()
1231 static void callchain_counts_value(struct callchain_node *node, in callchain_counts_value()
1252 static int callchain_node_branch_counts_cumul(struct callchain_node *node, in callchain_node_branch_counts_cumul()
1258 struct callchain_node *child; in callchain_node_branch_counts_cumul()
1263 child = rb_entry(n, struct callchain_node, rb_node_in); in callchain_node_branch_counts_cumul()
1454 static void free_callchain_node(struct callchain_node *node) in free_callchain_node()
1457 struct callchain_node *child; in free_callchain_node()
1474 child = container_of(n, struct callchain_node, rb_node_in); in free_callchain_node()
1491 static u64 decay_callchain_node(struct callchain_node *node) in decay_callchain_node()
1493 struct callchain_node *child; in decay_callchain_node()
1499 child = container_of(n, struct callchain_node, rb_node_in); in decay_callchain_node()
1519 int callchain_node__make_parent_list(struct callchain_node *node) in callchain_node__make_parent_list()
1521 struct callchain_node *parent = node->parent; in callchain_node__make_parent_list()
1635 bool callchain_cnode_matched(struct callchain_node *base_cnode, in callchain_cnode_matched()
1636 struct callchain_node *pair_cnode) in callchain_cnode_matched()
1675 struct callchain_node *node; in count_callchain_hits()
1679 node = rb_entry(rb_node, struct callchain_node, rb_node); in count_callchain_hits()
1703 s64 callchain_avg_cycles(struct callchain_node *cnode) in callchain_avg_cycles()