Lines Matching refs:numwatchers
2025 int numwatchers = 0, i, j;
2031 if ((numwatchers = task->num_taskwatchers) == 0)
2034 threadlist = (thread_watchlist_t *)kalloc(numwatchers*sizeof(thread_watchlist_t));
2038 bzero(threadlist, numwatchers*sizeof(thread_watchlist_t));
2045 kfree(threadlist, numwatchers*sizeof(thread_watchlist_t));
2049 if (numwatchers != task->num_taskwatchers) {
2051 kfree(threadlist, numwatchers*sizeof(thread_watchlist_t));
2067 if (i > numwatchers)
2076 kfree(threadlist, numwatchers*sizeof(thread_watchlist_t));
2110 int numwatchers = 0, i, j;
2115 if ((numwatchers = task->num_taskwatchers) == 0)
2118 twplist = (task_watch_t **)kalloc(numwatchers*sizeof(task_watch_t *));
2122 bzero(twplist, numwatchers*sizeof(task_watch_t *));
2130 if (numwatchers != task->num_taskwatchers) {
2132 kfree(twplist, numwatchers*sizeof(task_watch_t *));
2133 numwatchers = 0;
2149 if ((task->num_taskwatchers == 0) || (i > numwatchers))
2166 kfree(twplist, numwatchers*sizeof(task_watch_t *));