Home
last modified time | relevance | path

Searched refs:cnode (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/tools/perf/util/
H A Dstream.c71 struct callchain_node *cnode) in evsel_streams__set_hot_cnode()
78 es->streams[i].cnode = cnode; in evsel_streams__set_hot_cnode()
85 * way to find the cnode with smallest hit number and replace. in evsel_streams__set_hot_cnode()
87 hit = (es->streams[0].cnode)->hit; in evsel_streams__set_hot_cnode()
89 if ((es->streams[i].cnode)->hit < hit) { in evsel_streams__set_hot_cnode()
90 hit = (es->streams[i].cnode)->hit; in evsel_streams__set_hot_cnode()
95 if (cnode->hit > hit) in evsel_streams__set_hot_cnode()
96 es->streams[idx].cnode = cnode; in evsel_streams__set_hot_cnode()
70 evsel_streams__set_hot_cnode(struct evsel_streams *es, struct callchain_node *cnode) evsel_streams__set_hot_cnode() argument
104 struct callchain_node *cnode; update_hot_callchain() local
270 struct callchain_node *cnode = stream->cnode; print_stream_callchain() local
[all...]
H A Dcallchain.c711 struct callchain_list *cnode) in match_chain()
717 match = match_chain_strings(cnode->srcline, node->srcline); in match_chain()
723 if (node->ms.sym && cnode->ms.sym) { in match_chain()
730 if (cnode->ms.sym->inlined || node->ms.sym->inlined) { in match_chain()
731 match = match_chain_strings(cnode->ms.sym->name, in match_chain()
736 match = match_chain_dso_addresses(cnode->ms.map, cnode->ms.sym->start, in match_chain()
745 match = match_chain_dso_addresses(cnode->ms.map, cnode->ip, node->ms.map, node->ip); in match_chain()
750 cnode in match_chain()
710 match_chain(struct callchain_cursor_node *node, struct callchain_list *cnode) match_chain() argument
824 struct callchain_list *cnode; split_add_child() local
918 struct callchain_list *cnode; append_chain() local
1703 callchain_avg_cycles(struct callchain_node *cnode) callchain_avg_cycles() argument
[all...]
H A Dstream.h8 struct callchain_node *cnode; member
H A Dmachine.c2410 struct callchain_cursor_node *cnode; in lbr_callchain_add_stitched_lbr_ip() local
2415 cnode = &stitch_node->cursor; in lbr_callchain_add_stitched_lbr_ip()
2417 err = callchain_cursor_append(cursor, cnode->ip, in lbr_callchain_add_stitched_lbr_ip()
2418 &cnode->ms, in lbr_callchain_add_stitched_lbr_ip()
2419 cnode->branch, in lbr_callchain_add_stitched_lbr_ip()
2420 &cnode->branch_flags, in lbr_callchain_add_stitched_lbr_ip()
2421 cnode->nr_loop_iter, in lbr_callchain_add_stitched_lbr_ip()
2422 cnode->iter_cycles, in lbr_callchain_add_stitched_lbr_ip()
2423 cnode->branch_from, in lbr_callchain_add_stitched_lbr_ip()
2424 cnode in lbr_callchain_add_stitched_lbr_ip()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dstream.c71 struct callchain_node *cnode) in evsel_streams__set_hot_cnode()
78 es->streams[i].cnode = cnode; in evsel_streams__set_hot_cnode()
85 * way to find the cnode with smallest hit number and replace. in evsel_streams__set_hot_cnode()
87 hit = (es->streams[0].cnode)->hit; in evsel_streams__set_hot_cnode()
89 if ((es->streams[i].cnode)->hit < hit) { in evsel_streams__set_hot_cnode()
90 hit = (es->streams[i].cnode)->hit; in evsel_streams__set_hot_cnode()
95 if (cnode->hit > hit) in evsel_streams__set_hot_cnode()
96 es->streams[idx].cnode = cnode; in evsel_streams__set_hot_cnode()
70 evsel_streams__set_hot_cnode(struct evsel_streams *es, struct callchain_node *cnode) evsel_streams__set_hot_cnode() argument
104 struct callchain_node *cnode; update_hot_callchain() local
270 struct callchain_node *cnode = stream->cnode; print_stream_callchain() local
[all...]
H A Dcallchain.c720 struct callchain_list *cnode) in match_chain()
726 match = match_chain_strings(cnode->srcline, node->srcline); in match_chain()
732 if (node->ms.sym && cnode->ms.sym) { in match_chain()
739 if (cnode->ms.sym->inlined || node->ms.sym->inlined) { in match_chain()
740 match = match_chain_strings(cnode->ms.sym->name, in match_chain()
745 match = match_chain_dso_addresses(cnode->ms.map, cnode->ms.sym->start, in match_chain()
754 match = match_chain_dso_addresses(cnode->ms.map, cnode->ip, node->ms.map, node->ip); in match_chain()
759 cnode in match_chain()
719 match_chain(struct callchain_cursor_node *node, struct callchain_list *cnode) match_chain() argument
833 struct callchain_list *cnode; split_add_child() local
927 struct callchain_list *cnode; append_chain() local
1772 callchain_avg_cycles(struct callchain_node *cnode) callchain_avg_cycles() argument
[all...]
H A Dstream.h8 struct callchain_node *cnode; member
/kernel/linux/linux-5.10/arch/sparc/prom/
H A Dtree_32.c27 phandle cnode; in __prom_getchild() local
30 cnode = prom_nodeops->no_child(node); in __prom_getchild()
34 return cnode; in __prom_getchild()
42 phandle cnode; in prom_getchild() local
47 cnode = __prom_getchild(node); in prom_getchild()
48 if (cnode == 0 || (s32)cnode == -1) in prom_getchild()
51 return cnode; in prom_getchild()
59 phandle cnode; in __prom_getsibling() local
62 cnode in __prom_getsibling()
[all...]
H A Dtree_64.c45 phandle cnode; in prom_getchild() local
49 cnode = __prom_getchild(node); in prom_getchild()
50 if ((s32)cnode == -1) in prom_getchild()
52 return cnode; in prom_getchild()
58 phandle cnode; in prom_getparent() local
62 cnode = prom_node_to_node("parent", node); in prom_getparent()
63 if ((s32)cnode == -1) in prom_getparent()
65 return cnode; in prom_getparent()
/kernel/linux/linux-6.6/arch/sparc/prom/
H A Dtree_32.c27 phandle cnode; in __prom_getchild() local
30 cnode = prom_nodeops->no_child(node); in __prom_getchild()
34 return cnode; in __prom_getchild()
42 phandle cnode; in prom_getchild() local
47 cnode = __prom_getchild(node); in prom_getchild()
48 if (cnode == 0 || (s32)cnode == -1) in prom_getchild()
51 return cnode; in prom_getchild()
59 phandle cnode; in __prom_getsibling() local
62 cnode in __prom_getsibling()
[all...]
H A Dtree_64.c45 phandle cnode; in prom_getchild() local
49 cnode = __prom_getchild(node); in prom_getchild()
50 if ((s32)cnode == -1) in prom_getchild()
52 return cnode; in prom_getchild()
58 phandle cnode; in prom_getparent() local
62 cnode = prom_node_to_node("parent", node); in prom_getparent()
63 if ((s32)cnode == -1) in prom_getparent()
65 return cnode; in prom_getparent()
/kernel/linux/linux-5.10/fs/ubifs/
H A Dlpt_commit.c24 * first_dirty_cnode - find first dirty cnode.
28 * This function returns the first dirty cnode or %NULL if there is not one.
37 struct ubifs_cnode *cnode; in first_dirty_cnode() local
39 cnode = nnode->nbranch[i].cnode; in first_dirty_cnode()
40 if (cnode && in first_dirty_cnode()
41 test_bit(DIRTY_CNODE, &cnode->flags)) { in first_dirty_cnode()
42 if (cnode->level == 0) in first_dirty_cnode()
43 return cnode; in first_dirty_cnode()
44 nnode = (struct ubifs_nnode *)cnode; in first_dirty_cnode()
61 next_dirty_cnode(const struct ubifs_info *c, struct ubifs_cnode *cnode) next_dirty_cnode() argument
90 struct ubifs_cnode *cnode, *cnext; get_cnodes_to_commit() local
185 struct ubifs_cnode *cnode; layout_cnodes() local
363 struct ubifs_cnode *cnode; write_cnodes() local
1258 struct ubifs_cnode *cnode, *cnext; free_obsolete_cnodes() local
[all...]
H A Dlpt.c1539 if (branch->cnode) in dirty_cow_nnode()
1540 branch->cnode->parent = n; in dirty_cow_nnode()
1656 struct ubifs_cnode *cnode; in ubifs_lpt_calc_hash() local
1682 cnode = (struct ubifs_cnode *)c->nroot; in ubifs_lpt_calc_hash()
1684 while (cnode) { in ubifs_lpt_calc_hash()
1685 nnode = cnode->parent; in ubifs_lpt_calc_hash()
1686 nn = (struct ubifs_nnode *)cnode; in ubifs_lpt_calc_hash()
1687 if (cnode->level > 1) { in ubifs_lpt_calc_hash()
1703 cnode = (struct ubifs_cnode *)nnode; in ubifs_lpt_calc_hash()
1728 iip = cnode in ubifs_lpt_calc_hash()
1930 struct ubifs_cnode cnode; global() member
1936 struct ubifs_cnode *cnode; global() member
2380 dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode, int row, int col) dbg_check_lpt_nodes() argument
[all...]
/kernel/linux/linux-6.6/fs/ubifs/
H A Dlpt_commit.c24 * first_dirty_cnode - find first dirty cnode.
28 * This function returns the first dirty cnode or %NULL if there is not one.
37 struct ubifs_cnode *cnode; in first_dirty_cnode() local
39 cnode = nnode->nbranch[i].cnode; in first_dirty_cnode()
40 if (cnode && in first_dirty_cnode()
41 test_bit(DIRTY_CNODE, &cnode->flags)) { in first_dirty_cnode()
42 if (cnode->level == 0) in first_dirty_cnode()
43 return cnode; in first_dirty_cnode()
44 nnode = (struct ubifs_nnode *)cnode; in first_dirty_cnode()
61 next_dirty_cnode(const struct ubifs_info *c, struct ubifs_cnode *cnode) next_dirty_cnode() argument
90 struct ubifs_cnode *cnode, *cnext; get_cnodes_to_commit() local
185 struct ubifs_cnode *cnode; layout_cnodes() local
363 struct ubifs_cnode *cnode; write_cnodes() local
1258 struct ubifs_cnode *cnode, *cnext; free_obsolete_cnodes() local
[all...]
H A Dlpt.c1539 if (branch->cnode) in dirty_cow_nnode()
1540 branch->cnode->parent = n; in dirty_cow_nnode()
1656 struct ubifs_cnode *cnode; in ubifs_lpt_calc_hash() local
1682 cnode = (struct ubifs_cnode *)c->nroot; in ubifs_lpt_calc_hash()
1684 while (cnode) { in ubifs_lpt_calc_hash()
1685 nnode = cnode->parent; in ubifs_lpt_calc_hash()
1686 nn = (struct ubifs_nnode *)cnode; in ubifs_lpt_calc_hash()
1687 if (cnode->level > 1) { in ubifs_lpt_calc_hash()
1703 cnode = (struct ubifs_cnode *)nnode; in ubifs_lpt_calc_hash()
1728 iip = cnode in ubifs_lpt_calc_hash()
1930 struct ubifs_cnode cnode; global() member
1936 struct ubifs_cnode *cnode; global() member
2380 dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode, int row, int col) dbg_check_lpt_nodes() argument
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Duv_sysfs.c61 static union geoid_u cnode_to_geoid(int cnode) in cnode_to_geoid() argument
65 uv_bios_get_geoinfo(ordinal_to_nasid(cnode), (u64)sizeof(union geoid_u), (u64 *)&geoid); in cnode_to_geoid()
84 int cnode; in cache_obj_to_cnode() local
95 for (cnode = 0; cnode < num_cnodes; cnode++) { in cache_obj_to_cnode()
96 geoid = cnode_to_geoid(cnode); in cache_obj_to_cnode()
101 prev_obj_to_cnode[obj->id] = cnode; in cache_obj_to_cnode()
141 int cnode = get_obj_to_cnode(hub_info->id); in hub_nasid_show() local
143 return sprintf(buf, "%d\n", ordinal_to_nasid(cnode)); in hub_nasid_show()
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/stdio/
H A Dhist.c208 struct callchain_node *cnode; in need_percent_display() local
213 cnode = rb_entry(node, struct callchain_node, rb_node); in need_percent_display()
214 return callchain_cumul_hits(cnode) != parent_samples; in need_percent_display()
221 struct callchain_node *cnode; in callchain__fprintf_graph() local
232 cnode = rb_entry(node, struct callchain_node, rb_node); in callchain__fprintf_graph()
233 list_for_each_entry(chain, &cnode->val, list) { in callchain__fprintf_graph()
266 root = &cnode->rb_root; in callchain__fprintf_graph()
/kernel/linux/linux-6.6/tools/perf/ui/stdio/
H A Dhist.c208 struct callchain_node *cnode; in need_percent_display() local
213 cnode = rb_entry(node, struct callchain_node, rb_node); in need_percent_display()
214 return callchain_cumul_hits(cnode) != parent_samples; in need_percent_display()
221 struct callchain_node *cnode; in callchain__fprintf_graph() local
232 cnode = rb_entry(node, struct callchain_node, rb_node); in callchain__fprintf_graph()
233 list_for_each_entry(chain, &cnode->val, list) { in callchain__fprintf_graph()
266 root = &cnode->rb_root; in callchain__fprintf_graph()
/kernel/linux/linux-5.10/fs/coda/
H A DMakefile8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/kernel/linux/linux-6.6/fs/coda/
H A DMakefile8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dcompaction-times.py69 class cnode: class
110 val = cnode(0);
162 self.val = cnode(0)
173 self.pending = cnode(ns(secs, nsecs))
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dcompaction-times.py69 class cnode: class
110 val = cnode(0);
162 self.val = cnode(0)
173 self.pending = cnode(ns(secs, nsecs))
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dhists_cumulate.c185 struct callchain_node *cnode; in do_test() local
225 cnode = rb_entry(rb_first(root), struct callchain_node, rb_node); in do_test()
228 list_for_each_entry(clist, &cnode->val, list) { in do_test()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dhists_cumulate.c198 struct callchain_node *cnode; in do_test() local
238 cnode = rb_entry(rb_first(root), struct callchain_node, rb_node); in do_test()
241 list_for_each_entry(clist, &cnode->val, list) { in do_test()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dopenprom.h267 int cnode; member

Completed in 24 milliseconds

12