Searched refs:NR_CPUS (Results 1 – 17 of 17) sorted by relevance
/kvm-unit-tests/lib/riscv/asm/ |
H A D | setup.h | 7 #define NR_CPUS 256 macro 8 extern struct thread_info cpus[NR_CPUS];
|
/kvm-unit-tests/lib/arm/asm/ |
H A D | setup.h | 12 #define NR_CPUS 511 macro 13 extern u64 cpus[NR_CPUS]; /* per-cpu IDs (MPIDRs) */
|
H A D | gic-v3.h | 82 void *redist_base[NR_CPUS]; 84 void *lpi_pend[NR_CPUS];
|
/kvm-unit-tests/lib/arm/ |
H A D | setup.c | 43 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 D | setup.c | 33 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 D | smp.c | 203 if (nr_started >= NR_CPUS) { in start_thread()
|
/kvm-unit-tests/powerpc/ |
H A D | smp.c | 218 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 D | setup.h | 10 #define NR_CPUS 8 /* arbitrarily set for now */ macro
|
/kvm-unit-tests/lib/riscv/ |
H A D | setup.c | 45 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 D | on-cpus.c | 21 static struct on_cpu_info on_cpu_info[NR_CPUS];
|
H A D | cpumask.h | 13 #define CPUMASK_NR_LONGS ((NR_CPUS + BITS_PER_LONG - 1) / BITS_PER_LONG)
|
/kvm-unit-tests/arm/ |
H A D | gic.c | 37 static int acked[NR_CPUS], spurious[NR_CPUS]; 38 static int irq_sender[NR_CPUS], irq_number[NR_CPUS];
|
H A D | psci.c | 74 static int cpu_on_ret[NR_CPUS];
|
/kvm-unit-tests/lib/ppc64/ |
H A D | asm-offsets.c | 60 DEFINE(MAX_CPUS, NR_CPUS); in main()
|
/kvm-unit-tests/riscv/ |
H A D | sbi.c | 357 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 D | sbi-sse.c | 751 cpu_args = calloc(NR_CPUS, sizeof(struct sbi_sse_handler_arg)); in sse_test_inject_local()
|
/kvm-unit-tests/scripts/ |
H A D | checkpatch.pl | 7459 $line !~ /^.\s*$Declare\s.*\[[^\]]*NR_CPUS[^\]]*\]/ && 7460 $line !~ /\[[^\]]*\.\.\.[^\]]*NR_CPUS[^\]]*\]/ && 7461 $line !~ /\[[^\]]*NR_CPUS[^\]]*\.\.\.[^\]]*\]/ &&
|