Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dpaca.c45 static void __init allocate_lppacas(int nr_cpus, unsigned long limit) in allocate_lppacas() argument
47 if (nr_cpus <= NR_LPPACAS) in allocate_lppacas()
51 (nr_cpus - NR_LPPACAS)); in allocate_lppacas()
87 static inline void allocate_lppacas(int nr_cpus, unsigned long limit) { } in allocate_lppacas() argument
103 static void __init allocate_slb_shadows(int nr_cpus, int limit) in allocate_slb_shadows() argument
105 int size = PAGE_ALIGN(sizeof(struct slb_shadow) * nr_cpus); in allocate_slb_shadows()
130 static void __init allocate_slb_shadows(int nr_cpus, int limit) { } in allocate_slb_shadows() argument
/arch/mips/loongson64/common/
Denv.c141 loongson_sysconf.nr_cpus = ecpu->nr_cpus; in prom_init_env()
144 if (ecpu->nr_cpus > NR_CPUS || ecpu->nr_cpus == 0) in prom_init_env()
145 loongson_sysconf.nr_cpus = NR_CPUS; in prom_init_env()
146 loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + in prom_init_env()
/arch/s390/appldata/
Dappldata_os.c65 u32 nr_cpus; /* number of (virtual) CPUs */ member
135 os_data->nr_cpus = j; in appldata_get_os_data()
138 (os_data->nr_cpus * sizeof(struct appldata_os_per_cpu)); in appldata_get_os_data()
/arch/mips/include/asm/mach-loongson64/
Dboot_param.h49 u32 nr_cpus; member
183 u32 nr_cpus; member
/arch/mips/loongson64/loongson-3/
Dnuma.c69 loongson_sysconf.nr_cpus, num_online_nodes()); in cpu_node_probe()
239 for (cpu = 0; cpu < loongson_sysconf.nr_cpus; cpu++) { in prom_meminit()
Dsmp.c347 while (i < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
361 while (num < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
/arch/x86/kernel/
Dcrash.c401 unsigned long nr_cpus = num_possible_cpus(), nr_phdr, elf_sz; in prepare_elf64_headers() local
408 nr_phdr = nr_cpus + 1; in prepare_elf64_headers()
/arch/powerpc/sysdev/
Dmpic.c1889 int nr_cpus; in smp_mpic_probe() local
1893 nr_cpus = num_possible_cpus(); in smp_mpic_probe()
1895 DBG("nr_cpus: %d\n", nr_cpus); in smp_mpic_probe()
1897 if (nr_cpus > 1) in smp_mpic_probe()