Home
last modified time | relevance | path

Searched refs:cnode (Results 1 – 22 of 22) sorted by relevance

/linux-6.15/tools/perf/util/
H A Dstream.c70 struct callchain_node *cnode) in evsel_streams__set_hot_cnode() argument
77 es->streams[i].cnode = cnode; in evsel_streams__set_hot_cnode()
86 hit = (es->streams[0].cnode)->hit; in evsel_streams__set_hot_cnode()
88 if ((es->streams[i].cnode)->hit < hit) { in evsel_streams__set_hot_cnode()
89 hit = (es->streams[i].cnode)->hit; in evsel_streams__set_hot_cnode()
94 if (cnode->hit > hit) in evsel_streams__set_hot_cnode()
95 es->streams[idx].cnode = cnode; in evsel_streams__set_hot_cnode()
103 struct callchain_node *cnode; in update_hot_callchain() local
107 evsel_streams__set_hot_cnode(es, cnode); in update_hot_callchain()
187 pair_stream->cnode)) { in stream__callchain_match()
[all …]
H A Dcallchain.c752 match = match_chain_dso_addresses(cnode->ms.map, cnode->ms.sym->start, in match_chain()
761 match = match_chain_dso_addresses(cnode->ms.map, cnode->ip, node->ms.map, node->ip); in match_chain()
766 cnode->branch_count++; in match_chain()
772 if (!cnode->brtype_stat) { in match_chain()
773 cnode->brtype_stat = zalloc(sizeof(*cnode->brtype_stat)); in match_chain()
774 if (!cnode->brtype_stat) { in match_chain()
782 cnode->predicted_count++; in match_chain()
785 cnode->abort_count++; in match_chain()
795 if (cnode->brtype_stat && cnode->brtype_stat->branch_to) in match_chain()
800 cnode->from_count++; in match_chain()
[all …]
H A Dstream.h10 struct callchain_node *cnode; member
H A Dmachine.c2403 struct callchain_cursor_node *cnode; in lbr_callchain_add_stitched_lbr_ip() local
2408 cnode = &stitch_node->cursor; in lbr_callchain_add_stitched_lbr_ip()
2410 err = callchain_cursor_append(cursor, cnode->ip, in lbr_callchain_add_stitched_lbr_ip()
2411 &cnode->ms, in lbr_callchain_add_stitched_lbr_ip()
2412 cnode->branch, in lbr_callchain_add_stitched_lbr_ip()
2413 &cnode->branch_flags, in lbr_callchain_add_stitched_lbr_ip()
2414 cnode->nr_loop_iter, in lbr_callchain_add_stitched_lbr_ip()
2415 cnode->iter_cycles, in lbr_callchain_add_stitched_lbr_ip()
2416 cnode->branch_from, in lbr_callchain_add_stitched_lbr_ip()
2417 cnode->srcline); in lbr_callchain_add_stitched_lbr_ip()
H A Dcallchain.h312 s64 callchain_avg_cycles(struct callchain_node *cnode);
/linux-6.15/tools/bootconfig/
H A Dmain.c46 if (!cnode) in xbc_show_compact_tree()
48 while (cnode && xbc_node_is_key(cnode) && !cnode->next) { in xbc_show_compact_tree()
64 node = cnode; in xbc_show_compact_tree()
65 cnode = vnode; in xbc_show_compact_tree()
67 if (cnode && xbc_node_is_key(cnode)) { in xbc_show_compact_tree()
70 node = cnode; in xbc_show_compact_tree()
71 cnode = NULL; in xbc_show_compact_tree()
73 } else if (cnode && xbc_node_is_value(cnode)) { in xbc_show_compact_tree()
80 if (cnode->next) { in xbc_show_compact_tree()
81 cnode = xbc_node_get_next(cnode); in xbc_show_compact_tree()
[all …]
/linux-6.15/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 = prom_nodeops->no_nextnode(node); in __prom_getsibling()
66 return cnode; in __prom_getsibling()
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()
/linux-6.15/fs/ubifs/
H A Dlpt_commit.c39 cnode = nnode->nbranch[i].cnode; in first_dirty_cnode()
40 if (cnode && in first_dirty_cnode()
71 cnode = nnode->nbranch[i].cnode; in next_dirty_cnode()
72 if (cnode && test_bit(DIRTY_CNODE, &cnode->flags)) { in next_dirty_cnode()
101 if (!cnode) in get_cnodes_to_commit()
252 cnode->parent->nbranch[cnode->iip].lnum = lnum; in layout_cnodes()
253 cnode->parent->nbranch[cnode->iip].offs = offs; in layout_cnodes()
260 cnode = cnode->cnext; in layout_cnodes()
261 } while (cnode && cnode != c->lpt_cnext); in layout_cnodes()
456 cnode = cnode->cnext; in write_cnodes()
[all …]
H A Dlpt.c1539 if (branch->cnode) in dirty_cow_nnode()
1684 while (cnode) { in ubifs_lpt_calc_hash()
1685 nnode = cnode->parent; in ubifs_lpt_calc_hash()
1687 if (cnode->level > 1) { in ubifs_lpt_calc_hash()
1728 iip = cnode->iip + 1; in ubifs_lpt_calc_hash()
2391 while (cnode) { in dbg_check_lpt_nodes()
2393 nnode = cnode->parent; in dbg_check_lpt_nodes()
2394 if (cnode->level) { in dbg_check_lpt_nodes()
2399 cnode->num, num, in dbg_check_lpt_nodes()
2412 cnode = cn; in dbg_check_lpt_nodes()
[all …]
H A Ddebug.h286 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
H A Dubifs.h591 struct ubifs_cnode *cnode; member
/linux-6.15/drivers/platform/x86/
H A Duv_sysfs.c62 static union geoid_u cnode_to_geoid(int cnode) in cnode_to_geoid() argument
66 uv_bios_get_geoinfo(ordinal_to_nasid(cnode), (u64)sizeof(union geoid_u), (u64 *)&geoid); in cnode_to_geoid()
85 int cnode; in cache_obj_to_cnode() local
96 for (cnode = 0; cnode < num_cnodes; cnode++) { in cache_obj_to_cnode()
97 geoid = cnode_to_geoid(cnode); in cache_obj_to_cnode()
102 prev_obj_to_cnode[obj->id] = cnode; in cache_obj_to_cnode()
142 int cnode = get_obj_to_cnode(hub_info->id); in hub_nasid_show() local
144 return sysfs_emit(buf, "%d\n", ordinal_to_nasid(cnode)); in hub_nasid_show()
168 __ATTR(cnode, 0444, hub_cnode_show, NULL);
/linux-6.15/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))
/linux-6.15/tools/perf/ui/stdio/
H A Dhist.c212 struct callchain_node *cnode; in need_percent_display() local
217 cnode = rb_entry(node, struct callchain_node, rb_node); in need_percent_display()
218 return callchain_cumul_hits(cnode) != parent_samples; in need_percent_display()
225 struct callchain_node *cnode; in callchain__fprintf_graph() local
236 cnode = rb_entry(node, struct callchain_node, rb_node); in callchain__fprintf_graph()
237 list_for_each_entry(chain, &cnode->val, list) { in callchain__fprintf_graph()
270 root = &cnode->rb_root; in callchain__fprintf_graph()
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-firmware-sgi_uv61 cnode
68 The cnode entry contains the cnode number of the corresponding hub.
69 If a cnode value is not applicable, the value returned will be -1.
/linux-6.15/fs/coda/
H A DMakefile8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/linux-6.15/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()
/linux-6.15/arch/sparc/include/asm/
H A Dopenprom.h267 int cnode; member
/linux-6.15/Documentation/filesystems/
H A Dcoda.rst778 ViceFid sourceFid; /* cnode to link *to* */
1417 2. the cnode of the directory containing the object
1421 4. the cnode of the object
1423 The lookup call in the Coda FS Driver may request the cnode of the
1425 CodaCred's of the caller. The cache will return the cnode or indicate
/linux-6.15/fs/nilfs2/
H A Dbtree.c2135 struct nilfs_btree_node *node, *cnode; in nilfs_btree_add_dirty_buffer() local
2156 cnode = (struct nilfs_btree_node *)cbh->b_data; in nilfs_btree_add_dirty_buffer()
2157 ckey = nilfs_btree_node_get_key(cnode, 0); in nilfs_btree_add_dirty_buffer()
/linux-6.15/tools/power/pm-graph/
H A Dsleepgraph.py2084 cnode = self.masterTopology(cname, clist, depth+1)
2085 node.children.append(cnode)
2106 for cnode in node.children:
2107 html += self.printTopology(cnode)