Lines Matching refs:nr_running
1680 static void reap_threads(unsigned int *nr_running, unsigned int *t_rate, in reap_threads() argument
1771 (*nr_running)--; in reap_threads()
1784 if (*nr_running == cputhreads && !pending && realthreads) in reap_threads()
1871 unsigned int i, todo, nr_running, m_rate, t_rate, nr_started; in run_threads() local
1905 nr_running = 0; in run_threads()
1980 if (td->o.stonewall && (nr_started || nr_running)) { in run_threads()
2060 nr_running++; /* work-around... */ in run_threads()
2088 nr_running++; in run_threads()
2096 reap_threads(&nr_running, &t_rate, &m_rate); in run_threads()
2102 while (nr_running) { in run_threads()
2103 reap_threads(&nr_running, &t_rate, &m_rate); in run_threads()