Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/mips/sgi-ip27/
Dip27-klnuma.c41 cnodeid_t cnode; in setup_replication_mask() local
43 for_each_online_node(cnode) { in setup_replication_mask()
44 if (cnode == 0) in setup_replication_mask()
47 cpumask_set_cpu(cnode, &ktext_repmask); in setup_replication_mask()
88 cnodeid_t cnode; in replicate_kernel_text() local
97 for_each_online_node(cnode) { in replicate_kernel_text()
98 if (cnode == 0) in replicate_kernel_text()
100 client_nasid = COMPACT_TO_NASID_NODEID(cnode); in replicate_kernel_text()
103 if (cpumask_test_cpu(cnode, &ktext_repmask)) { in replicate_kernel_text()
118 unsigned long node_getfirstfree(cnodeid_t cnode) in node_getfirstfree() argument
[all …]
Dip27-init.c55 static void per_hub_init(cnodeid_t cnode) in per_hub_init() argument
57 struct hub_data *hub = hub_data(cnode); in per_hub_init()
58 nasid_t nasid = COMPACT_TO_NASID_NODEID(cnode); in per_hub_init()
62 if (test_and_set_bit(cnode, hub_init_mask)) in per_hub_init()
70 hub_rtc_init(cnode); in per_hub_init()
86 cnodeid_t cnode = get_compact_nodeid(); in per_cpu_init() local
87 struct hub_data *hub = hub_data(cnode); in per_cpu_init()
94 per_hub_init(cnode); in per_cpu_init()
Dip27-memory.c47 static u64 get_region(cnodeid_t cnode) in get_region() argument
50 return COMPACT_TO_NASID_NODEID(cnode) >> NASID_TO_FINEREG_SHFT; in get_region()
52 return COMPACT_TO_NASID_NODEID(cnode) >> NASID_TO_COARSEREG_SHFT; in get_region()
59 cnodeid_t cnode; in gen_region_mask() local
62 for_each_online_node(cnode) { in gen_region_mask()
63 (*region_mask) |= 1ULL << get_region(cnode); in gen_region_mask()
114 cnodeid_t cnode; in compute_node_distance() local
119 for_each_online_node(cnode) { in compute_node_distance()
120 nasid = COMPACT_TO_NASID_NODEID(cnode); in compute_node_distance()
199 cnodeid_t cnode; in dump_topology() local
[all …]
Dip27-hubio.c28 unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget, in hub_pio_map() argument
31 nasid_t nasid = COMPACT_TO_NASID_NODEID(cnode); in hub_pio_map()
47 if (test_and_set_bit(i, hub_data(cnode)->h_bigwin_used)) in hub_pio_map()
174 void hub_pio_init(cnodeid_t cnode) in hub_pio_init() argument
176 nasid_t nasid = COMPACT_TO_NASID_NODEID(cnode); in hub_pio_init()
180 bitmap_zero(hub_data(cnode)->h_bigwin_used, HUB_NUM_BIG_WINDOW); in hub_pio_init()
Dip27-nmi.c155 void nmi_node_eframe_save(cnodeid_t cnode) in nmi_node_eframe_save() argument
161 if (cnode == CNODEID_NONE) in nmi_node_eframe_save()
164 nasid = COMPACT_TO_NASID_NODEID(cnode); in nmi_node_eframe_save()
181 cnodeid_t cnode; in nmi_eframes_save() local
183 for_each_online_node(cnode) in nmi_eframes_save()
184 nmi_node_eframe_save(cnode); in nmi_eframes_save()
Dip27-smp.c61 static int do_cpumask(cnodeid_t cnode, nasid_t nasid, int highest) in do_cpumask() argument
77 cpuid_to_compact_node[cpuid] = cnode; in do_cpumask()
211 cnodeid_t cnode; in ip27_smp_setup() local
213 for_each_online_node(cnode) { in ip27_smp_setup()
214 if (cnode == 0) in ip27_smp_setup()
216 intr_clear_all(COMPACT_TO_NASID_NODEID(cnode)); in ip27_smp_setup()
Dip27-klconfig.c106 cnodeid_t cnode; in sn_get_cpuinfo() local
113 cnode = get_cpu_cnode(cpu); in sn_get_cpuinfo()
114 if (cnode == INVALID_CNODEID) in sn_get_cpuinfo()
117 if ((nasid = gdap->g_nasidtable[cnode]) == INVALID_NASID) in sn_get_cpuinfo()
Dip27-xtalk.c176 cnodeid_t cnode; in xtalk_init() local
178 for_each_online_node(cnode) in xtalk_init()
179 xtalk_probe_node(cnode); in xtalk_init()
Dip27-timer.c173 void hub_rtc_init(cnodeid_t cnode) in hub_rtc_init() argument
181 if (get_compact_nodeid() == cnode) { in hub_rtc_init()
/Linux-v5.4/arch/sparc/prom/
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()
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-v5.4/fs/ubifs/
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 …]
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 …]
Ddebug.h286 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
/Linux-v5.4/tools/perf/util/
Dcallchain.c711 struct callchain_list *cnode) in match_chain() argument
717 match = match_chain_strings(cnode->srcline, node->srcline); in match_chain()
723 if (node->sym && cnode->ms.sym) { in match_chain()
730 if (cnode->ms.sym->inlined || node->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->map, node->ip); in match_chain()
750 cnode->branch_count++; in match_chain()
756 cnode->brtype_stat.branch_to = true; in match_chain()
759 cnode->predicted_count++; in match_chain()
[all …]
/Linux-v5.4/arch/mips/include/asm/sn/
Dhub.h13 extern unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget,
15 extern void hub_pio_init(cnodeid_t cnode);
Darch.h59 #define COMPACT_TO_NASID_NODEID(cnode) (compact_to_nasid_node[cnode]) argument
/Linux-v5.4/tools/perf/scripts/python/
Dcompaction-times.py69 class cnode: class
110 val = cnode(0);
162 self.val = cnode(0)
173 self.pending = cnode(ns(secs, nsecs))
/Linux-v5.4/tools/perf/ui/stdio/
Dhist.c207 struct callchain_node *cnode; in need_percent_display() local
212 cnode = rb_entry(node, struct callchain_node, rb_node); in need_percent_display()
213 return callchain_cumul_hits(cnode) != parent_samples; in need_percent_display()
220 struct callchain_node *cnode; in callchain__fprintf_graph() local
231 cnode = rb_entry(node, struct callchain_node, rb_node); in callchain__fprintf_graph()
232 list_for_each_entry(chain, &cnode->val, list) { in callchain__fprintf_graph()
265 root = &cnode->rb_root; in callchain__fprintf_graph()
/Linux-v5.4/fs/coda/
DMakefile8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/Linux-v5.4/tools/perf/tests/
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()
/Linux-v5.4/arch/sparc/include/asm/
Dopenprom.h267 int cnode; member
/Linux-v5.4/scripts/gcc-plugins/
Dgcc-common.h452 #define ipa_remove_stmt_references(cnode, stmt) argument
/Linux-v5.4/Documentation/filesystems/
Dcoda.txt844 ViceFid sourceFid; /* cnode to link *to* */
1450 2. the cnode of the directory containing the object
1454 4. the cnode of the object
1456 The lookup call in the Coda FS Driver may request the cnode of the
1458 CodaCred's of the caller. The cache will return the cnode or indicate
/Linux-v5.4/fs/nilfs2/
Dbtree.c2106 struct nilfs_btree_node *node, *cnode; in nilfs_btree_add_dirty_buffer() local
2127 cnode = (struct nilfs_btree_node *)cbh->b_data; in nilfs_btree_add_dirty_buffer()
2128 ckey = nilfs_btree_node_get_key(cnode, 0); in nilfs_btree_add_dirty_buffer()

12