Searched refs:nr_cpus (Results 1 – 9 of 9) sorted by relevance
142 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()
64 u32 nr_cpus; /* number of (virtual) CPUs */ member134 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()
60 u32 nr_cpus; member194 u32 nr_cpus; member
64 loongson_sysconf.nr_cpus, num_online_nodes()); in cpu_node_probe()226 for (cpu = 0; cpu < loongson_sysconf.nr_cpus; cpu++) { in prom_meminit()
356 while (i < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()370 while (num < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
111 int nr_cpus = num_possible_cpus(); in fwnmi_init() local135 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()
107 u16 nr_cpus; member
1888 int nr_cpus; in smp_mpic_probe() local1892 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()
387 iib.diib.nr_cpus = num_possible_cpus(); in zpci_directed_irq_init()