Home
last modified time | relevance | path

Searched refs:NR_CPUS (Results 1 – 17 of 17) sorted by relevance

/kvm-unit-tests/lib/riscv/asm/
H A Dsetup.h7 #define NR_CPUS 256 macro
8 extern struct thread_info cpus[NR_CPUS];
/kvm-unit-tests/lib/arm/asm/
H A Dsetup.h12 #define NR_CPUS 511 macro
13 extern u64 cpus[NR_CPUS]; /* per-cpu IDs (MPIDRs) */
H A Dgic-v3.h82 void *redist_base[NR_CPUS];
84 void *lpi_pend[NR_CPUS];
/kvm-unit-tests/lib/arm/
H A Dsetup.c43 u64 cpus[NR_CPUS] = { [0 ... NR_CPUS-1] = (u64)~0 };
66 assert_msg(cpu < NR_CPUS, "Number cpus exceeds maximum supported (%d).", NR_CPUS); in cpu_set_fdt()
81 assert_msg(cpu < NR_CPUS, "Number cpus exceeds maximum supported (%d).", NR_CPUS); in cpu_set_acpi()
/kvm-unit-tests/lib/powerpc/
H A Dsetup.c33 u32 cpu_to_hwid[NR_CPUS] = { [0 ... NR_CPUS-1] = (~0U) };
65 if (nr_cpus_present >= NR_CPUS) { in cpu_set()
68 printf("Warning: Number of present CPUs exceeds maximum supported (%d).\n", NR_CPUS); in cpu_set()
201 struct cpu cpus[NR_CPUS];
H A Dsmp.c203 if (nr_started >= NR_CPUS) { in start_thread()
/kvm-unit-tests/powerpc/
H A Dsmp.c218 static int relax_loop_count[NR_CPUS];
258 for (i = 0; i < NR_CPUS; i++) in test_relax()
268 static int pause_loop_count[NR_CPUS];
311 for (i = 0; i < NR_CPUS; i++) in test_pause()
/kvm-unit-tests/lib/powerpc/asm/
H A Dsetup.h10 #define NR_CPUS 8 /* arbitrarily set for now */ macro
/kvm-unit-tests/lib/riscv/
H A Dsetup.c45 struct thread_info cpus[NR_CPUS];
55 assert_msg(cpu < NR_CPUS, "Number cpus exceeds maximum supported (%d).", NR_CPUS); in cpu_set_fdt()
/kvm-unit-tests/lib/
H A Don-cpus.c21 static struct on_cpu_info on_cpu_info[NR_CPUS];
H A Dcpumask.h13 #define CPUMASK_NR_LONGS ((NR_CPUS + BITS_PER_LONG - 1) / BITS_PER_LONG)
/kvm-unit-tests/arm/
H A Dgic.c37 static int acked[NR_CPUS], spurious[NR_CPUS];
38 static int irq_sender[NR_CPUS], irq_number[NR_CPUS];
H A Dpsci.c74 static int cpu_on_ret[NR_CPUS];
/kvm-unit-tests/lib/ppc64/
H A Dasm-offsets.c60 DEFINE(MAX_CPUS, NR_CPUS); in main()
/kvm-unit-tests/riscv/
H A Dsbi.c357 static bool ipi_received[NR_CPUS];
358 static bool ipi_timeout[NR_CPUS];
530 unsigned char sbi_hsm_stop_hart[NR_CPUS];
531 unsigned char sbi_hsm_hart_start_checks[NR_CPUS];
532 unsigned char sbi_hsm_non_retentive_hart_suspend_checks[NR_CPUS];
725 unsigned long sbi_hsm_hart_start_params[NR_CPUS * SBI_HSM_NUM_OF_PARAMS]; in check_hsm()
H A Dsbi-sse.c751 cpu_args = calloc(NR_CPUS, sizeof(struct sbi_sse_handler_arg)); in sse_test_inject_local()
/kvm-unit-tests/scripts/
H A Dcheckpatch.pl7459 $line !~ /^.\s*$Declare\s.*\[[^\]]*NR_CPUS[^\]]*\]/ &&
7460 $line !~ /\[[^\]]*\.\.\.[^\]]*NR_CPUS[^\]]*\]/ &&
7461 $line !~ /\[[^\]]*NR_CPUS[^\]]*\.\.\.[^\]]*\]/ &&