Home
last modified time | relevance | path

Searched refs:nr_cpus (Results 1 – 9 of 9) sorted by relevance

/arch/mips/loongson64/common/
Denv.c142 loongson_sysconf.nr_cpus = ecpu->nr_cpus; in prom_init_env()
145 if (ecpu->nr_cpus > NR_CPUS || ecpu->nr_cpus == 0) in prom_init_env()
146 loongson_sysconf.nr_cpus = NR_CPUS; in prom_init_env()
147 loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + in prom_init_env()
/arch/s390/appldata/
Dappldata_os.c64 u32 nr_cpus; /* number of (virtual) CPUs */ member
134 os_data->nr_cpus = j; in appldata_get_os_data()
137 (os_data->nr_cpus * sizeof(struct appldata_os_per_cpu)); in appldata_get_os_data()
/arch/mips/include/asm/mach-loongson64/
Dboot_param.h60 u32 nr_cpus; member
194 u32 nr_cpus; member
/arch/mips/loongson64/loongson-3/
Dnuma.c64 loongson_sysconf.nr_cpus, num_online_nodes()); in cpu_node_probe()
226 for (cpu = 0; cpu < loongson_sysconf.nr_cpus; cpu++) { in prom_meminit()
Dsmp.c356 while (i < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
370 while (num < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
/arch/powerpc/platforms/pseries/
Dsetup.c111 int nr_cpus = num_possible_cpus(); in fwnmi_init() local
135 mce_data_buf = memblock_alloc_try_nid_raw(RTAS_ERROR_LOG_MAX * nr_cpus, in fwnmi_init()
140 RTAS_ERROR_LOG_MAX * nr_cpus, &ppc64_rma_size); in fwnmi_init()
150 size = sizeof(struct slb_entry) * mmu_slb_size * nr_cpus; in fwnmi_init()
/arch/s390/include/asm/
Dpci_insn.h107 u16 nr_cpus; member
/arch/powerpc/sysdev/
Dmpic.c1888 int nr_cpus; in smp_mpic_probe() local
1892 nr_cpus = num_possible_cpus(); in smp_mpic_probe()
1894 DBG("nr_cpus: %d\n", nr_cpus); in smp_mpic_probe()
1896 if (nr_cpus > 1) in smp_mpic_probe()
/arch/s390/pci/
Dpci_irq.c387 iib.diib.nr_cpus = num_possible_cpus(); in zpci_directed_irq_init()