Home
last modified time | relevance | path

Searched refs:pthread_mutex_lock (Results 1 – 31 of 31) sorted by relevance

/linux-4.4.14/tools/lib/lockdep/tests/
DAA.c10 pthread_mutex_lock(&a); in main()
11 pthread_mutex_lock(&b); in main()
12 pthread_mutex_lock(&a); in main()
Dcommon.h6 pthread_mutex_lock(&(a)); \
7 pthread_mutex_lock(&(b)); \
Dunlock_balance.c9 pthread_mutex_lock(&a); in main()
/linux-4.4.14/tools/perf/ui/tui/
Dprogress.c22 pthread_mutex_lock(&ui__lock); in tui_progress__update()
44 pthread_mutex_lock(&ui__lock); in tui_progress__finish()
Dutil.c95 pthread_mutex_lock(&ui__lock); in ui_browser__input_window()
131 pthread_mutex_lock(&ui__lock); in ui_browser__input_window()
187 pthread_mutex_lock(&ui__lock); in ui__question_window()
Dhelpline.c34 pthread_mutex_lock(&ui__lock); in tui_helpline__show()
Dsetup.c28 pthread_mutex_lock(&ui__lock); in ui__refresh_dimensions()
/linux-4.4.14/tools/lib/lockdep/include/liblockdep/
Dmutex.h39 return pthread_mutex_lock(&lock->mutex); in liblockdep_pthread_mutex_lock()
63 #define pthread_mutex_lock liblockdep_pthread_mutex_lock macro
/linux-4.4.14/tools/testing/selftests/timers/
Dthreadtest.c71 pthread_mutex_lock(&print_lock); in checklist()
97 pthread_mutex_lock(&list_lock); in shared_thread()
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
Dspinlock.h12 pthread_mutex_lock(mutex); in arch_spin_lock()
/linux-4.4.14/tools/perf/bench/
Dfutex-wake.c56 pthread_mutex_lock(&thread_lock); in workerfn()
162 pthread_mutex_lock(&thread_lock); in bench_futex_wake()
Dfutex-requeue.c68 pthread_mutex_lock(&thread_lock); in workerfn()
157 pthread_mutex_lock(&thread_lock); in bench_futex_requeue()
Dfutex-lock-pi.c76 pthread_mutex_lock(&thread_lock); in workerfn()
180 pthread_mutex_lock(&thread_lock); in bench_futex_lock_pi()
Dfutex-hash.c64 pthread_mutex_lock(&thread_lock); in workerfn()
173 pthread_mutex_lock(&thread_lock); in bench_futex_hash()
Dfutex-wake-parallel.c100 pthread_mutex_lock(&thread_lock); in blocked_workerfn()
260 pthread_mutex_lock(&thread_lock); in bench_futex_wake_parallel()
Dnuma.c1077 pthread_mutex_lock(&g->startup_mutex); in worker_thread()
1082 pthread_mutex_lock(&g->start_work_mutex); in worker_thread()
1108 pthread_mutex_lock(td->process_lock); in worker_thread()
1116 pthread_mutex_lock(td->process_lock); in worker_thread()
1213 pthread_mutex_lock(&g->stop_work_mutex); in worker_thread()
1445 pthread_mutex_lock(&g->start_work_mutex); in __bench_numa()
1477 pthread_mutex_lock(&g->startup_done_mutex); in __bench_numa()
1483 pthread_mutex_lock(&g->startup_done_mutex); in __bench_numa()
/linux-4.4.14/tools/perf/ui/
Dbrowser.c257 pthread_mutex_lock(&ui__lock); in ui_browser__show_title()
273 pthread_mutex_lock(&ui__lock); in ui_browser__show()
290 pthread_mutex_lock(&ui__lock); in ui_browser__hide()
339 pthread_mutex_lock(&ui__lock); in ui_browser__refresh()
377 pthread_mutex_lock(&ui__lock); in ui_browser__run()
/linux-4.4.14/tools/testing/selftests/vm/
Duserfaultfd.c198 pthread_mutex_lock(area_mutex(area_dst, page_nr)); in locking_thread()
368 pthread_mutex_lock(&uffd_read_mutex); in stress()
497 pthread_mutex_lock(&uffd_read_mutex); in userfaultfd_stress()
/linux-4.4.14/tools/perf/util/
Ddso.c475 pthread_mutex_lock(&dso__data_open_lock); in dso__data_close()
526 if (pthread_mutex_lock(&dso__data_open_lock) < 0) in dso__data_get_fd()
560 pthread_mutex_lock(&dso->lock); in dso_cache__free()
606 pthread_mutex_lock(&dso->lock); in dso_cache__insert()
657 pthread_mutex_lock(&dso__data_open_lock); in dso_cache__read()
758 pthread_mutex_lock(&dso__data_open_lock); in data_file_size()
Dhist.c1031 pthread_mutex_lock(&hists->lock); in hists__get_rotate_entries_in()
Dannotate.c492 pthread_mutex_lock(&notes->lock); in symbol__annotate_zero_histograms()
Dsymbol.c1409 pthread_mutex_lock(&dso->lock); in dso__load()
/linux-4.4.14/tools/virtio/virtio-trace/
Dtrace-agent-rw.c117 pthread_mutex_lock(&mutex_notify); in rw_thread_main()
/linux-4.4.14/tools/perf/
Dbuiltin-top.c116 pthread_mutex_lock(&notes->lock); in perf_top__parse_source()
120 pthread_mutex_lock(&notes->lock); in perf_top__parse_source()
213 pthread_mutex_lock(&he->hists->lock); in perf_top__record_precise_ip()
229 pthread_mutex_lock(&notes->lock); in perf_top__show_details()
799 pthread_mutex_lock(&hists->lock); in perf_event__process_sample()
Dbuiltin-sched.c521 ret = pthread_mutex_lock(&sched->start_work_mutex); in thread_func()
538 ret = pthread_mutex_lock(&sched->work_done_wait_mutex); in thread_func()
558 err = pthread_mutex_lock(&sched->start_work_mutex); in create_tasks()
560 err = pthread_mutex_lock(&sched->work_done_wait_mutex); in create_tasks()
593 ret = pthread_mutex_lock(&sched->work_done_wait_mutex); in wait_for_tasks()
620 ret = pthread_mutex_lock(&sched->start_work_mutex); in wait_for_tasks()
/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1707 pthread_mutex_lock(me->mutex); in tsync_sibling()
1776 pthread_mutex_lock(&self->mutex); in TEST_F()
1819 pthread_mutex_lock(&self->mutex); in TEST_F()
1844 pthread_mutex_lock(&self->mutex); in TEST_F()
1884 pthread_mutex_lock(&self->mutex); in TEST_F()
1929 pthread_mutex_lock(&self->mutex); in TEST_F()
1983 pthread_mutex_lock(&self->mutex); in TEST_F()
2009 pthread_mutex_lock(&self->mutex); in TEST_F()
/linux-4.4.14/tools/thermal/tmon/
Dtmon.c89 pthread_mutex_lock(&input_lock); in tmon_cleanup()
Dtui.c492 pthread_mutex_lock(&input_lock); in handle_tui_events()
/linux-4.4.14/tools/perf/ui/browsers/
Dannotate.c389 pthread_mutex_lock(&notes->lock); in annotate_browser__calc_percent()
508 pthread_mutex_lock(&notes->lock); in annotate_browser__callq()
947 pthread_mutex_lock(&notes->lock); in annotate__compute_ipc()
/linux-4.4.14/tools/lib/lockdep/
Dpreload.c249 int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock() function
/linux-4.4.14/Documentation/
Drobust-futexes.txt34 created: pthread_mutex_lock() returns an error value if the owner exits