Home
last modified time | relevance | path

Searched refs:thread_mutex (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/samples/trace_events/
H A Dtrace-events-sample.c94 static DEFINE_MUTEX(thread_mutex);
99 mutex_lock(&thread_mutex); in foo_bar_reg()
111 mutex_unlock(&thread_mutex); in foo_bar_reg()
117 mutex_lock(&thread_mutex); in foo_bar_unreg()
126 mutex_unlock(&thread_mutex); in foo_bar_unreg()
141 mutex_lock(&thread_mutex); in trace_event_exit()
145 mutex_unlock(&thread_mutex); in trace_event_exit()
/openbmc/linux/drivers/s390/char/
H A Dmonwriter.c48 struct mutex thread_mutex; member
196 mutex_init(&monpriv->thread_mutex); in monwrite_open()
227 mutex_lock(&monpriv->thread_mutex); in monwrite_write()
266 mutex_unlock(&monpriv->thread_mutex); in monwrite_write()
272 mutex_unlock(&monpriv->thread_mutex); in monwrite_write()
/openbmc/linux/lib/
H A Dtest_kmod.c125 struct mutex thread_mutex; member
230 mutex_lock(&test_dev->thread_mutex); in run_request()
233 mutex_unlock(&test_dev->thread_mutex); in run_request()
288 mutex_lock(&test_dev->thread_mutex); in tally_up_work()
305 mutex_unlock(&test_dev->thread_mutex); in tally_up_work()
313 mutex_lock(&test_dev->thread_mutex); in try_one_request()
328 mutex_unlock(&test_dev->thread_mutex); in try_one_request()
334 mutex_unlock(&test_dev->thread_mutex); in try_one_request()
347 mutex_lock(&test_dev->thread_mutex); in test_dev_kmod_stop_tests()
368 mutex_unlock(&test_dev->thread_mutex); in test_dev_kmod_stop_tests()
[all …]