/Linux-v5.4/tools/include/linux/ |
D | spinlock.h | 13 #define spin_lock(x) pthread_mutex_lock(x) 15 #define spin_lock_bh(x) pthread_mutex_lock(x) 17 #define spin_lock_irq(x) pthread_mutex_lock(x) 19 #define spin_lock_irqsave(x, f) (void)f, pthread_mutex_lock(x) 27 pthread_mutex_lock(mutex); in arch_spin_lock()
|
/Linux-v5.4/tools/lib/lockdep/tests/ |
D | ABBA_2threads.c | 13 pthread_mutex_lock(&b); in ba_lock() 18 pthread_mutex_lock(&a); in ba_lock() 34 pthread_mutex_lock(&a); in main() 39 pthread_mutex_lock(&b); in main()
|
D | ABA.c | 11 pthread_mutex_lock(&a); in main() 12 pthread_mutex_lock(&b); in main() 13 pthread_mutex_lock(&a); in main()
|
D | AA.c | 10 pthread_mutex_lock(&a); in main() 11 pthread_mutex_lock(&a); in main()
|
D | common.h | 7 pthread_mutex_lock(&(a)); \ 8 pthread_mutex_lock(&(b)); \
|
D | unlock_balance.c | 10 pthread_mutex_lock(&a); in main()
|
/Linux-v5.4/tools/testing/selftests/membarrier/ |
D | membarrier_test_multi_thread.c | 20 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_membarrier_thread() 25 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_membarrier_thread() 42 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_mt_membarrier() 52 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_mt_membarrier()
|
/Linux-v5.4/tools/perf/ui/tui/ |
D | util.c | 94 pthread_mutex_lock(&ui__lock); in ui_browser__input_window() 130 pthread_mutex_lock(&ui__lock); in ui_browser__input_window() 214 pthread_mutex_lock(&ui__lock); in ui__info_window() 223 pthread_mutex_lock(&ui__lock); in ui__question_window()
|
D | progress.c | 48 pthread_mutex_lock(&ui__lock); in tui_progress__update() 70 pthread_mutex_lock(&ui__lock); in tui_progress__finish()
|
D | helpline.c | 36 pthread_mutex_lock(&ui__lock); in tui_helpline__show()
|
D | setup.c | 32 pthread_mutex_lock(&ui__lock); in ui__refresh_dimensions()
|
/Linux-v5.4/tools/testing/radix-tree/ |
D | regression1.c | 91 pthread_mutex_lock(&page->lock); in find_get_pages() 139 pthread_mutex_lock(&p->lock); in regression1_fn() 147 pthread_mutex_lock(&p->lock); in regression1_fn()
|
D | linux.c | 35 pthread_mutex_lock(&cachep->lock); in kmem_cache_alloc() 61 pthread_mutex_lock(&cachep->lock); in kmem_cache_free()
|
/Linux-v5.4/tools/lib/lockdep/include/liblockdep/ |
D | mutex.h | 40 return pthread_mutex_lock(&lock->mutex); in liblockdep_pthread_mutex_lock() 66 #define pthread_mutex_lock liblockdep_pthread_mutex_lock macro
|
/Linux-v5.4/tools/testing/selftests/timers/ |
D | threadtest.c | 59 pthread_mutex_lock(&print_lock); in checklist() 85 pthread_mutex_lock(&list_lock); in shared_thread()
|
/Linux-v5.4/tools/perf/bench/ |
D | futex-wake.c | 64 pthread_mutex_lock(&thread_lock); in workerfn() 172 pthread_mutex_lock(&thread_lock); in bench_futex_wake()
|
D | futex-requeue.c | 76 pthread_mutex_lock(&thread_lock); in workerfn() 167 pthread_mutex_lock(&thread_lock); in bench_futex_requeue()
|
D | futex-hash.c | 74 pthread_mutex_lock(&thread_lock); in workerfn() 186 pthread_mutex_lock(&thread_lock); in bench_futex_hash()
|
D | futex-lock-pi.c | 85 pthread_mutex_lock(&thread_lock); in workerfn() 193 pthread_mutex_lock(&thread_lock); in bench_futex_lock_pi()
|
D | futex-wake-parallel.c | 125 pthread_mutex_lock(&thread_lock); in blocked_workerfn() 289 pthread_mutex_lock(&thread_lock); in bench_futex_wake_parallel()
|
D | numa.c | 1136 pthread_mutex_lock(&g->startup_mutex); in worker_thread() 1141 pthread_mutex_lock(&g->start_work_mutex); in worker_thread() 1167 pthread_mutex_lock(td->process_lock); in worker_thread() 1175 pthread_mutex_lock(td->process_lock); in worker_thread() 1273 pthread_mutex_lock(&g->stop_work_mutex); in worker_thread() 1505 pthread_mutex_lock(&g->start_work_mutex); in __bench_numa() 1537 pthread_mutex_lock(&g->startup_done_mutex); in __bench_numa() 1543 pthread_mutex_lock(&g->startup_done_mutex); in __bench_numa()
|
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_inherit.c | 75 pthread_mutex_lock(&server_started_mtx); in server_thread() 200 pthread_mutex_lock(&server_started_mtx); in run_test()
|
D | tcp_rtt.c | 219 pthread_mutex_lock(&server_started_mtx); in server_thread() 265 pthread_mutex_lock(&server_started_mtx); in test_tcp_rtt()
|
/Linux-v5.4/tools/perf/ui/ |
D | browser.c | 271 pthread_mutex_lock(&ui__lock); in ui_browser__show_title() 287 pthread_mutex_lock(&ui__lock); in ui_browser__show() 304 pthread_mutex_lock(&ui__lock); in ui_browser__hide() 355 pthread_mutex_lock(&ui__lock); in ui_browser__refresh() 393 pthread_mutex_lock(&ui__lock); in ui_browser__run()
|
/Linux-v5.4/tools/perf/util/ |
D | dso.c | 636 pthread_mutex_lock(&dso__data_open_lock); in dso__data_close() 687 if (pthread_mutex_lock(&dso__data_open_lock) < 0) in dso__data_get_fd() 759 pthread_mutex_lock(&dso->lock); in dso_cache__free() 805 pthread_mutex_lock(&dso->lock); in dso_cache__insert() 846 pthread_mutex_lock(&dso__data_open_lock); in file_read() 956 pthread_mutex_lock(&dso__data_open_lock); in file_size()
|