Lines Matching refs:i
44 for (volatile unsigned int i = 0; in thread_entry() local
45 i < CONFIG_SMP_TEST_RELAX; in thread_entry()
46 i++) { in thread_entry()
57 unsigned int i; in ZTEST() local
64 for (i = 0; i < NUM_THREADS; i++) { in ZTEST()
66 k_thread_create(&thread[i], thread_stack[i], in ZTEST()
68 i < (NUM_THREADS - 1) ? &thread[i + 1] : NULL, in ZTEST()
69 (void *)(uintptr_t)i, NULL, in ZTEST()
70 10 - i, 0, K_FOREVER); in ZTEST()
72 k_thread_suspend(&thread[i]); in ZTEST()
74 k_thread_start(&thread[i]); in ZTEST()
87 for (i = 0; i < NUM_THREADS; i++) { in ZTEST()
88 zassert_false(counter[i] == thread_counter[i], in ZTEST()
90 i, thread_counter[i]); in ZTEST()
92 counter[i] = thread_counter[i]; in ZTEST()