Home
last modified time | relevance | path

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

/linux/tools/bootconfig/
H A Dmain.c44 struct xbc_node *node, *cnode = NULL, *vnode; in xbc_show_compact_tree() local
51 if (!cnode) in xbc_show_compact_tree()
52 cnode = xbc_node_get_child(node); in xbc_show_compact_tree()
53 while (cnode && xbc_node_is_key(cnode) && !cnode->next) { in xbc_show_compact_tree()
54 vnode = xbc_node_get_child(cnode); in xbc_show_compact_tree()
69 node = cnode; in xbc_show_compact_tree()
70 cnode = vnode; in xbc_show_compact_tree()
72 if (cnode && xbc_node_is_key(cnode)) { in xbc_show_compact_tree()
75 node = cnode; in xbc_show_compact_tree()
76 cnode = NULL; in xbc_show_compact_tree()
[all …]
/linux/fs/ubifs/
H A Dlpt_commit.c37 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 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->iip + 1; in ubifs_lpt_calc_hash()
[all …]
H A Ddebug.h286 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
H A Dubifs.h595 struct ubifs_cnode *cnode; member
/linux/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()
/linux/tools/perf/util/
H A Dcallchain.c737 struct callchain_list *cnode) in match_chain() argument
743 match = match_chain_strings(cnode->srcline, node->srcline); in match_chain()
749 if (node->ms.sym && cnode->ms.sym) { in match_chain()
756 if (cnode->ms.sym->inlined || node->ms.sym->inlined) { in match_chain()
757 match = match_chain_strings(cnode->ms.sym->name, in match_chain()
762 match = match_chain_dso_addresses(cnode->ms.map, cnode->ms.sym->start, in match_chain()
771 match = match_chain_dso_addresses(cnode->ms.map, cnode->ip, node->ms.map, node->ip); in match_chain()
776 cnode->branch_count++; in match_chain()
782 if (!cnode->brtype_stat) { in match_chain()
783 cnode->brtype_stat = zalloc(sizeof(*cnode->brtype_stat)); in match_chain()
[all …]
H A Dmachine.c2441 struct callchain_cursor_node *cnode; in lbr_callchain_add_stitched_lbr_ip() local
2446 cnode = &stitch_node->cursor; in lbr_callchain_add_stitched_lbr_ip()
2448 err = callchain_cursor_append(cursor, cnode->ip, in lbr_callchain_add_stitched_lbr_ip()
2449 &cnode->ms, in lbr_callchain_add_stitched_lbr_ip()
2450 cnode->branch, in lbr_callchain_add_stitched_lbr_ip()
2451 &cnode->branch_flags, in lbr_callchain_add_stitched_lbr_ip()
2452 cnode->nr_loop_iter, in lbr_callchain_add_stitched_lbr_ip()
2453 cnode->iter_cycles, in lbr_callchain_add_stitched_lbr_ip()
2454 cnode->branch_from, in lbr_callchain_add_stitched_lbr_ip()
2455 cnode->srcline); in lbr_callchain_add_stitched_lbr_ip()
H A Dcallchain.h313 s64 callchain_avg_cycles(struct callchain_node *cnode);
/linux/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/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/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/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/fs/coda/
H A DMakefile8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/linux/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/fs/nilfs2/
H A Dbtree.c2137 struct nilfs_btree_node *node, *cnode; in nilfs_btree_add_dirty_buffer() local
2158 cnode = (struct nilfs_btree_node *)cbh->b_data; in nilfs_btree_add_dirty_buffer()
2159 ckey = nilfs_btree_node_get_key(cnode, 0); in nilfs_btree_add_dirty_buffer()
/linux/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)