/linux/kernel/trace/ |
H A D | trace_event_perf.c | 221 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 D | trace_events.c | 36 DEFINE_MUTEX(event_mutex); 737 mutex_lock(&event_mutex); in ftrace_clear_events() 927 mutex_lock(&event_mutex); in ftrace_clear_event_pids() 976 mutex_lock(&event_mutex); in put_system() 1080 mutex_lock(&event_mutex); in __ftrace_set_clr_event() 1248 mutex_lock(&event_mutex); in t_start() 1281 mutex_lock(&event_mutex); in s_start() 1347 mutex_lock(&event_mutex); in __start() 1388 mutex_lock(&event_mutex); in event_enable_read() 1462 mutex_lock(&event_mutex); in system_enable_read() [all …]
|
H A D | trace_dynevent.c | 109 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 D | trace_events_user.c | 243 mutex_lock(&event_mutex); in delayed_destroy_user_event() 259 mutex_unlock(&event_mutex); in delayed_destroy_user_event() 463 mutex_lock(&event_mutex); in user_event_enabler_fault_fixup() 486 mutex_unlock(&event_mutex); in user_event_enabler_fault_fixup() 911 mutex_lock(&event_mutex); in user_event_enabler_create() 2096 mutex_lock(&event_mutex); in user_event_parse() 2165 mutex_lock(&event_mutex); in user_event_parse() 2551 mutex_lock(&event_mutex); in user_events_ioctl_del() 2599 mutex_lock(&event_mutex); in user_event_mm_clear_bit() 2647 mutex_lock(&event_mutex); in user_events_ioctl_unreg() [all …]
|
H A D | trace_events_trigger.c | 148 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 D | trace_dynevent.h | 82 lockdep_assert_held(&event_mutex); in dyn_event_add() 94 lockdep_assert_held(&event_mutex); in dyn_event_remove()
|
H A D | trace_eprobe.c | 920 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 D | trace_events_filter.c | 1272 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 D | trace_events_inject.c | 301 mutex_lock(&event_mutex); in event_inject_write() 311 mutex_unlock(&event_mutex); in event_inject_write()
|
H A D | trace_kprobe.c | 637 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 D | trace_fprobe.c | 848 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 D | trace_boot.c | 480 mutex_lock(&event_mutex); in trace_boot_init_one_event() 514 mutex_unlock(&event_mutex); in trace_boot_init_one_event()
|
H A D | trace_events_hist.c | 1129 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 D | trace_uprobe.c | 499 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 D | trace.c | 4855 mutex_lock(&event_mutex); in tracing_open_file_tr() 4865 mutex_unlock(&event_mutex); in tracing_open_file_tr() 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() 9691 mutex_lock(&event_mutex); in trace_array_get_by_name() 9764 mutex_lock(&event_mutex); in trace_array_destroy() 9789 mutex_lock(&event_mutex); in instance_rmdir() [all …]
|
H A D | trace_events_synth.c | 1296 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 D | trace.h | 1644 extern struct mutex event_mutex; 1663 lockdep_assert_held(&event_mutex); in event_file_file()
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_display.c | 101 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() 590 mutex_unlock(&dp->event_mutex); in dp_hpd_plug_handle() 617 mutex_lock(&dp->event_mutex); in dp_hpd_unplug_handle() 668 mutex_unlock(&dp->event_mutex); in dp_hpd_unplug_handle() 676 mutex_lock(&dp->event_mutex); in dp_irq_hpd_handle() 700 mutex_unlock(&dp->event_mutex); in dp_irq_hpd_handle() 1299 mutex_init(&dp->event_mutex); in dp_display_probe() 1655 mutex_lock(&dp->event_mutex); in dp_bridge_hpd_enable() [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_events.c | 246 mutex_init(&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() 990 mutex_unlock(&p->event_mutex); in kfd_wait_on_events() [all …]
|
H A D | kfd_debug.c | 45 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 D | kfd_process_queue_manager.c | 706 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 D | kfd_priv.h | 926 struct mutex event_mutex; member
|
H A D | kfd_device_queue_manager.c | 3362 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 D | bnx2x_vfpf.c | 2213 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 D | bnx2x_sriov.h | 361 struct mutex event_mutex; member
|