/openbmc/linux/tools/perf/util/ |
H A D | stream.c | 71 struct callchain_node *cnode) in evsel_streams__set_hot_cnode() argument 78 es->streams[i].cnode = cnode; 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() 104 struct callchain_node *cnode; in update_hot_callchain() local 107 cnode = rb_entry(rb_node, struct callchain_node, rb_node); in update_hot_callchain() 108 evsel_streams__set_hot_cnode(es, cnode); in update_hot_callchain() [all …]
|
H A D | callchain.c | 720 struct callchain_list *cnode) in match_chain() argument 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->branch_count++; in match_chain() 765 cnode->brtype_stat.branch_to = true; in match_chain() 768 cnode->predicted_count++; in match_chain() [all …]
|
H A D | stream.h | 8 struct callchain_node *cnode; member
|
H A D | machine.c | 2651 struct callchain_cursor_node *cnode; in lbr_callchain_add_stitched_lbr_ip() local 2656 cnode = &stitch_node->cursor; in lbr_callchain_add_stitched_lbr_ip() 2658 err = callchain_cursor_append(cursor, cnode->ip, in lbr_callchain_add_stitched_lbr_ip() 2659 &cnode->ms, in lbr_callchain_add_stitched_lbr_ip() 2660 cnode->branch, in lbr_callchain_add_stitched_lbr_ip() 2661 &cnode->branch_flags, in lbr_callchain_add_stitched_lbr_ip() 2662 cnode->nr_loop_iter, in lbr_callchain_add_stitched_lbr_ip() 2663 cnode->iter_cycles, in lbr_callchain_add_stitched_lbr_ip() 2664 cnode->branch_from, in lbr_callchain_add_stitched_lbr_ip() 2665 cnode->srcline); in lbr_callchain_add_stitched_lbr_ip()
|
H A D | callchain.h | 312 s64 callchain_avg_cycles(struct callchain_node *cnode);
|
/openbmc/linux/tools/bootconfig/ |
H A D | main.c | 39 struct xbc_node *node, *cnode = NULL, *vnode; in xbc_show_compact_tree() local 46 if (!cnode) in xbc_show_compact_tree() 47 cnode = xbc_node_get_child(node); in xbc_show_compact_tree() 48 while (cnode && xbc_node_is_key(cnode) && !cnode->next) { in xbc_show_compact_tree() 49 vnode = xbc_node_get_child(cnode); 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() [all …]
|
/openbmc/linux/fs/ubifs/ |
H A D | lpt_commit.c | 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 static struct ubifs_cnode *next_dirty_cnode(const struct ubifs_info *c, struct ubifs_cnode *cnode) in next_dirty_cnode() argument 66 ubifs_assert(c, cnode); in next_dirty_cnode() 67 nnode = cnode->parent; in next_dirty_cnode() [all …]
|
H A D | lpt.c | 1539 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->iip + 1; in ubifs_lpt_calc_hash() [all …]
|
H A D | debug.h | 285 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
|
H A D | ubifs.h | 603 struct ubifs_cnode *cnode; member
|
/openbmc/u-boot/fs/ubifs/ |
H A D | lpt_commit.c | 45 struct ubifs_cnode *cnode; in first_dirty_cnode() local 47 cnode = nnode->nbranch[i].cnode; in first_dirty_cnode() 48 if (cnode && in first_dirty_cnode() 49 test_bit(DIRTY_CNODE, &cnode->flags)) { in first_dirty_cnode() 50 if (cnode->level == 0) in first_dirty_cnode() 51 return cnode; in first_dirty_cnode() 52 nnode = (struct ubifs_nnode *)cnode; in first_dirty_cnode() 68 static struct ubifs_cnode *next_dirty_cnode(struct ubifs_cnode *cnode) in next_dirty_cnode() argument 73 ubifs_assert(cnode); in next_dirty_cnode() 74 nnode = cnode->parent; in next_dirty_cnode() [all …]
|
H A D | lpt.c | 1513 if (branch->cnode) in dirty_cow_nnode() 1514 branch->cnode->parent = n; in dirty_cow_nnode() 1778 struct ubifs_cnode cnode; member 1784 struct ubifs_cnode *cnode; member 2005 path[h + 1].cnode.parent = nnode; in ubifs_lpt_scan_nolock() 2228 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode, in dbg_check_lpt_nodes() argument 2238 while (cnode) { in dbg_check_lpt_nodes() 2240 nnode = cnode->parent; in dbg_check_lpt_nodes() 2241 if (cnode->level) { in dbg_check_lpt_nodes() 2244 if (cnode->num != num) { in dbg_check_lpt_nodes() [all …]
|
H A D | debug.h | 350 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
|
/openbmc/linux/arch/sparc/prom/ |
H A D | tree_32.c | 27 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 D | tree_64.c | 45 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()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | uv_sysfs.c | 61 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() 167 __ATTR(cnode, 0444, hub_cnode_show, NULL);
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | compaction-times.py | 69 class cnode: class 110 val = cnode(0); 162 self.val = cnode(0) 173 self.pending = cnode(ns(secs, nsecs))
|
/openbmc/linux/tools/perf/ui/stdio/ |
H A D | hist.c | 208 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()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-sgi_uv | 61 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.
|
/openbmc/linux/fs/coda/ |
H A D | Makefile | 8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
|
/openbmc/linux/tools/perf/tests/ |
H A D | hists_cumulate.c | 198 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()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | openprom.h | 267 int cnode; member
|
/openbmc/linux/Documentation/filesystems/ |
H A D | coda.rst | 778 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
|
/openbmc/qemu/target/xtensa/ |
H A D | translate.c | 769 struct tsnode *cnode = node + node_idx; in tsort() local 771 if (cnode->n_in_edge) { in tsort() 772 for (j = 0; j < cnode->n_out_edge; ++j) { in tsort() 773 unsigned k = cnode->out_edge[j]; in tsort() 781 cnode->out_edge[j] = in tsort() 782 cnode->out_edge[cnode->n_out_edge - 1]; in tsort() 783 --cnode->n_out_edge; in tsort()
|
/openbmc/linux/fs/nilfs2/ |
H A D | btree.c | 2127 struct nilfs_btree_node *node, *cnode; in nilfs_btree_add_dirty_buffer() local 2148 cnode = (struct nilfs_btree_node *)cbh->b_data; in nilfs_btree_add_dirty_buffer() 2149 ckey = nilfs_btree_node_get_key(cnode, 0); in nilfs_btree_add_dirty_buffer()
|