Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/sgi-ip27/
Dip27-klnuma.c40 cnodeid_t cnode; in setup_replication_mask() local
42 for_each_online_node(cnode) { in setup_replication_mask()
43 if (cnode == 0) in setup_replication_mask()
46 cpumask_set_cpu(cnode, &ktext_repmask); in setup_replication_mask()
87 cnodeid_t cnode; in replicate_kernel_text() local
96 for_each_online_node(cnode) { in replicate_kernel_text()
97 if (cnode == 0) in replicate_kernel_text()
99 client_nasid = COMPACT_TO_NASID_NODEID(cnode); in replicate_kernel_text()
102 if (cpumask_test_cpu(cnode, &ktext_repmask)) { in replicate_kernel_text()
117 unsigned long node_getfirstfree(cnodeid_t cnode) in node_getfirstfree() argument
[all …]
Dip27-init.c57 static void per_hub_init(cnodeid_t cnode) in per_hub_init() argument
59 struct hub_data *hub = hub_data(cnode); in per_hub_init()
60 nasid_t nasid = COMPACT_TO_NASID_NODEID(cnode); in per_hub_init()
65 if (test_and_set_bit(cnode, hub_init_mask)) in per_hub_init()
73 hub_rtc_init(cnode); in per_hub_init()
74 xtalk_probe_node(cnode); in per_hub_init()
81 if (get_compact_nodeid() == cnode) { in per_hub_init()
117 cnodeid_t cnode = get_compact_nodeid(); in per_cpu_init() local
118 struct hub_data *hub = hub_data(cnode); in per_cpu_init()
127 per_hub_init(cnode); in per_cpu_init()
Dip27-memory.c48 static hubreg_t get_region(cnodeid_t cnode) in get_region() argument
51 return COMPACT_TO_NASID_NODEID(cnode) >> NASID_TO_FINEREG_SHFT; in get_region()
53 return COMPACT_TO_NASID_NODEID(cnode) >> NASID_TO_COARSEREG_SHFT; in get_region()
60 cnodeid_t cnode; in gen_region_mask() local
63 for_each_online_node(cnode) { in gen_region_mask()
64 (*region_mask) |= 1ULL << get_region(cnode); in gen_region_mask()
115 cnodeid_t cnode; in compute_node_distance() local
120 for_each_online_node(cnode) { in compute_node_distance()
121 nasid = COMPACT_TO_NASID_NODEID(cnode); in compute_node_distance()
200 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.c154 void nmi_node_eframe_save(cnodeid_t cnode) in nmi_node_eframe_save() argument
160 if (cnode == CNODEID_NONE) in nmi_node_eframe_save()
163 nasid = COMPACT_TO_NASID_NODEID(cnode); in nmi_node_eframe_save()
180 cnodeid_t cnode; in nmi_eframes_save() local
182 for_each_online_node(cnode) in nmi_eframes_save()
183 nmi_node_eframe_save(cnode); in nmi_eframes_save()
Dip27-smp.c57 static int do_cpumask(cnodeid_t cnode, nasid_t nasid, int highest) in do_cpumask() argument
73 cpuid_to_compact_node[cpuid] = cnode; in do_cpumask()
206 cnodeid_t cnode; in ip27_smp_setup() local
208 for_each_online_node(cnode) { in ip27_smp_setup()
209 if (cnode == 0) in ip27_smp_setup()
211 intr_clear_all(COMPACT_TO_NASID_NODEID(cnode)); in ip27_smp_setup()
Dip27-klconfig.c105 cnodeid_t cnode; in sn_get_cpuinfo() local
112 cnode = get_cpu_cnode(cpu); in sn_get_cpuinfo()
113 if (cnode == INVALID_CNODEID) in sn_get_cpuinfo()
116 if ((nasid = gdap->g_nasidtable[cnode]) == INVALID_NASID) in sn_get_cpuinfo()
Dip27-timer.c205 void hub_rtc_init(cnodeid_t cnode) in hub_rtc_init() argument
213 if (get_compact_nodeid() == cnode) { in hub_rtc_init()
/linux-4.1.27/arch/ia64/sn/kernel/
Dsetup.c217 int cnode; in sn_check_for_wars() local
222 for_each_online_node(cnode) { in sn_check_for_wars()
223 if (is_shub_1_1(cnodeid_to_nasid(cnode))) in sn_check_for_wars()
507 cnodeid_t cnode; in sn_init_pdas() local
512 for_each_online_node(cnode) { in sn_init_pdas()
513 nodepdaindr[cnode] = in sn_init_pdas()
514 alloc_bootmem_node(NODE_DATA(cnode), sizeof(nodepda_t)); in sn_init_pdas()
515 memset(nodepdaindr[cnode]->phys_cpuid, -1, in sn_init_pdas()
516 sizeof(nodepdaindr[cnode]->phys_cpuid)); in sn_init_pdas()
517 spin_lock_init(&nodepdaindr[cnode]->ptc_lock); in sn_init_pdas()
[all …]
Dio_common.c281 int cnode; in sn_common_bus_fixup() local
328 cnode = nasid_to_cnodeid(nasid); in sn_common_bus_fixup()
329 hubdev_info = (struct hubdev_info *)(NODEPDA(cnode)->pdinfo); in sn_common_bus_fixup()
403 cnodeid_get_geoid(cnodeid_t cnode) in cnodeid_get_geoid() argument
407 hubdev = (struct hubdev_info *)(NODEPDA(cnode)->pdinfo); in cnodeid_get_geoid()
414 cnodeid_t cnode; in sn_generate_path() local
420 cnode = nasid_to_cnodeid(nasid); in sn_generate_path()
421 geoid = cnodeid_get_geoid(cnode); in sn_generate_path()
520 cnodeid_t cnode; in sn_io_late_init() local
536 cnode = nasid_to_cnodeid(nasid); in sn_io_late_init()
[all …]
Dbte_error.c240 bte_crb_error_handler(cnodeid_t cnode, int btenum, in bte_crb_error_handler() argument
246 bte = &(NODEPDA(cnode)->bte_if[btenum]); in bte_crb_error_handler()
258 bte_error_handler((unsigned long) NODEPDA(cnode)); in bte_crb_error_handler()
Dbte.c424 void bte_init_node(nodepda_t * mynodepda, cnodeid_t cnode) in bte_init_node() argument
448 REMOTE_HUB_ADDR(cnodeid_to_nasid(cnode), BTE_BASE_ADDR(i)); in bte_init_node()
464 mynodepda->bte_if[i].bte_cnode = cnode; in bte_init_node()
/linux-4.1.27/arch/sparc/prom/
Dtree_32.c26 phandle cnode; in __prom_getchild() local
29 cnode = prom_nodeops->no_child(node); in __prom_getchild()
33 return cnode; in __prom_getchild()
41 phandle cnode; in prom_getchild() local
46 cnode = __prom_getchild(node); in prom_getchild()
47 if (cnode == 0 || (s32)cnode == -1) in prom_getchild()
50 return cnode; in prom_getchild()
58 phandle cnode; in __prom_getsibling() local
61 cnode = prom_nodeops->no_nextnode(node); in __prom_getsibling()
65 return cnode; in __prom_getsibling()
Dtree_64.c44 phandle cnode; in prom_getchild() local
48 cnode = __prom_getchild(node); in prom_getchild()
49 if ((s32)cnode == -1) in prom_getchild()
51 return cnode; in prom_getchild()
57 phandle cnode; in prom_getparent() local
61 cnode = prom_node_to_node("parent", node); in prom_getparent()
62 if ((s32)cnode == -1) in prom_getparent()
64 return cnode; in prom_getparent()
/linux-4.1.27/fs/ubifs/
Dlpt_commit.c49 struct ubifs_cnode *cnode; in first_dirty_cnode() local
51 cnode = nnode->nbranch[i].cnode; in first_dirty_cnode()
52 if (cnode && in first_dirty_cnode()
53 test_bit(DIRTY_CNODE, &cnode->flags)) { in first_dirty_cnode()
54 if (cnode->level == 0) in first_dirty_cnode()
55 return cnode; in first_dirty_cnode()
56 nnode = (struct ubifs_nnode *)cnode; in first_dirty_cnode()
72 static struct ubifs_cnode *next_dirty_cnode(struct ubifs_cnode *cnode) in next_dirty_cnode() argument
77 ubifs_assert(cnode); in next_dirty_cnode()
78 nnode = cnode->parent; in next_dirty_cnode()
[all …]
Dlpt.c1514 if (branch->cnode) in dirty_cow_nnode()
1515 branch->cnode->parent = n; in dirty_cow_nnode()
1773 struct ubifs_cnode cnode; member
1779 struct ubifs_cnode *cnode; member
2000 path[h + 1].cnode.parent = nnode; in ubifs_lpt_scan_nolock()
2223 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode, in dbg_check_lpt_nodes() argument
2233 while (cnode) { in dbg_check_lpt_nodes()
2235 nnode = cnode->parent; in dbg_check_lpt_nodes()
2236 if (cnode->level) { in dbg_check_lpt_nodes()
2239 if (cnode->num != num) { in dbg_check_lpt_nodes()
[all …]
Ddebug.h296 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
Dubifs.h597 struct ubifs_cnode *cnode; member
/linux-4.1.27/arch/mips/include/asm/sn/
Dhub.h12 extern unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget,
14 extern void hub_pio_init(cnodeid_t cnode);
Darch.h61 #define COMPACT_TO_NASID_NODEID(cnode) (compact_to_nasid_node[cnode]) argument
/linux-4.1.27/drivers/char/
Dsnsc.c375 cnodeid_t cnode; in scdrv_init() local
396 for (cnode = 0; cnode < num_cnodes; cnode++) { in scdrv_init()
397 geoid = cnodeid_get_geoid(cnode); in scdrv_init()
416 scd->scd_nasid = cnodeid_to_nasid(cnode); in scdrv_init()
437 dev = first_dev + cnode; in scdrv_init()
/linux-4.1.27/tools/perf/util/
Dcallchain.c489 struct callchain_list *cnode) in match_chain() argument
493 if (cnode->ms.sym && sym && in match_chain()
495 return cnode->ms.sym->start - sym->start; in match_chain()
497 return cnode->ip - node->ip; in match_chain()
536 struct callchain_list *cnode; in split_add_child() local
552 cnode = list_first_entry(&first->val, struct callchain_list, in split_add_child()
555 if (match_chain(node, cnode) < 0) in split_add_child()
617 struct callchain_list *cnode; in append_chain() local
629 list_for_each_entry(cnode, &root->val, list) { in append_chain()
636 cmp = match_chain(node, cnode); in append_chain()
[all …]
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
Dsn2_smp.c167 int i, ibegin, shub1, cnode, mynasid, cpu, lcpu = 0, nasid; in sn2_global_tlb_purge() local
185 cnode = cpu_to_node(cpu); in sn2_global_tlb_purge()
186 node_set(cnode, nodes_flushed); in sn2_global_tlb_purge()
222 for_each_node_mask(cnode, nodes_flushed) in sn2_global_tlb_purge()
223 nasids[nix++] = cnodeid_to_nasid(cnode); in sn2_global_tlb_purge()
Dsn_hwperf.c108 int cnode; in sn_hwperf_geoid_to_cnode() local
121 for (cnode = 0; cnode < num_cnodes; cnode++) { in sn_hwperf_geoid_to_cnode()
122 geoid = cnodeid_get_geoid(cnode); in sn_hwperf_geoid_to_cnode()
134 return cnode_possible(cnode) ? cnode : -1; in sn_hwperf_geoid_to_cnode()
/linux-4.1.27/arch/ia64/sn/pci/pcibr/
Dpcibr_provider.c116 int nasid, cnode, j; in pcibr_bus_fixup() local
162 cnode = nasid_to_cnodeid(nasid); in pcibr_bus_fixup()
163 hubdev_info = (struct hubdev_info *)(NODEPDA(cnode)->pdinfo); in pcibr_bus_fixup()
/linux-4.1.27/fs/coda/
DMakefile7 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/linux-4.1.27/tools/perf/ui/stdio/
Dhist.c162 struct callchain_node *cnode; in callchain__fprintf_graph() local
178 cnode = rb_entry(node, struct callchain_node, rb_node); in callchain__fprintf_graph()
179 list_for_each_entry(chain, &cnode->val, list) { in callchain__fprintf_graph()
204 root = &cnode->rb_root; in callchain__fprintf_graph()
/linux-4.1.27/arch/ia64/include/asm/sn/
Dsn_cpuid.h97 #define get_cnode() (sn_nodepda->phys_cpuid[smp_processor_id()].cnode)
Dgeo.h130 extern geoid_t cnodeid_get_geoid(cnodeid_t cnode);
/linux-4.1.27/tools/perf/tests/
Dhists_cumulate.c182 struct callchain_node *cnode; in do_test() local
220 cnode = rb_entry(rb_first(root), struct callchain_node, rb_node); in do_test()
223 list_for_each_entry(clist, &cnode->val, list) { in do_test()
/linux-4.1.27/drivers/staging/dgap/
Ddgap.c226 static struct cnode dgap_head;
387 static int dgap_checknode(struct cnode *p) in dgap_checknode()
431 struct cnode *p; in dgap_config_get_useintr()
454 struct cnode *p; in dgap_config_get_altpin()
476 static struct cnode *dgap_find_config(int type, int bus, int slot) in dgap_find_config()
478 struct cnode *p, *prev, *prev2, *found; in dgap_find_config()
545 struct cnode *p; in dgap_config_get_num_prts()
574 struct cnode *p; in dgap_create_config_string()
575 struct cnode *q; in dgap_create_config_string()
633 struct cnode *p, *brd, *line, *conc; in dgap_parsefile()
[all …]
Ddgap.h557 struct cnode *bd_config; /* Config of board */
1147 struct cnode { struct
1148 struct cnode *next; argument
/linux-4.1.27/arch/sparc/include/asm/
Dopenprom.h266 int cnode; member
/linux-4.1.27/fs/nilfs2/
Dbtree.c2108 struct nilfs_btree_node *node, *cnode; in nilfs_btree_add_dirty_buffer() local
2130 cnode = (struct nilfs_btree_node *)cbh->b_data; in nilfs_btree_add_dirty_buffer()
2131 ckey = nilfs_btree_node_get_key(cnode, 0); in nilfs_btree_add_dirty_buffer()
/linux-4.1.27/Documentation/filesystems/
Dcoda.txt841 ViceFid sourceFid; /* cnode to link *to* */
1447 2. the cnode of the directory containing the object
1451 4. the cnode of the object
1453 The lookup call in the Coda FS Driver may request the cnode of the
1455 CodaCred's of the caller. The cache will return the cnode or indicate
/linux-4.1.27/scripts/
Danalyze_suspend.py543 cnode = self.masterTopology(cname, clist, depth+1)
544 node.children.append(cnode)
565 for cnode in node.children:
566 html += self.printTopology(cnode)