Home
last modified time | relevance | path

Searched refs:child_mutex (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/realtime/perf/latency/
Dpthread_cond_latency.c46 pthread_mutex_t child_mutex = PTHREAD_MUTEX_INITIALIZER; variable
93 pthread_mutex_lock(&child_mutex); in childfunc()
95 if (pthread_cond_wait(cp, &child_mutex) != 0) { in childfunc()
101 pthread_mutex_unlock(&child_mutex); in childfunc()
147 pthread_mutex_lock(&child_mutex); in test_signal()
150 pthread_mutex_unlock(&child_mutex); in test_signal()
152 pthread_mutex_lock(&child_mutex); in test_signal()
154 pthread_mutex_unlock(&child_mutex); in test_signal()
169 pthread_mutex_lock(&child_mutex); in test_signal()
173 pthread_mutex_unlock(&child_mutex); in test_signal()
[all …]
Dpthread_cond_many.c50 pthread_mutex_t child_mutex; variable
86 pthread_mutex_lock(&child_mutex); in childfunc()
88 if (pthread_cond_wait(cp, &child_mutex) != 0) { in childfunc()
94 pthread_mutex_unlock(&child_mutex); in childfunc()
154 pthread_mutex_lock(&child_mutex); in wake_child()
156 pthread_mutex_unlock(&child_mutex); in wake_child()
158 pthread_mutex_lock(&child_mutex); in wake_child()
160 pthread_mutex_unlock(&child_mutex); in wake_child()
175 pthread_mutex_lock(&child_mutex); in wake_child()
179 pthread_mutex_unlock(&child_mutex); in wake_child()
[all …]
/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-5.c43 pthread_mutex_t child_mutex; variable
49 ret = pthread_mutex_lock(&child_mutex); in child_thread()
58 ret = pthread_mutex_lock(&child_mutex); in child_thread()
86 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
Dtestpi-6.c45 pthread_mutex_t child_mutex; variable
51 ret = pthread_mutex_lock(&child_mutex); in child_thread()
60 ret = pthread_mutex_lock(&child_mutex); in child_thread()
86 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
/external/ltp/testcases/kernel/sched/pthreads/
Dpth_str03.c53 pthread_mutex_t child_mutex; /* mutex for the child_count */ member
222 &parent->child_mutex); in synchronize_children()
225 pthread_mutex_lock(&parent->child_mutex); in synchronize_children()
234 &parent->child_mutex); in synchronize_children()
237 pthread_mutex_unlock(&parent->child_mutex); in synchronize_children()
583 pthread_mutex_init(&child_info[ind].child_mutex, NULL))) { in main()
Dpth_str01.c209 &parent->child_mutex); in synchronize_children()
212 pthread_mutex_lock(&parent->child_mutex); in synchronize_children()
221 &parent->child_mutex); in synchronize_children()
224 pthread_mutex_unlock(&parent->child_mutex); in synchronize_children()
607 if ((rc = pthread_mutex_init(&child_info[ind].child_mutex, in main()
Dpth_str01.h29 pthread_mutex_t child_mutex; /* mutex for the child_count */ member
/external/syzkaller/pkg/report/testdata/linux/report/
D19412 [ 25.920978] (&event->child_mutex){+.+.}, at: [<00000000aedc3ceb>] perf_event_release_kernel+0x2…
19 [ 25.946457] -> #5 (&event->child_mutex){+.+.}:
103 [ 26.307473] event_mutex --> &cpuctx_mutex --> &event->child_mutex
109 [ 26.333496] lock(&event->child_mutex);
111 [ 26.343549] lock(&event->child_mutex);
118 [ 26.373607] #1: (&event->child_mutex){+.+.}, at: [<00000000aedc3ceb>] perf_event_release_kerne…
D1939 [ 68.184086] (&event->child_mutex){+.+.}, at: [<000000000857a1c0>] perf_event_for_each_child+0x8…
90 [ 68.535192] -> #0 (&event->child_mutex){+.+.}:
103 [ 68.585592] &event->child_mutex --> pmus_lock --> &cpuctx_mutex
112 [ 68.626661] lock(&event->child_mutex);