Lines Matching refs:nr_tasks
125 unsigned long nr_tasks; member
339 task->nr = sched->nr_tasks; in register_pid()
348 sched->nr_tasks++; in register_pid()
349 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_task *)); in register_pid()
354 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm); in register_pid()
365 for (i = 0; i < sched->nr_tasks; i++) { in print_task_traces()
377 for (i = 0; i < sched->nr_tasks; i++) { in add_cross_task_wakeups()
380 if (j == sched->nr_tasks) in add_cross_task_wakeups()
523 for (i = 0; i < sched->nr_tasks; i++) { in create_tasks()
547 for (i = 0; i < sched->nr_tasks; i++) { in wait_for_tasks()
560 for (i = 0; i < sched->nr_tasks; i++) { in wait_for_tasks()
583 for (i = 0; i < sched->nr_tasks; i++) { in wait_for_tasks()