Lines Matching refs:threadlist
2026 thread_watchlist_t * threadlist;
2034 threadlist = (thread_watchlist_t *)kalloc(numwatchers*sizeof(thread_watchlist_t));
2035 if (threadlist == NULL)
2038 bzero(threadlist, numwatchers*sizeof(thread_watchlist_t));
2045 kfree(threadlist, numwatchers*sizeof(thread_watchlist_t));
2051 kfree(threadlist, numwatchers*sizeof(thread_watchlist_t));
2059 threadlist[i].thread = twp->tw_thread;
2060 thread_reference(threadlist[i].thread);
2063 threadlist[i].importance = INT_MIN;
2065 threadlist[i].importance = twp->tw_importance;
2073 set_thread_appbg(threadlist[j].thread, setbg, threadlist[j].importance);
2074 thread_deallocate(threadlist[j].thread);
2076 kfree(threadlist, numwatchers*sizeof(thread_watchlist_t));