Home
last modified time | relevance | path

Searched refs:mutex_lock (Results 1 – 25 of 3633) sorted by relevance

12345678910>>...146

/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c95 mutex_lock(&pwrpriv->mutex_lock); in r8712_cpwm_int_hdl()
102 mutex_unlock(&pwrpriv->mutex_lock); in r8712_cpwm_int_hdl()
133 mutex_lock(&pwrpriv->mutex_lock); in SetPSModeWorkItemCallback()
136 mutex_unlock(&pwrpriv->mutex_lock); in SetPSModeWorkItemCallback()
147 mutex_lock(&pwrpriv->mutex_lock); in rpwm_workitem_callback()
151 mutex_unlock(&pwrpriv->mutex_lock); in rpwm_workitem_callback()
168 mutex_init(&pwrctrlpriv->mutex_lock); in r8712_init_pwrctrl_priv()
195 mutex_lock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive()
201 mutex_unlock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive()
215 mutex_lock(&pwrctrl->mutex_lock); in r8712_unregister_cmd_alive()
[all …]
/Linux-v5.4/drivers/gpu/host1x/
Dbus.c52 mutex_lock(&device->subdevs_lock); in host1x_subdev_add()
119 mutex_lock(&device->subdevs_lock); in host1x_subdev_register()
120 mutex_lock(&device->clients_lock); in host1x_subdev_register()
157 mutex_lock(&device->clients_lock); in __host1x_subdev_unregister()
176 mutex_lock(&device->subdevs_lock); in host1x_subdev_unregister()
196 mutex_lock(&device->clients_lock); in host1x_device_init()
238 mutex_lock(&device->clients_lock); in host1x_device_exit()
265 mutex_lock(&host1x->devices_lock); in host1x_add_client()
287 mutex_lock(&host1x->devices_lock); in host1x_del_client()
365 mutex_lock(&device->subdevs_lock); in __host1x_device_del()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Damd_powerplay.c179 mutex_lock(&hwmgr->smu_lock); in pp_late_init()
357 mutex_lock(&hwmgr->smu_lock); in pp_dpm_force_performance_level()
375 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_performance_level()
393 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_sclk()
411 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_mclk()
428 mutex_lock(&hwmgr->smu_lock); in pp_dpm_powergate_vce()
444 mutex_lock(&hwmgr->smu_lock); in pp_dpm_powergate_uvd()
458 mutex_lock(&hwmgr->smu_lock); in pp_dpm_dispatch_tasks()
474 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_current_power_state()
511 mutex_lock(&hwmgr->smu_lock); in pp_dpm_set_fan_control_mode()
[all …]
/Linux-v5.4/net/mac802154/
Dmib.c48 mutex_lock(&sdata->sec_mtx); in mac802154_get_params()
64 mutex_lock(&sdata->sec_mtx); in mac802154_set_params()
80 mutex_lock(&sdata->sec_mtx); in mac802154_add_key()
95 mutex_lock(&sdata->sec_mtx); in mac802154_del_key()
110 mutex_lock(&sdata->sec_mtx); in mac802154_add_dev()
124 mutex_lock(&sdata->sec_mtx); in mac802154_del_dev()
140 mutex_lock(&sdata->sec_mtx); in mac802154_add_devkey()
156 mutex_lock(&sdata->sec_mtx); in mac802154_del_devkey()
171 mutex_lock(&sdata->sec_mtx); in mac802154_add_seclevel()
186 mutex_lock(&sdata->sec_mtx); in mac802154_del_seclevel()
[all …]
/Linux-v5.4/drivers/base/power/
Dqos.c237 mutex_lock(&dev_pm_qos_sysfs_mtx); in dev_pm_qos_constraints_destroy()
246 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_constraints_destroy()
352 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_add_request()
422 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_update_request()
469 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_remove_request()
495 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_add_notifier()
538 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_remove_notifier()
627 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_drop_user_request()
655 mutex_lock(&dev_pm_qos_sysfs_mtx); in dev_pm_qos_expose_latency_limit()
657 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_expose_latency_limit()
[all …]
/Linux-v5.4/drivers/usb/gadget/function/
Du_ether_configfs.h35 mutex_lock(&opts->lock); \
48 mutex_lock(&opts->lock); \
70 mutex_lock(&opts->lock); \
83 mutex_lock(&opts->lock); \
105 mutex_lock(&opts->lock); \
118 mutex_lock(&opts->lock); \
144 mutex_lock(&opts->lock); \
160 mutex_lock(&opts->lock); \
175 mutex_lock(&opts->lock); \
Duvc_configfs.c151 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
156 mutex_lock(&opts->lock); \
175 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
180 mutex_lock(&opts->lock); \
270 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
276 mutex_lock(&opts->lock); \
304 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ in uvcg_default_processing_bm_controls_show()
310 mutex_lock(&opts->lock); in uvcg_default_processing_bm_controls_show()
373 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
380 mutex_lock(&opts->lock); \
[all …]
/Linux-v5.4/fs/ecryptfs/
Dmessaging.c161 mutex_lock(&daemon->mux); in ecryptfs_exorcise_daemon()
221 mutex_lock(&msg_ctx->mux); in ecryptfs_process_response()
271 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_send_message_locked()
306 mutex_lock(&ecryptfs_daemon_hash_mux); in ecryptfs_send_message()
332 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_wait_for_response()
333 mutex_lock(&msg_ctx->mux); in ecryptfs_wait_for_response()
363 mutex_lock(&ecryptfs_daemon_hash_mux); in ecryptfs_init_messaging()
386 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_init_messaging()
392 mutex_lock(&ecryptfs_msg_ctx_arr[i].mux); in ecryptfs_init_messaging()
415 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_release_messaging()
[all …]
Dmiscdev.c34 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll()
47 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll()
69 mutex_lock(&ecryptfs_daemon_hash_mux); in ecryptfs_miscdev_open()
81 mutex_lock(&daemon->mux); in ecryptfs_miscdev_open()
112 mutex_lock(&daemon->mux); in ecryptfs_miscdev_release()
118 mutex_lock(&ecryptfs_daemon_hash_mux); in ecryptfs_miscdev_release()
156 mutex_lock(&msg_ctx->mux); in ecryptfs_send_miscdev()
166 mutex_lock(&daemon->mux); in ecryptfs_send_miscdev()
221 mutex_lock(&daemon->mux); in ecryptfs_miscdev_read()
239 mutex_lock(&daemon->mux); in ecryptfs_miscdev_read()
[all …]
/Linux-v5.4/sound/xen/
Dxen_snd_front.c65 mutex_lock(&evtchnl->u.req.req_io_lock); in xen_snd_front_stream_query_hw_param()
67 mutex_lock(&evtchnl->ring_io_lock); in xen_snd_front_stream_query_hw_param()
93 mutex_lock(&evtchnl->u.req.req_io_lock); in xen_snd_front_stream_prepare()
95 mutex_lock(&evtchnl->ring_io_lock); in xen_snd_front_stream_prepare()
120 mutex_lock(&evtchnl->u.req.req_io_lock); in xen_snd_front_stream_close()
122 mutex_lock(&evtchnl->ring_io_lock); in xen_snd_front_stream_close()
141 mutex_lock(&evtchnl->u.req.req_io_lock); in xen_snd_front_stream_write()
143 mutex_lock(&evtchnl->ring_io_lock); in xen_snd_front_stream_write()
164 mutex_lock(&evtchnl->u.req.req_io_lock); in xen_snd_front_stream_read()
166 mutex_lock(&evtchnl->ring_io_lock); in xen_snd_front_stream_read()
[all …]
/Linux-v5.4/drivers/acpi/
Dacpi_dbg.c136 mutex_lock(&acpi_aml_io.lock); in acpi_aml_running()
146 mutex_lock(&acpi_aml_io.lock); in acpi_aml_busy()
160 mutex_lock(&acpi_aml_io.lock); in acpi_aml_used()
170 mutex_lock(&acpi_aml_io.lock); in acpi_aml_kern_readable()
181 mutex_lock(&acpi_aml_io.lock); in acpi_aml_kern_writable()
192 mutex_lock(&acpi_aml_io.lock); in acpi_aml_user_readable()
203 mutex_lock(&acpi_aml_io.lock); in acpi_aml_user_writable()
214 mutex_lock(&acpi_aml_io.lock); in acpi_aml_lock_write()
233 mutex_lock(&acpi_aml_io.lock); in acpi_aml_lock_read()
250 mutex_lock(&acpi_aml_io.lock); in acpi_aml_unlock_fifo()
[all …]
Dcm_sbs.c29 mutex_lock(&cm_sbs_mutex); in acpi_lock_ac_dir()
45 mutex_lock(&cm_sbs_mutex); in acpi_unlock_ac_dir()
58 mutex_lock(&cm_sbs_mutex); in acpi_lock_battery_dir()
76 mutex_lock(&cm_sbs_mutex); in acpi_unlock_battery_dir()
/Linux-v5.4/drivers/w1/
Dw1.c122 mutex_lock(&sl->master->mutex); in rw_write()
141 mutex_lock(&sl->master->mutex); in rw_read()
213 mutex_lock(&md->mutex); in w1_master_attribute_show_name()
232 mutex_lock(&md->mutex); in w1_master_attribute_store_search()
249 mutex_lock(&md->mutex); in w1_master_attribute_show_search()
268 mutex_lock(&md->mutex); in w1_master_attribute_store_pullup()
282 mutex_lock(&md->mutex); in w1_master_attribute_show_pullup()
294 mutex_lock(&md->mutex); in w1_master_attribute_show_pointer()
324 mutex_lock(&md->mutex); in w1_master_attribute_store_max_slave_count()
338 mutex_lock(&md->mutex); in w1_master_attribute_show_max_slave_count()
[all …]
/Linux-v5.4/sound/pci/ice1712/
Dpontis.c115 mutex_lock(&ice->gpio_mutex); in wm_dac_vol_get()
131 mutex_lock(&ice->gpio_mutex); in wm_dac_vol_put()
170 mutex_lock(&ice->gpio_mutex); in wm_adc_vol_get()
186 mutex_lock(&ice->gpio_mutex); in wm_adc_vol_put()
211 mutex_lock(&ice->gpio_mutex); in wm_adc_mux_get()
224 mutex_lock(&ice->gpio_mutex); in wm_adc_mux_put()
247 mutex_lock(&ice->gpio_mutex); in wm_bypass_get()
259 mutex_lock(&ice->gpio_mutex); in wm_bypass_put()
282 mutex_lock(&ice->gpio_mutex); in wm_chswap_get()
294 mutex_lock(&ice->gpio_mutex); in wm_chswap_put()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dp2p.c149 mutex_lock(&wil->mutex); in wil_p2p_listen()
161 mutex_lock(&wil->vif_mutex); in wil_p2p_listen()
213 mutex_lock(&wil->mutex); in wil_p2p_cancel_listen()
231 mutex_lock(&wil->vif_mutex); in wil_p2p_cancel_listen()
253 mutex_lock(&wil->mutex); in wil_p2p_listen_expired()
260 mutex_lock(&wil->vif_mutex); in wil_p2p_listen_expired()
281 mutex_lock(&wil->mutex); in wil_p2p_search_expired()
290 mutex_lock(&wil->vif_mutex); in wil_p2p_search_expired()
311 mutex_lock(&wil->mutex); in wil_p2p_delayed_listen_work()
317 mutex_lock(&wil->vif_mutex); in wil_p2p_delayed_listen_work()
[all …]
/Linux-v5.4/drivers/media/cec/
Dcec-notifier.c41 mutex_lock(&cec_notifiers_lock); in cec_notifier_get_conn()
86 mutex_lock(&cec_notifiers_lock); in cec_notifier_put()
101 mutex_lock(&n->lock); in cec_notifier_conn_register()
121 mutex_lock(&n->lock); in cec_notifier_conn_unregister()
146 mutex_lock(&n->lock); in cec_notifier_cec_adap_register()
161 mutex_lock(&n->lock); in cec_notifier_cec_adap_unregister()
175 mutex_lock(&n->lock); in cec_notifier_set_phys_addr()
205 mutex_lock(&n->lock); in cec_notifier_register()
219 mutex_lock(&n->lock); in cec_notifier_unregister()
/Linux-v5.4/drivers/oprofile/
Doprof.c42 mutex_lock(&start_mutex); in oprofile_setup()
123 mutex_lock(&start_mutex); in oprofile_set_timeout()
161 mutex_lock(&start_mutex); in oprofile_start()
188 mutex_lock(&start_mutex); in oprofile_stop()
205 mutex_lock(&start_mutex); in oprofile_shutdown()
232 mutex_lock(&start_mutex); in oprofile_set_ulong()
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-clk.c56 mutex_lock(&clk_lock); in v4l2_clk_get()
86 mutex_lock(&clk_lock); in v4l2_clk_put()
101 mutex_lock(&clk_lock); in v4l2_clk_lock_driver()
132 mutex_lock(&clk->lock); in v4l2_clk_enable()
157 mutex_lock(&clk->lock); in v4l2_clk_disable()
183 mutex_lock(&clk->lock); in v4l2_clk_get_rate()
212 mutex_lock(&clk->lock); in v4l2_clk_set_rate()
249 mutex_lock(&clk_lock); in v4l2_clk_register()
275 mutex_lock(&clk_lock); in v4l2_clk_unregister()
/Linux-v5.4/lib/
Dtest_firmware.c113 mutex_lock(&test_fw_mutex); in test_fw_misc_read()
147 mutex_lock(&test_fw_mutex); in test_release_all_firmware()
203 mutex_lock(&test_fw_mutex); in reset_store()
231 mutex_lock(&test_fw_mutex); in config_show()
274 mutex_lock(&test_fw_mutex); in config_name_store()
290 mutex_lock(&test_fw_mutex); in config_test_show_str()
302 mutex_lock(&test_fw_mutex); in test_dev_config_update_bool()
318 mutex_lock(&test_fw_mutex); in test_dev_config_show_bool()
329 mutex_lock(&test_fw_mutex); in test_dev_config_show_int()
348 mutex_lock(&test_fw_mutex); in test_dev_config_update_u8()
[all …]
Dtest_kmod.c241 mutex_lock(&test_dev->thread_mutex); in run_request()
299 mutex_lock(&test_dev->thread_mutex); in tally_up_work()
324 mutex_lock(&test_dev->thread_mutex); in try_one_request()
358 mutex_lock(&test_dev->thread_mutex); in test_dev_kmod_stop_tests()
467 mutex_lock(&test_dev->config_mutex); in config_show()
532 mutex_lock(&test_dev->trigger_mutex); in trigger_config_run()
533 mutex_lock(&test_dev->config_mutex); in trigger_config_run()
647 mutex_lock(&test_dev->config_mutex); in kmod_config_free()
660 mutex_lock(&test_dev->config_mutex); in config_test_driver_store()
680 mutex_lock(config_mutex); in config_test_show_str()
[all …]
/Linux-v5.4/mm/
Dswap_slots.c56 mutex_lock(&swap_slots_cache_mutex); in deactivate_swap_slots_cache()
64 mutex_lock(&swap_slots_cache_mutex); in reactivate_swap_slots_cache()
72 mutex_lock(&swap_slots_cache_enable_mutex); in disable_swap_slots_cache_lock()
137 mutex_lock(&swap_slots_cache_mutex); in alloc_swap_slot_cache()
178 mutex_lock(&cache->alloc_lock); in drain_slots_cache_cpu()
235 mutex_lock(&swap_slots_cache_mutex); in free_slot_cache()
245 mutex_lock(&swap_slots_cache_enable_mutex); in enable_swap_slots_cache()
335 mutex_lock(&cache->alloc_lock); in get_swap_page()
/Linux-v5.4/drivers/fpga/
Ddfl-fme-error.c50 mutex_lock(&pdata->lock); in pcie0_errors_show()
71 mutex_lock(&pdata->lock); in pcie0_errors_store()
95 mutex_lock(&pdata->lock); in pcie1_errors_show()
116 mutex_lock(&pdata->lock); in pcie1_errors_store()
164 mutex_lock(&pdata->lock); in inject_errors_show()
189 mutex_lock(&pdata->lock); in inject_errors_store()
209 mutex_lock(&pdata->lock); in fme_errors_show()
230 mutex_lock(&pdata->lock); in fme_errors_store()
256 mutex_lock(&pdata->lock); in first_error_show()
273 mutex_lock(&pdata->lock); in next_error_show()
[all …]
/Linux-v5.4/drivers/gpu/vga/
Dvga_switcheroo.c239 mutex_lock(&vgasr_mutex); in vga_switcheroo_register_handler()
263 mutex_lock(&vgasr_mutex); in vga_switcheroo_unregister_handler()
264 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()
312 mutex_lock(&vgasr_mutex); in register_client()
375 mutex_lock(&vgasr_mutex); in vga_switcheroo_register_audio_client()
481 mutex_lock(&vgasr_mutex); in vga_switcheroo_get_client_state()
502 mutex_lock(&vgasr_mutex); in vga_switcheroo_unregister_client()
532 mutex_lock(&vgasr_mutex); in vga_switcheroo_client_fb_set()
563 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_lock_ddc()
651 mutex_lock(&vgasr_mutex); in vga_switcheroo_show()
[all …]
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dresource.c114 mutex_lock(&uctx->lock); in c4iw_get_cqid()
125 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid()
156 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid()
173 mutex_lock(&uctx->lock); in c4iw_put_cqid()
184 mutex_lock(&uctx->lock); in c4iw_get_qpid()
194 mutex_lock(&rdev->stats.lock); in c4iw_get_qpid()
199 mutex_lock(&rdev->stats.lock); in c4iw_get_qpid()
230 mutex_lock(&rdev->stats.lock); in c4iw_get_qpid()
247 mutex_lock(&uctx->lock); in c4iw_put_qpid()
269 mutex_lock(&rdev->stats.lock); in c4iw_pblpool_alloc()
[all …]
/Linux-v5.4/drivers/s390/char/
Dsclp_cpi_sys.c225 mutex_lock(&sclp_cpi_mutex); in system_name_show()
242 mutex_lock(&sclp_cpi_mutex); in system_name_store()
257 mutex_lock(&sclp_cpi_mutex); in sysplex_name_show()
274 mutex_lock(&sclp_cpi_mutex); in sysplex_name_store()
289 mutex_lock(&sclp_cpi_mutex); in system_type_show()
306 mutex_lock(&sclp_cpi_mutex); in system_type_store()
321 mutex_lock(&sclp_cpi_mutex); in system_level_show()
344 mutex_lock(&sclp_cpi_mutex); in system_level_store()
359 mutex_lock(&sclp_cpi_mutex); in set_store()
400 mutex_lock(&sclp_cpi_mutex); in sclp_cpi_set_data()

12345678910>>...146