Home
last modified time | relevance | path

Searched refs:nr_cpus_present (Results 1 – 9 of 9) sorted by relevance

/kvm-unit-tests/powerpc/
H A Datomics.c276 while (smp_inc_started < nr_cpus_present) in smp_inc_fn()
286 if (nr_cpus_present < 2) in test_smp_inc()
292 while (smp_inc_started < nr_cpus_present - 1) in test_smp_inc()
300 report(smp_inc_counter == nr_cpus_present * ITERS, in test_smp_inc()
313 while (smp_lock_started < nr_cpus_present) in smp_lock_fn()
326 if (nr_cpus_present < 2) in test_smp_lock()
332 while (smp_lock_started < nr_cpus_present - 1) in test_smp_lock()
340 report(smp_lock_counter == nr_cpus_present * ITERS, in test_smp_lock()
H A Dsmp.c40 while (nr_cpus_started < nr_cpus_present) { in test_start_cpus()
95 if (nr_cpus_present < 2) { in test_ipi_cpus()
128 assert(nr_cpus_ipi == nr_cpus_present); in test_ipi_cpus()
199 if (nr_cpus_present < 2) { in test_time_sync()
242 if (nr_cpus_present < 2) { in test_relax()
295 if (nr_cpus_present < 2) { in test_pause()
H A Dselftest.c38 report(nr_cpus_present == (int)val, in check_setup()
39 "nr_cpus_present = %d", nr_cpus_present); in check_setup()
H A Dmmu.c63 if (nr_cpus_present < 2) { in test_tlbie()
89 while (tlbie_fn_started < nr_cpus_present - 1) { in test_tlbie()
H A Dtm.c138 report_kfail(host_is_kvm, cpus_with_tm >= nr_cpus_present, in main()
/kvm-unit-tests/lib/powerpc/
H A Dsetup.c34 int nr_cpus_present; variable
65 if (nr_cpus_present >= NR_CPUS) { in cpu_set()
73 cpu_to_hwid[nr_cpus_present++] = fdt32_to_cpu(threads[i]); in cpu_set()
116 nr_cpus_present = 0; in cpu_init_params()
H A Dsmp.c295 assert(nr_started == nr_cpus_present); in start_all_cpus()
298 while (nr_cpus_online < nr_cpus_present) { in start_all_cpus()
/kvm-unit-tests/lib/powerpc/asm/
H A Dsmp.h19 extern int nr_cpus_present;
/kvm-unit-tests/riscv/
H A Dsbi.c416 int nr_cpus_present = cpumask_weight(&cpu_present_mask); in check_ipi() local
437 if (nr_cpus_present < 2) { in check_ipi()
458 if (nr_cpus_present < 3) { in check_ipi()