Lines Matching refs:num_threads

218 	unsigned int num_threads = arch_num_cpus();  in spin_for_threads_exit()  local
220 for (int i = 0; i < num_threads - 1; i++) { in spin_for_threads_exit()
270 unsigned int num_threads = arch_num_cpus(); in cleanup_resources() local
272 for (int i = 0; i < num_threads; i++) { in cleanup_resources()
318 unsigned int num_threads = arch_num_cpus(); in ZTEST() local
327 for (i = 0; i < num_threads; i++) { in ZTEST()
348 for (i = 0; i < num_threads; i++) { in ZTEST()
353 for (i = 0; i < num_threads; i++) { in ZTEST()
370 unsigned int num_threads = arch_num_cpus(); in ZTEST() local
376 spawn_threads(K_PRIO_COOP(10), num_threads, !EQUAL_PRIORITY, in ZTEST()
388 for (int i = 0; i < num_threads - 1; i++) { in ZTEST()
392 zassert_true(tinfo[num_threads - 1].executed == 0, in ZTEST()
396 abort_threads(num_threads); in ZTEST()
411 unsigned int num_threads = arch_num_cpus(); in ZTEST() local
417 spawn_threads(K_PRIO_PREEMPT(10), num_threads, !EQUAL_PRIORITY, in ZTEST()
422 for (int i = 0; i < num_threads; i++) { in ZTEST()
428 abort_threads(num_threads); in ZTEST()
444 unsigned int num_threads = arch_num_cpus(); in ZTEST() local
450 spawn_threads(K_PRIO_COOP(10), num_threads, !EQUAL_PRIORITY, in ZTEST()
456 for (int i = 0; i < num_threads; i++) { in ZTEST()
462 abort_threads(num_threads); in ZTEST()
477 unsigned int num_threads = arch_num_cpus(); in ZTEST() local
479 spawn_threads(K_PRIO_COOP(10), num_threads, !EQUAL_PRIORITY, in ZTEST()
484 for (int i = 0; i < num_threads; i++) { in ZTEST()
489 abort_threads(num_threads); in ZTEST()
559 unsigned int num_threads = arch_num_cpus(); in ZTEST() local
562 spawn_threads(K_PRIO_COOP(10), num_threads - 1, !EQUAL_PRIORITY, in ZTEST()
566 wakeup_on_start_thread(num_threads - 1); in ZTEST()
569 check_wokeup_threads(num_threads - 1); in ZTEST()
572 abort_threads(num_threads - 1); in ZTEST()
1127 unsigned int num_threads = arch_num_cpus(); in signal_raise() local
1130 for (uintptr_t i = 0; i < num_threads; i++) { in signal_raise()
1138 unsigned int num_threads = arch_num_cpus(); in ZTEST() local
1153 for (uintptr_t i = 0; i < num_threads; i++) { in ZTEST()
1171 for (uintptr_t i = 0; i < num_threads; i++) { in ZTEST()
1203 int num_threads = arch_num_cpus(); in ZTEST() local
1205 for (int i = 0; i < num_threads; ++i) { in ZTEST()
1215 for (int i = 0; i < num_threads; i++) { in ZTEST()