/linux-5.10/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-5.10/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-5.10/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-5.10/tools/perf/ui/tui/ |
D | util.c | 98 pthread_mutex_lock(&ui__lock); in ui_browser__input_window() 134 pthread_mutex_lock(&ui__lock); in ui_browser__input_window() 218 pthread_mutex_lock(&ui__lock); in ui__info_window() 227 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()
|
/linux-5.10/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 | 36 pthread_mutex_lock(&cachep->lock); in kmem_cache_alloc() 68 pthread_mutex_lock(&cachep->lock); in kmem_cache_free()
|
/linux-5.10/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-5.10/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-5.10/tools/perf/bench/ |
D | futex-wake.c | 64 pthread_mutex_lock(&thread_lock); in workerfn() 173 pthread_mutex_lock(&thread_lock); in bench_futex_wake()
|
D | futex-requeue.c | 76 pthread_mutex_lock(&thread_lock); in workerfn() 168 pthread_mutex_lock(&thread_lock); in bench_futex_requeue()
|
D | futex-hash.c | 74 pthread_mutex_lock(&thread_lock); in workerfn() 187 pthread_mutex_lock(&thread_lock); in bench_futex_hash()
|
D | futex-lock-pi.c | 84 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() 290 pthread_mutex_lock(&thread_lock); in bench_futex_wake_parallel()
|
D | numa.c | 1150 pthread_mutex_lock(&g->startup_mutex); in worker_thread() 1159 pthread_mutex_lock(&g->start_work_mutex); in worker_thread() 1184 pthread_mutex_lock(td->process_lock); in worker_thread() 1192 pthread_mutex_lock(td->process_lock); in worker_thread() 1290 pthread_mutex_lock(&g->stop_work_mutex); in worker_thread() 1552 pthread_mutex_lock(&g->startup_mutex); in __bench_numa() 1560 pthread_mutex_lock(&g->start_work_mutex); in __bench_numa() 1580 pthread_mutex_lock(&g->start_work_mutex); in __bench_numa()
|
/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_inherit.c | 75 pthread_mutex_lock(&server_started_mtx); in server_thread() 196 pthread_mutex_lock(&server_started_mtx); in run_test()
|
/linux-5.10/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-5.10/tools/testing/selftests/powerpc/nx-gzip/include/ |
D | nx_dbg.h | 33 pthread_mutex_lock(&mutex_log); \
|
/linux-5.10/tools/perf/util/ |
D | dso.c | 652 pthread_mutex_lock(&dso__data_open_lock); in dso__data_close() 703 if (pthread_mutex_lock(&dso__data_open_lock) < 0) in dso__data_get_fd() 775 pthread_mutex_lock(&dso->lock); in dso_cache__free() 821 pthread_mutex_lock(&dso->lock); in dso_cache__insert() 864 pthread_mutex_lock(&dso__data_open_lock); in file_read() 986 pthread_mutex_lock(&dso__data_open_lock); in file_size()
|
/linux-5.10/tools/testing/selftests/timens/ |
D | clock_nanosleep.c | 54 pthread_mutex_lock(&lock); in run_test()
|