Home
last modified time | relevance | path

Searched refs:task_count (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c150 int task_count = 0; in broadcast_wakerfn() local
173 task_count += args->ret; in broadcast_wakerfn()
174 if (task_count < THREAD_MAX - waiters_woken.val) in broadcast_wakerfn()
178 0, MAX_WAKE_ITERS, task_count, THREAD_MAX); in broadcast_wakerfn()
188 args->ret = task_count; in broadcast_wakerfn()
199 int task_count = 0; in signal_wakerfn() local
208 while (task_count < THREAD_MAX && waiters_woken.val < THREAD_MAX) { in signal_wakerfn()
210 task_count, waiters_woken.val); in signal_wakerfn()
237 task_count += args->ret; in signal_wakerfn()
252 args->ret = task_count; in signal_wakerfn()
/linux-6.12.1/kernel/futex/
Drequeue.c372 int task_count = 0, ret; in futex_requeue() local
536 task_count++; in futex_requeue()
575 if (task_count - nr_wake >= nr_requeue) in futex_requeue()
597 if (++task_count <= nr_wake) in futex_requeue()
645 task_count++; in futex_requeue()
650 task_count++; in futex_requeue()
680 return ret ? ret : task_count; in futex_requeue()
/linux-6.12.1/tools/perf/
Dbuiltin-sched.c2930 u64 task_count; member
2944 stats->task_count++; in show_thread_runtime()
3016 u64 task_count; in timehist_print_summary() local
3044 task_count = totals.task_count; in timehist_print_summary()
3045 if (!task_count) in timehist_print_summary()
3103 totals.task_count, totals.sched_count); in timehist_print_summary()