Searched refs:NR_CPUS (Results 126 - 150 of 274) sorted by relevance

1234567891011

/linux-master/arch/openrisc/mm/
H A Dfault.c32 volatile pgd_t *current_pgd[NR_CPUS];
/linux-master/arch/openrisc/kernel/
H A Dprocess.c51 struct thread_info *current_thread_info_set[NR_CPUS] = { &init_thread_info, };
/linux-master/kernel/
H A Dsmp.c907 unsigned int setup_max_cpus = NR_CPUS;
958 #if (NR_CPUS > 1) && !defined(CONFIG_FORCE_NR_CPUS)
960 unsigned int nr_cpu_ids __read_mostly = NR_CPUS;
967 set_nr_cpu_ids(find_last_bit(cpumask_bits(cpu_possible_mask), NR_CPUS) + 1);
/linux-master/arch/riscv/kernel/
H A Dacpi.c33 static struct acpi_madt_rintc cpu_madt_rintc[NR_CPUS];
/linux-master/arch/arm64/kernel/
H A Dsmp.c477 for (i = 1; (i < cpu) && (i < NR_CPUS); i++)
507 static struct acpi_madt_generic_interrupt cpu_madt_gicc[NR_CPUS];
553 if (cpu_count >= NR_CPUS)
667 if (cpu_count >= NR_CPUS)
H A Dsetup.c271 u64 __cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = INVALID_HWID };
/linux-master/arch/powerpc/platforms/powermac/
H A Dsmp.c323 if (ncpus > NR_CPUS)
324 ncpus = NR_CPUS;
341 extern volatile unsigned int cpu_callin_map[NR_CPUS];
1016 for (cpu = 1; cpu < 4 && cpu < NR_CPUS; ++cpu)
/linux-master/arch/arm/vfp/
H A Dvfpmodule.c56 union vfp_state *vfp_current_hw_state[NR_CPUS];
83 thread->vfpstate.hard.cpu = NR_CPUS;
114 vfp->hard.cpu = NR_CPUS;
136 thread->vfpstate.hard.cpu = NR_CPUS;
/linux-master/arch/arm/mach-omap2/
H A Domap-secure.c62 static u32 buf[NR_CPUS][5];
/linux-master/arch/hexagon/kernel/
H A Dsmp.c243 for (i = 0; i < NR_CPUS; i++)
/linux-master/drivers/acpi/
H A Dacpi_processor.c656 [0 ... NR_CPUS - 1] = -1,
661 [0 ... NR_CPUS - 1] = -1,
668 if (nr_unique_ids == NR_CPUS||nr_duplicate_ids == NR_CPUS)
/linux-master/arch/sh/kernel/
H A Dsmp.c31 int __cpu_number_map[NR_CPUS]; /* Map physical to logical */
32 int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */
/linux-master/arch/loongarch/kernel/
H A Dcpu-probe.c276 const char *__cpu_family[NR_CPUS];
277 const char *__cpu_full_name[NR_CPUS];
H A Dnuma.c52 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly;
354 for (i = 0; i < NR_CPUS; i++)
/linux-master/arch/um/kernel/
H A Dprocess.c43 struct cpu_task cpu_tasks[NR_CPUS] = { [0 ... NR_CPUS - 1] = { -1, NULL } };
/linux-master/arch/parisc/kernel/
H A Dprocessor.c146 if (cpu_info.cpu_num >= NR_CPUS) {
148 " cpu_slot_id > NR_CPUS"
150 &dev->hpa.start, cpu_info.cpu_num, NR_CPUS);
/linux-master/arch/x86/kernel/cpu/
H A Dtopology.c49 u32 cpuid_to_apicid[] __ro_after_init = { [0 ... NR_CPUS - 1] = BAD_APICID, };
372 static unsigned int max_possible_cpus __initdata = NR_CPUS;
/linux-master/mm/
H A Dpercpu.c2450 * NR_CPUS. It's the caller's responsibility to initialize cpu_map
2478 ai->groups[0].cpu_map[unit] = NR_CPUS;
2544 if (gi->cpu_map[unit] != NR_CPUS)
2678 pcpu_low_unit_cpu = NR_CPUS;
2679 pcpu_high_unit_cpu = NR_CPUS;
2689 if (cpu == NR_CPUS)
2700 if (pcpu_low_unit_cpu == NR_CPUS ||
2703 if (pcpu_high_unit_cpu == NR_CPUS ||
2869 static int group_map[NR_CPUS] __initdata;
2870 static int group_cnt[NR_CPUS] __initdat
[all...]
/linux-master/arch/arm/kernel/
H A Dsetup.c110 struct processor *cpu_vtable[NR_CPUS] = {
144 static struct stack stacks[NR_CPUS];
537 if (cpu >= NR_CPUS) {
594 u32 __cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = MPIDR_INVALID };
/linux-master/arch/arm/common/
H A DbL_switcher.c138 static int bL_switcher_cpu_pairing[NR_CPUS];
268 static struct bL_thread bL_threads[NR_CPUS];
381 static unsigned int bL_switcher_cpu_original_cluster[NR_CPUS];
/linux-master/arch/powerpc/platforms/cell/
H A Dspu_base.c94 * these days... Does it even work properly with NR_CPUS == 1 ?
98 int nr = (NR_CPUS > 1) ? NR_CPUS : NR_CPUS + 1;
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh28 NR_CPUS=$(lscpu | grep "^CPU(s):" | sed -e "s/.*:[[:space:]]*//")
29 [[ $NR_CPUS -lt 8 ]] && skip_test "Test needs at least 8 cpus available!"
647 for ((CPU=0; CPU < $NR_CPUS; CPU++))
/linux-master/arch/mips/kernel/
H A Dsetup.c53 struct cpuinfo_mips cpu_data[NR_CPUS] __read_mostly;
746 for (; i < NR_CPUS; i++)
802 unsigned long kernelsp[NR_CPUS];
/linux-master/arch/sparc/kernel/
H A Dmdesc.c805 if (max_cpu > NR_CPUS)
806 max_cpu = NR_CPUS;
808 max_cpu = NR_CPUS;
1027 if (*id < NR_CPUS)
1118 if (cpuid >= NR_CPUS) {
1120 ">= NR_CPUS (%d)\n",
1121 cpuid, NR_CPUS);
H A Dprom_64.c455 if (cpuid >= NR_CPUS) {
457 ">= NR_CPUS (%d)\n",
458 cpuid, NR_CPUS);

Completed in 407 milliseconds

1234567891011