/linux-4.4.14/arch/mips/sgi-ip27/ |
D | ip27-klnuma.c | 40 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 …]
|
D | ip27-init.c | 57 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()
|
D | ip27-memory.c | 48 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 …]
|
D | ip27-hubio.c | 28 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()
|
D | ip27-nmi.c | 154 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()
|
D | ip27-smp.c | 57 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()
|
D | ip27-klconfig.c | 105 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()
|
D | ip27-timer.c | 198 void hub_rtc_init(cnodeid_t cnode) in hub_rtc_init() argument 206 if (get_compact_nodeid() == cnode) { in hub_rtc_init()
|
/linux-4.4.14/arch/ia64/sn/kernel/ |
D | setup.c | 217 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 …]
|
D | io_common.c | 281 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 …]
|
D | bte_error.c | 240 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()
|
D | bte.c | 424 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.4.14/arch/sparc/prom/ |
D | tree_32.c | 26 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()
|
D | tree_64.c | 44 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.4.14/fs/ubifs/ |
D | lpt_commit.c | 49 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 …]
|
D | lpt.c | 1513 if (branch->cnode) in dirty_cow_nnode() 1514 branch->cnode->parent = n; in dirty_cow_nnode() 1771 struct ubifs_cnode cnode; member 1777 struct ubifs_cnode *cnode; member 1998 path[h + 1].cnode.parent = nnode; in ubifs_lpt_scan_nolock() 2221 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode, in dbg_check_lpt_nodes() argument 2231 while (cnode) { in dbg_check_lpt_nodes() 2233 nnode = cnode->parent; in dbg_check_lpt_nodes() 2234 if (cnode->level) { in dbg_check_lpt_nodes() 2237 if (cnode->num != num) { in dbg_check_lpt_nodes() [all …]
|
D | debug.h | 296 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
|
D | ubifs.h | 597 struct ubifs_cnode *cnode; member
|
/linux-4.4.14/arch/mips/include/asm/sn/ |
D | hub.h | 12 extern unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget, 14 extern void hub_pio_init(cnodeid_t cnode);
|
D | arch.h | 61 #define COMPACT_TO_NASID_NODEID(cnode) (compact_to_nasid_node[cnode]) argument
|
/linux-4.4.14/drivers/char/ |
D | snsc.c | 375 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.4.14/tools/perf/util/ |
D | callchain.c | 438 struct callchain_list *cnode) in match_chain() argument 442 if (cnode->ms.sym && sym && in match_chain() 444 return cnode->ms.sym->start - sym->start; in match_chain() 446 return cnode->ip - node->ip; in match_chain() 485 struct callchain_list *cnode; in split_add_child() local 501 cnode = list_first_entry(&first->val, struct callchain_list, in split_add_child() 504 if (match_chain(node, cnode) < 0) in split_add_child() 566 struct callchain_list *cnode; in append_chain() local 578 list_for_each_entry(cnode, &root->val, list) { in append_chain() 585 cmp = match_chain(node, cnode); in append_chain() [all …]
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
D | sn2_smp.c | 167 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()
|
D | sn_hwperf.c | 108 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.4.14/arch/ia64/sn/pci/pcibr/ |
D | pcibr_provider.c | 116 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.4.14/tools/perf/scripts/python/ |
D | compaction-times.py | 69 class cnode: class 110 val = cnode(0); 162 self.val = cnode(0) 173 self.pending = cnode(ns(secs, nsecs))
|
/linux-4.4.14/fs/coda/ |
D | Makefile | 7 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
|
/linux-4.4.14/tools/perf/ui/stdio/ |
D | hist.c | 162 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.4.14/arch/ia64/include/asm/sn/ |
D | sn_cpuid.h | 97 #define get_cnode() (sn_nodepda->phys_cpuid[smp_processor_id()].cnode)
|
D | geo.h | 130 extern geoid_t cnodeid_get_geoid(cnodeid_t cnode);
|
/linux-4.4.14/tools/perf/tests/ |
D | hists_cumulate.c | 186 struct callchain_node *cnode; in do_test() local 224 cnode = rb_entry(rb_first(root), struct callchain_node, rb_node); in do_test() 227 list_for_each_entry(clist, &cnode->val, list) { in do_test()
|
/linux-4.4.14/drivers/staging/dgap/ |
D | dgap.c | 226 static struct cnode dgap_head; 353 static int dgap_checknode(struct cnode *p) in dgap_checknode() 397 struct cnode *p; in dgap_config_get_useintr() 420 struct cnode *p; in dgap_config_get_altpin() 442 static struct cnode *dgap_find_config(int type, int bus, int slot) in dgap_find_config() 444 struct cnode *p, *prev, *prev2, *found; in dgap_find_config() 511 struct cnode *p; in dgap_config_get_num_prts() 539 struct cnode *p; in dgap_create_config_string() 540 struct cnode *q; in dgap_create_config_string() 597 struct cnode *p, *brd, *line, *conc; in dgap_parsefile() [all …]
|
D | dgap.h | 556 struct cnode *bd_config; /* Config of board */ 1146 struct cnode { struct 1147 struct cnode *next; argument
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | openprom.h | 266 int cnode; member
|
/linux-4.4.14/fs/nilfs2/ |
D | btree.c | 2103 struct nilfs_btree_node *node, *cnode; in nilfs_btree_add_dirty_buffer() local 2125 cnode = (struct nilfs_btree_node *)cbh->b_data; in nilfs_btree_add_dirty_buffer() 2126 ckey = nilfs_btree_node_get_key(cnode, 0); in nilfs_btree_add_dirty_buffer()
|
/linux-4.4.14/Documentation/filesystems/ |
D | coda.txt | 841 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.4.14/scripts/ |
D | analyze_suspend.py | 543 cnode = self.masterTopology(cname, clist, depth+1) 544 node.children.append(cnode) 565 for cnode in node.children: 566 html += self.printTopology(cnode)
|