Searched refs:tnum (Results 1 – 2 of 2) sorted by relevance
505 static void wakeup_on_start_thread(int tnum) in wakeup_on_start_thread() argument512 for (i = 0; i < tnum; i++) { in wakeup_on_start_thread()519 for (i = 0; i < tnum; i++) { in wakeup_on_start_thread()520 if (thread_started[i] == 1 && threads_started <= tnum) { in wakeup_on_start_thread()525 zassert_equal(threads_started, tnum, in wakeup_on_start_thread()529 static void check_wokeup_threads(int tnum) in check_wokeup_threads() argument538 for (i = 0; i < tnum; i++) { in check_wokeup_threads()539 if (tinfo[i].executed == 1 && threads_woke_up <= tnum) { in check_wokeup_threads()543 zassert_equal(threads_woke_up, tnum, "Threads did not wakeup"); in check_wokeup_threads()
31 int tnum = POINTER_TO_INT(p1); in thread_entry() local33 tdata[tnum].executed = 1; in thread_entry()