Home
last modified time | relevance | path

Searched refs:start_work_mutex (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/perf/bench/
Dnuma.c143 struct mutex start_work_mutex; member
1208 mutex_lock(&g->start_work_mutex); in worker_thread()
1212 cond_wait(&g->start_work_cond, &g->start_work_mutex); in worker_thread()
1214 mutex_unlock(&g->start_work_mutex); in worker_thread()
1519 mutex_init_pshared(&g->start_work_mutex); in init()
1620 mutex_lock(&g->start_work_mutex); in __bench_numa()
1622 mutex_unlock(&g->start_work_mutex); in __bench_numa()
1640 mutex_lock(&g->start_work_mutex); in __bench_numa()
1642 mutex_unlock(&g->start_work_mutex); in __bench_numa()
/Linux-v6.6/tools/perf/
Dbuiltin-sched.c188 struct mutex start_work_mutex; member
641 mutex_lock(&sched->start_work_mutex); in thread_func()
642 mutex_unlock(&sched->start_work_mutex); in thread_func()
663 EXCLUSIVE_LOCK_FUNCTION(sched->start_work_mutex) in create_tasks()
676 mutex_lock(&sched->start_work_mutex); in create_tasks()
694 UNLOCK_FUNCTION(sched->start_work_mutex) in destroy_tasks()
701 mutex_unlock(&sched->start_work_mutex); in destroy_tasks()
716 EXCLUSIVE_LOCKS_REQUIRED(sched->start_work_mutex) in wait_for_tasks()
736 mutex_unlock(&sched->start_work_mutex); in wait_for_tasks()
758 mutex_lock(&sched->start_work_mutex); in wait_for_tasks()
[all …]