/linux-2.4.37.9/arch/mips/sgi-ip27/ |
D | ip27-init.c | 153 cpuid_t cpu_node_probe(cpumask_t *boot_cpumask, int *numnodes) in cpu_node_probe() argument 169 *numnodes = 0; in cpu_node_probe() 176 (*numnodes)++; in cpu_node_probe() 210 maxcpus = cpu_node_probe(&boot_cpumask, &numnodes); in mlreset() 211 printk(KERN_INFO "Discovered %d cpus on %d nodes\n", maxcpus, numnodes); in mlreset() 216 gen_region_mask(®ion_mask, numnodes); in mlreset() 219 setup_replication_mask(numnodes); in mlreset() 224 for (i = 0; i < numnodes; i++) { in mlreset() 286 for (cnode = 0; cnode < numnodes; cnode++) { in sn_mp_setup() 484 replicate_kernel_text(numnodes); in allowboot() [all …]
|
D | ip27-nmi.c | 160 for(cnode = 0 ; cnode < numnodes; cnode++) in nmi_eframes_save() 191 for (node=0; node < numnodes; node++) in cont_nmi_dump() 194 if (node == numnodes) in cont_nmi_dump() 197 for (node=0; node < numnodes; node++) in cont_nmi_dump()
|
D | ip27-reset.c | 46 for (i = 0; i < numnodes; i++) in ip27_machine_restart() 62 for (i = 0; i < numnodes; i++) in ip27_machine_halt()
|
D | ip27-memory.c | 144 for (node = 0; node < numnodes; node++) { in szmem() 194 for (node = (numnodes - 1); node >= 0; node--) { in prom_meminit() 255 for (node = 0; node < numnodes; node++) { in paging_init() 286 for (nid = 0; nid < numnodes; nid++) { in mem_init()
|
D | ip27-klnuma.c | 47 for (cnode = 1; cnode < numnodes; cnode++) { in setup_replication_mask()
|
/linux-2.4.37.9/arch/ia64/sn/kernel/ |
D | setup.c | 228 for (cnode=0; cnode< numnodes; cnode++) in sn_check_for_wars() 449 for (cnode=0; cnode<numnodes; cnode++) in sn_init_pdas() 452 numionodes = numnodes; in sn_init_pdas() 458 for (cnode=0; cnode < numnodes; cnode++) { in sn_init_pdas() 466 for (cnode = numnodes; cnode < numionodes; cnode ++) { in sn_init_pdas() 483 for (cnode = 0; cnode < numnodes; cnode++) { in sn_init_pdas() 492 for (cnode = numnodes; cnode < numionodes; cnode++) { in sn_init_pdas() 541 for (i=0; i<numnodes; i++) in sn_cpu_init() 581 buddy_nasid = cnodeid_to_nasid(numa_node_id() == numnodes-1 ? 0 : numa_node_id()+ 1); in sn_cpu_init()
|
D | sn2_smp.c | 115 for (cnode = 0; cnode < numnodes; cnode++) { in sn2_global_tlb_purge() 163 for (cnode = 0; cnode < numnodes; cnode++) { in sn2_ptc_deadlock_recovery()
|
/linux-2.4.37.9/arch/arm/mm/ |
D | init.c | 122 for (node = 0; node < numnodes; node++) { in show_mem() 249 if (node >= numnodes) { in find_memend_and_nodes() 250 numnodes = node + 1; in find_memend_and_nodes() 258 if (numnodes > NR_NODES) in find_memend_and_nodes() 282 for (i = 0; i < numnodes; i++) { in find_memend_and_nodes() 446 np += numnodes - 1; in bootmem_init() 447 for (node = numnodes - 1; node >= 0; node--, np--) { in bootmem_init() 516 for (node = 0; node < numnodes; node++) { in paging_init() 620 for (node = 0; node < numnodes; node++) { in mem_init()
|
/linux-2.4.37.9/arch/ia64/sn/io/sn2/ |
D | shub.c | 184 if (cnode < 0 || cnode >= numnodes) in shubstats_ioctl() 258 memset(sn_linkstats, 0, numnodes * sizeof(struct s_linkstats)); in sn_linkstats_reset() 259 for (cnode=0; cnode < numnodes; cnode++) { in sn_linkstats_reset() 310 for (lsp=sn_linkstats, cnode=0; cnode < numnodes; cnode++, lsp++) { in linkstatd_thread() 425 for (lsp=sn_linkstats, cnode=0; cnode < numnodes; cnode++, lsp++) { in sn_linkstats_get() 435 if (numnodes > 64) in sn_linkstats_get() 478 sn_linkstats = kmalloc(numnodes * sizeof(struct s_linkstats), GFP_KERNEL); in linkstatd_init()
|
D | klgraph.c | 520 cnode + board_disabled * numnodes); in klhwg_add_node() 592 for (cnode = 0; cnode < numnodes; cnode++) { in klhwg_add_all_routers() 722 for (cnode = 0; cnode < numnodes; cnode++) { in klhwg_connect_routers() 849 for(cnode = 0; cnode < numnodes; cnode++) { in klhwg_device_disable_hints_add() 944 for (cnode = 0; cnode < numnodes; cnode++) { in klhwg_add_all_nodes() 948 for (cnode = numnodes; cnode < numionodes; cnode++) { in klhwg_add_all_nodes() 952 for (cnode = 0; cnode < numnodes; cnode++) { in klhwg_add_all_nodes() 956 for (cnode = numnodes; cnode < numionodes; cnode++) { in klhwg_add_all_nodes()
|
D | ml_SN_intr.c | 429 if (last_node >= numnodes) last_node = 0; in intr_heuristic() 430 for (i = 0, candidate_node = last_node; i < numnodes; candidate_node++,i++) { in intr_heuristic() 431 if (candidate_node == numnodes) candidate_node = 0; in intr_heuristic()
|
D | module.c | 263 for (node = 0; node < numnodes; node++) { in io_module_init() 278 for (node = numnodes; node < numionodes; node++) { in io_module_init()
|
/linux-2.4.37.9/arch/ia64/sn/io/platform_init/ |
D | irix_io_init.c | 109 for (cnode = 0; cnode < numnodes; cnode++) { in sgi_master_io_infr_init() 117 for (cnode = numnodes; cnode < numionodes; cnode++) { in sgi_master_io_infr_init()
|
/linux-2.4.37.9/arch/ia64/mm/ |
D | discontig.c | 219 for (node = 0; node < numnodes; node++) { in discontig_reserve_bootmem() 247 for (node=1; node < numnodes; node++) { in initialize_pernode_data() 267 if (numnodes == 0) { in discontig_mem_init() 269 numnodes = 1; in discontig_mem_init()
|
D | init.c | 223 char *tchar = (numnodes > 1) ? "\t" : ""; in show_mem() 233 if (numnodes > 1) in show_mem() 578 for (node=0; node < numnodes; node++) { in paging_init() 603 if (numnodes == 1 && max_gap < LARGE_GAP) { in paging_init()
|
/linux-2.4.37.9/arch/ia64/sn/kernel/sn2/ |
D | prominfo_proc.c | 322 DPRINTK("numnodes %d\n", numnodes); in prominfo_init() 324 proc_entries = kmalloc(numnodes * sizeof(struct proc_dir_entry *), in prominfo_init() 330 cnodeid < numnodes; in prominfo_init() 356 cnodeid < numnodes; in prominfo_exit()
|
D | sn2_smp.c | 115 for (cnode = 0; cnode < numnodes; cnode++) { in sn2_global_tlb_purge() 163 for (cnode = 0; cnode < numnodes; cnode++) { in sn2_ptc_deadlock_recovery()
|
D | sn_proc_fs.c | 226 proc_entries = kmalloc(numnodes * sizeof(struct proc_dir_entry *), in register_sn_nodes() 230 cnodeid < numnodes; in register_sn_nodes()
|
/linux-2.4.37.9/arch/x86_64/mm/ |
D | k8topology.c | 58 static __init int compute_hash_shift(struct node *nodes, int numnodes, u64 maxmem) in compute_hash_shift() argument 95 int nodeid, numnodes, maxnode, i, nb; in k8_scan_nodes() local 103 numnodes = (read_pci_config(0, nb, 0, 0x60 ) >> 4) & 7; in k8_scan_nodes()
|
/linux-2.4.37.9/arch/ia64/kernel/ |
D | acpi.c | 565 numnodes = 0; /* init total nodes in system */ in acpi_numa_arch_fixup() 571 pxm_to_nid_map[i] = numnodes; in acpi_numa_arch_fixup() 572 nid_to_pxm_map[numnodes++] = i; in acpi_numa_arch_fixup() 581 for (i = 0; i < numnodes; i++) { in acpi_numa_arch_fixup() 594 printk(KERN_INFO "Number of logical nodes in system = %d\n", numnodes); in acpi_numa_arch_fixup() 614 for (i = 0; i < numnodes; i++) { in acpi_numa_arch_fixup() 615 for (j = 0; j < numnodes; j++) in acpi_numa_arch_fixup()
|
/linux-2.4.37.9/arch/alpha/mm/ |
D | numa.c | 247 numnodes++; in setup_memory_node() 257 numnodes = 0; in setup_memory() 303 for (nid = 0; nid < numnodes; nid++) { in paging_init() 385 for (nid = 0; nid < numnodes; nid++) { in mem_init() 425 for (nid = 0; nid < numnodes; nid++) { in show_mem()
|
/linux-2.4.37.9/drivers/char/ |
D | fetchop.c | 197 if (nid < 0 || nid >= numnodes) in fetchop_alloc_page() 199 for (i=0; i<numnodes; i++) { in fetchop_alloc_page() 209 nid = (nid+1 < numnodes) ? nid+1 : 0; in fetchop_alloc_page() 381 for (nid = 0; nid < numnodes; nid++) { in fetchop_read_proc()
|
/linux-2.4.37.9/include/asm-ia64/ |
D | numa.h | 69 #define node_distance(from,to) (numa_slit[from * numnodes + to])
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | smpboot.c | 972 if ((clustered_apic_mode == CLUSTERED_APIC_NUMAQ) && (numnodes > 1)) { in smp_boot_cpus() 974 numnodes); in smp_boot_cpus() 977 (u_long) numnodes * XQUAD_PORTIO_LEN); in smp_boot_cpus() 979 numnodes * XQUAD_PORTIO_LEN); in smp_boot_cpus()
|
/linux-2.4.37.9/arch/ia64/sn/fakeprom/ |
D | fpmem.c | 315 int numnodes = GetNumNodes() ; in build_efi_memmap() local 323 for (cnode=0;cnode<numnodes;cnode++) { in build_efi_memmap()
|