Home
last modified time | relevance | path

Searched refs:event_mutex (Results 1 – 25 of 27) sorted by relevance

12

/linux/kernel/trace/
H A Dtrace_event_perf.c221 mutex_lock(&event_mutex); in perf_trace_init()
232 mutex_unlock(&event_mutex); in perf_trace_init()
239 mutex_lock(&event_mutex); in perf_trace_destroy()
243 mutex_unlock(&event_mutex); in perf_trace_destroy()
275 mutex_lock(&event_mutex); in perf_kprobe_init()
279 mutex_unlock(&event_mutex); in perf_kprobe_init()
287 mutex_lock(&event_mutex); in perf_kprobe_destroy()
291 mutex_unlock(&event_mutex); in perf_kprobe_destroy()
331 mutex_lock(&event_mutex); in perf_uprobe_init()
335 mutex_unlock(&event_mutex); in perf_uprobe_init()
[all …]
H A Dtrace_events.c36 DEFINE_MUTEX(event_mutex);
570 lockdep_assert_held(&event_mutex); in trace_event_enable_cmd_record()
592 lockdep_assert_held(&event_mutex); in trace_event_enable_tgid_record()
737 mutex_lock(&event_mutex); in ftrace_clear_events()
741 mutex_unlock(&event_mutex); in ftrace_clear_events()
890 lockdep_is_held(&event_mutex)); in __ftrace_clear_event_pids()
892 lockdep_is_held(&event_mutex)); in __ftrace_clear_event_pids()
927 mutex_lock(&event_mutex); in ftrace_clear_event_pids()
929 mutex_unlock(&event_mutex); in ftrace_clear_event_pids()
976 mutex_lock(&event_mutex); in put_system()
[all …]
H A Dtrace_dynevent.c109 mutex_lock(&event_mutex); in dyn_event_release()
122 mutex_unlock(&event_mutex); in dyn_event_release()
154 mutex_lock(&event_mutex); in dyn_event_seq_start()
165 mutex_unlock(&event_mutex); in dyn_event_seq_stop()
201 mutex_lock(&event_mutex); in dyn_events_release_all()
219 mutex_unlock(&event_mutex); in dyn_events_release_all()
H A Dtrace_events_user.c243 mutex_lock(&event_mutex); in delayed_destroy_user_event()
259 mutex_unlock(&event_mutex); in delayed_destroy_user_event()
281 lockdep_assert_not_held(&event_mutex); in user_event_put()
282 delete = refcount_dec_and_mutex_lock(&user->refcnt, &event_mutex); in user_event_put()
284 lockdep_assert_held(&event_mutex); in user_event_put()
334 mutex_unlock(&event_mutex); in user_event_put()
463 mutex_lock(&event_mutex); in user_event_enabler_fault_fixup()
486 mutex_unlock(&event_mutex); in user_event_enabler_fault_fixup()
536 lockdep_assert_held(&event_mutex); in user_event_enabler_write()
599 lockdep_assert_held(&event_mutex); in user_event_enabler_update()
[all …]
H A Dtrace_events_trigger.c148 lockdep_is_held(&event_mutex)) { in check_user_trigger()
161 mutex_lock(&event_mutex); in trigger_start()
174 mutex_unlock(&event_mutex); in trigger_stop()
214 mutex_lock(&event_mutex); in event_trigger_regex_open()
217 mutex_unlock(&event_mutex); in event_trigger_regex_open()
242 mutex_unlock(&event_mutex); in event_trigger_regex_open()
295 mutex_lock(&event_mutex); in event_trigger_regex_write()
298 mutex_unlock(&event_mutex); in event_trigger_regex_write()
303 mutex_unlock(&event_mutex); in event_trigger_regex_write()
317 mutex_lock(&event_mutex); in event_trigger_regex_release()
[all …]
H A Dtrace_dynevent.h82 lockdep_assert_held(&event_mutex); in dyn_event_add()
94 lockdep_assert_held(&event_mutex); in dyn_event_remove()
H A Dtrace_eprobe.c920 mutex_lock(&event_mutex); in __trace_eprobe_create()
923 mutex_unlock(&event_mutex); in __trace_eprobe_create()
955 mutex_lock(&event_mutex); in __trace_eprobe_create()
962 mutex_unlock(&event_mutex); in __trace_eprobe_create()
966 mutex_unlock(&event_mutex); in __trace_eprobe_create()
H A Dtrace_events_filter.c1272 mutex_lock(&event_mutex); in print_subsystem_event_filter()
1278 mutex_unlock(&event_mutex); in print_subsystem_event_filter()
2408 mutex_lock(&event_mutex); in apply_subsystem_event_filter()
2438 mutex_unlock(&event_mutex); in apply_subsystem_event_filter()
2581 lockdep_is_held(&event_mutex)); in ftrace_function_set_filter()
2615 mutex_lock(&event_mutex); in ftrace_profile_set_filter()
2641 mutex_unlock(&event_mutex); in ftrace_profile_set_filter()
2744 lockdep_is_held(&event_mutex)); in update_pred_fn()
2787 mutex_lock(&event_mutex); in ftrace_test_event_filter()
2800 mutex_unlock(&event_mutex); in ftrace_test_event_filter()
H A Dtrace_events_inject.c301 mutex_lock(&event_mutex); in event_inject_write()
311 mutex_unlock(&event_mutex); in event_inject_write()
H A Dtrace_kprobe.c637 mutex_lock(&event_mutex); in register_trace_kprobe()
676 mutex_unlock(&event_mutex); in register_trace_kprobe()
709 mutex_lock(&event_mutex); in trace_kprobe_module_callback()
721 mutex_unlock(&event_mutex); in trace_kprobe_module_callback()
1971 mutex_lock(&event_mutex); in enable_boot_kprobe_events()
1977 mutex_unlock(&event_mutex); in enable_boot_kprobe_events()
H A Dtrace_fprobe.c848 mutex_lock(&event_mutex); in register_trace_fprobe()
876 mutex_unlock(&event_mutex); in register_trace_fprobe()
968 mutex_lock(&event_mutex); in __tracepoint_probe_module_cb()
986 mutex_unlock(&event_mutex); in __tracepoint_probe_module_cb()
H A Dtrace_events_hist.c1129 lockdep_assert_held(&event_mutex); in find_var()
1185 lockdep_assert_held(&event_mutex); in find_file_var()
2842 lockdep_assert_held(&event_mutex); in find_trigger_filter()
2896 lockdep_assert_held(&event_mutex); in find_compatible_hist()
3547 lockdep_assert_held(&event_mutex); in action_data_destroy()
3986 lockdep_assert_held(&event_mutex); in trace_action_create()
5602 mutex_lock(&event_mutex); in hist_show()
5616 mutex_unlock(&event_mutex); in hist_show()
5881 mutex_lock(&event_mutex); in hist_debug_show()
5895 mutex_unlock(&event_mutex); in hist_debug_show()
[all …]
H A Dtrace_boot.c480 mutex_lock(&event_mutex); in trace_boot_init_one_event()
514 mutex_unlock(&event_mutex); in trace_boot_init_one_event()
H A Dtrace_uprobe.c499 mutex_lock(&event_mutex); in register_trace_uprobe()
532 mutex_unlock(&event_mutex); in register_trace_uprobe()
918 BUG_ON(!mutex_is_locked(&event_mutex)); in uprobe_buffer_enable()
933 BUG_ON(!mutex_is_locked(&event_mutex)); in uprobe_buffer_disable()
H A Dtrace.c2584 WARN_ON_ONCE(!mutex_is_locked(&event_mutex)); in trace_buffered_event_enable()
2636 WARN_ON_ONCE(!mutex_is_locked(&event_mutex)); in trace_buffered_event_disable()
4855 mutex_lock(&event_mutex); in tracing_open_file_tr()
4865 mutex_unlock(&event_mutex); in tracing_open_file_tr()
5324 lockdep_assert_held(&event_mutex); in set_tracer_flag()
5409 mutex_lock(&event_mutex); in trace_set_options()
5420 mutex_unlock(&event_mutex); in trace_set_options()
8992 mutex_lock(&event_mutex); in trace_options_core_write()
8996 mutex_unlock(&event_mutex); in trace_options_core_write()
9628 mutex_lock(&event_mutex); in instance_mkdir()
[all …]
H A Dtrace_events_synth.c1296 mutex_lock(&event_mutex); in __create_synth_event()
1396 mutex_unlock(&event_mutex); in __create_synth_event()
1493 mutex_lock(&event_mutex); in synth_event_delete()
1499 mutex_unlock(&event_mutex); in synth_event_delete()
H A Dtrace.h1644 extern struct mutex event_mutex;
1663 lockdep_assert_held(&event_mutex); in event_file_file()
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_display.c101 struct mutex event_mutex; member
550 mutex_lock(&dp->event_mutex); in dp_hpd_plug_handle()
557 mutex_unlock(&dp->event_mutex); in dp_hpd_plug_handle()
562 mutex_unlock(&dp->event_mutex); in dp_hpd_plug_handle()
569 mutex_unlock(&dp->event_mutex); in dp_hpd_plug_handle()
576 mutex_unlock(&dp->event_mutex); in dp_hpd_plug_handle()
590 mutex_unlock(&dp->event_mutex); in dp_hpd_plug_handle()
617 mutex_lock(&dp->event_mutex); in dp_hpd_unplug_handle()
633 mutex_unlock(&dp->event_mutex); in dp_hpd_unplug_handle()
636 mutex_unlock(&dp->event_mutex); in dp_hpd_unplug_handle()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_events.c246 mutex_init(&p->event_mutex); in kfd_event_init_process()
256 mutex_destroy(&p->event_mutex); in kfd_event_init_process()
290 mutex_destroy(&p->event_mutex); in destroy_events()
416 mutex_lock(&p->event_mutex); in kfd_event_create()
440 mutex_unlock(&p->event_mutex); in kfd_event_create()
490 mutex_lock(&p->event_mutex); in kfd_criu_restore_event()
511 mutex_unlock(&p->event_mutex); in kfd_criu_restore_event()
611 mutex_lock(&p->event_mutex); in kfd_event_destroy()
620 mutex_unlock(&p->event_mutex); in kfd_event_destroy()
961 mutex_lock(&p->event_mutex); in kfd_wait_on_events()
[all …]
H A Dkfd_debug.c45 mutex_lock(&process->event_mutex); in kfd_dbg_ev_query_debug_event()
92 mutex_unlock(&process->event_mutex); in kfd_dbg_ev_query_debug_event()
129 mutex_lock(&process->event_mutex); in kfd_dbg_ev_raise()
193 mutex_unlock(&process->event_mutex); in kfd_dbg_ev_raise()
925 mutex_lock(&target->event_mutex); in kfd_dbg_trap_query_exception_info()
1023 mutex_unlock(&target->event_mutex); in kfd_dbg_trap_query_exception_info()
1051 mutex_lock(&target->event_mutex); in kfd_dbg_trap_device_snapshot()
1096 mutex_unlock(&target->event_mutex); in kfd_dbg_trap_device_snapshot()
1111 mutex_lock(&target->event_mutex); in kfd_dbg_set_enabled_debug_exception_mask()
1134 mutex_unlock(&target->event_mutex); in kfd_dbg_set_enabled_debug_exception_mask()
H A Dkfd_process_queue_manager.c706 mutex_lock(&pqm->process->event_mutex); in pqm_get_queue_snapshot()
726 mutex_unlock(&pqm->process->event_mutex); in pqm_get_queue_snapshot()
H A Dkfd_priv.h926 struct mutex event_mutex; member
H A Dkfd_device_queue_manager.c3362 mutex_lock(&p->event_mutex); in suspend_queues()
3395 mutex_unlock(&p->event_mutex); in suspend_queues()
3426 mutex_unlock(&p->event_mutex); in suspend_queues()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c2213 mutex_lock(&BP_VFDB(bp)->event_mutex); in bnx2x_vf_mbx_schedule()
2219 mutex_unlock(&BP_VFDB(bp)->event_mutex); in bnx2x_vf_mbx_schedule()
2235 mutex_lock(&vfdb->event_mutex); in bnx2x_vf_mbx()
2238 mutex_unlock(&vfdb->event_mutex); in bnx2x_vf_mbx()
H A Dbnx2x_sriov.h361 struct mutex event_mutex; member

12