Home
last modified time | relevance | path

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

12

/linux-5.10/tools/include/linux/
Dspinlock.h13 #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/
DABBA_2threads.c13 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()
DABA.c11 pthread_mutex_lock(&a); in main()
12 pthread_mutex_lock(&b); in main()
13 pthread_mutex_lock(&a); in main()
DAA.c10 pthread_mutex_lock(&a); in main()
11 pthread_mutex_lock(&a); in main()
Dcommon.h7 pthread_mutex_lock(&(a)); \
8 pthread_mutex_lock(&(b)); \
Dunlock_balance.c10 pthread_mutex_lock(&a); in main()
/linux-5.10/tools/testing/selftests/membarrier/
Dmembarrier_test_multi_thread.c20 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/
Dutil.c98 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()
Dprogress.c48 pthread_mutex_lock(&ui__lock); in tui_progress__update()
70 pthread_mutex_lock(&ui__lock); in tui_progress__finish()
Dhelpline.c36 pthread_mutex_lock(&ui__lock); in tui_helpline__show()
/linux-5.10/tools/testing/radix-tree/
Dregression1.c91 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()
Dlinux.c36 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/
Dmutex.h40 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/
Dthreadtest.c59 pthread_mutex_lock(&print_lock); in checklist()
85 pthread_mutex_lock(&list_lock); in shared_thread()
/linux-5.10/tools/perf/bench/
Dfutex-wake.c64 pthread_mutex_lock(&thread_lock); in workerfn()
173 pthread_mutex_lock(&thread_lock); in bench_futex_wake()
Dfutex-requeue.c76 pthread_mutex_lock(&thread_lock); in workerfn()
168 pthread_mutex_lock(&thread_lock); in bench_futex_requeue()
Dfutex-hash.c74 pthread_mutex_lock(&thread_lock); in workerfn()
187 pthread_mutex_lock(&thread_lock); in bench_futex_hash()
Dfutex-lock-pi.c84 pthread_mutex_lock(&thread_lock); in workerfn()
193 pthread_mutex_lock(&thread_lock); in bench_futex_lock_pi()
Dfutex-wake-parallel.c125 pthread_mutex_lock(&thread_lock); in blocked_workerfn()
290 pthread_mutex_lock(&thread_lock); in bench_futex_wake_parallel()
Dnuma.c1150 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/
Dsockopt_inherit.c75 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/
Dbrowser.c271 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/
Dnx_dbg.h33 pthread_mutex_lock(&mutex_log); \
/linux-5.10/tools/perf/util/
Ddso.c652 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/
Dclock_nanosleep.c54 pthread_mutex_lock(&lock); in run_test()

12