Home
last modified time | relevance | path

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

12345678910>>...139

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c107 mutex_lock(&pwrpriv->mutex_lock); in r8712_cpwm_int_hdl()
114 mutex_unlock(&pwrpriv->mutex_lock); in r8712_cpwm_int_hdl()
145 mutex_lock(&pwrpriv->mutex_lock); in SetPSModeWorkItemCallback()
148 mutex_unlock(&pwrpriv->mutex_lock); in SetPSModeWorkItemCallback()
159 mutex_lock(&pwrpriv->mutex_lock); in rpwm_workitem_callback()
163 mutex_unlock(&pwrpriv->mutex_lock); in rpwm_workitem_callback()
180 mutex_init(&pwrctrlpriv->mutex_lock); in r8712_init_pwrctrl_priv()
207 mutex_lock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive()
213 mutex_unlock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive()
227 mutex_lock(&pwrctrl->mutex_lock); in r8712_unregister_cmd_alive()
[all …]
/Linux-v4.19/drivers/gpu/host1x/
Dbus.c61 mutex_lock(&device->subdevs_lock); in host1x_subdev_add()
128 mutex_lock(&device->subdevs_lock); in host1x_subdev_register()
129 mutex_lock(&device->clients_lock); in host1x_subdev_register()
166 mutex_lock(&device->clients_lock); in __host1x_subdev_unregister()
185 mutex_lock(&device->subdevs_lock); in host1x_subdev_unregister()
205 mutex_lock(&device->clients_lock); in host1x_device_init()
247 mutex_lock(&device->clients_lock); in host1x_device_exit()
274 mutex_lock(&host1x->devices_lock); in host1x_add_client()
296 mutex_lock(&host1x->devices_lock); in host1x_del_client()
343 mutex_lock(&device->subdevs_lock); in __host1x_device_del()
[all …]
/Linux-v4.19/net/mac802154/
Dmib.c56 mutex_lock(&sdata->sec_mtx); in mac802154_get_params()
72 mutex_lock(&sdata->sec_mtx); in mac802154_set_params()
88 mutex_lock(&sdata->sec_mtx); in mac802154_add_key()
103 mutex_lock(&sdata->sec_mtx); in mac802154_del_key()
118 mutex_lock(&sdata->sec_mtx); in mac802154_add_dev()
132 mutex_lock(&sdata->sec_mtx); in mac802154_del_dev()
148 mutex_lock(&sdata->sec_mtx); in mac802154_add_devkey()
164 mutex_lock(&sdata->sec_mtx); in mac802154_del_devkey()
179 mutex_lock(&sdata->sec_mtx); in mac802154_add_seclevel()
194 mutex_lock(&sdata->sec_mtx); in mac802154_del_seclevel()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/
Damd_powerplay.c185 mutex_lock(&hwmgr->smu_lock); in pp_late_init()
348 mutex_lock(&hwmgr->smu_lock); in pp_dpm_force_performance_level()
366 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_performance_level()
384 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_sclk()
402 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_mclk()
419 mutex_lock(&hwmgr->smu_lock); in pp_dpm_powergate_vce()
435 mutex_lock(&hwmgr->smu_lock); in pp_dpm_powergate_uvd()
449 mutex_lock(&hwmgr->smu_lock); in pp_dpm_dispatch_tasks()
465 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_current_power_state()
502 mutex_lock(&hwmgr->smu_lock); in pp_dpm_set_fan_control_mode()
[all …]
/Linux-v4.19/drivers/gpu/drm/rockchip/
Drockchip_drm_psr.c41 mutex_lock(&drm_drv->psr_list_lock); in find_psr_by_encoder()
76 mutex_lock(&psr->lock); in psr_flush_handler()
100 mutex_lock(&psr->lock); in rockchip_drm_psr_inhibit_put()
131 mutex_lock(&psr->lock); in rockchip_drm_psr_inhibit_get()
145 mutex_lock(&psr->lock); in rockchip_drm_do_flush()
169 mutex_lock(&drm_drv->psr_list_lock); in rockchip_drm_psr_flush_all()
210 mutex_lock(&drm_drv->psr_list_lock); in rockchip_drm_psr_register()
236 mutex_lock(&drm_drv->psr_list_lock); in rockchip_drm_psr_unregister()
/Linux-v4.19/drivers/base/power/
Dqos.c231 mutex_lock(&dev_pm_qos_sysfs_mtx); in dev_pm_qos_constraints_destroy()
240 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_constraints_destroy()
344 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_add_request()
414 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_update_request()
461 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_remove_request()
485 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_add_notifier()
516 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_remove_notifier()
592 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_drop_user_request()
620 mutex_lock(&dev_pm_qos_sysfs_mtx); in dev_pm_qos_expose_latency_limit()
622 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_expose_latency_limit()
[all …]
/Linux-v4.19/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.c64 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
69 mutex_lock(&opts->lock); \
88 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
93 mutex_lock(&opts->lock); \
202 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
208 mutex_lock(&opts->lock); \
240 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ in uvcg_default_processing_bm_controls_show()
246 mutex_lock(&opts->lock); in uvcg_default_processing_bm_controls_show()
308 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
315 mutex_lock(&opts->lock); \
[all …]
/Linux-v4.19/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()
119 mutex_lock(&evtchnl->u.req.req_io_lock); in xen_snd_front_stream_close()
121 mutex_lock(&evtchnl->ring_io_lock); in xen_snd_front_stream_close()
140 mutex_lock(&evtchnl->u.req.req_io_lock); in xen_snd_front_stream_write()
142 mutex_lock(&evtchnl->ring_io_lock); in xen_snd_front_stream_write()
163 mutex_lock(&evtchnl->u.req.req_io_lock); in xen_snd_front_stream_read()
165 mutex_lock(&evtchnl->ring_io_lock); in xen_snd_front_stream_read()
[all …]
/Linux-v4.19/fs/ecryptfs/
Dmessaging.c174 mutex_lock(&daemon->mux); in ecryptfs_exorcise_daemon()
234 mutex_lock(&msg_ctx->mux); in ecryptfs_process_response()
284 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_send_message_locked()
319 mutex_lock(&ecryptfs_daemon_hash_mux); in ecryptfs_send_message()
345 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_wait_for_response()
346 mutex_lock(&msg_ctx->mux); in ecryptfs_wait_for_response()
376 mutex_lock(&ecryptfs_daemon_hash_mux); in ecryptfs_init_messaging()
399 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_init_messaging()
405 mutex_lock(&ecryptfs_msg_ctx_arr[i].mux); in ecryptfs_init_messaging()
428 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_release_messaging()
[all …]
Dmiscdev.c47 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll()
60 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll()
82 mutex_lock(&ecryptfs_daemon_hash_mux); in ecryptfs_miscdev_open()
94 mutex_lock(&daemon->mux); in ecryptfs_miscdev_open()
125 mutex_lock(&daemon->mux); in ecryptfs_miscdev_release()
131 mutex_lock(&ecryptfs_daemon_hash_mux); in ecryptfs_miscdev_release()
169 mutex_lock(&msg_ctx->mux); in ecryptfs_send_miscdev()
179 mutex_lock(&daemon->mux); in ecryptfs_send_miscdev()
234 mutex_lock(&daemon->mux); in ecryptfs_miscdev_read()
252 mutex_lock(&daemon->mux); in ecryptfs_miscdev_read()
[all …]
/Linux-v4.19/drivers/w1/
Dw1.c131 mutex_lock(&sl->master->mutex); in rw_write()
150 mutex_lock(&sl->master->mutex); in rw_read()
222 mutex_lock(&md->mutex); in w1_master_attribute_show_name()
241 mutex_lock(&md->mutex); in w1_master_attribute_store_search()
258 mutex_lock(&md->mutex); in w1_master_attribute_show_search()
277 mutex_lock(&md->mutex); in w1_master_attribute_store_pullup()
291 mutex_lock(&md->mutex); in w1_master_attribute_show_pullup()
303 mutex_lock(&md->mutex); in w1_master_attribute_show_pointer()
333 mutex_lock(&md->mutex); in w1_master_attribute_store_max_slave_count()
347 mutex_lock(&md->mutex); in w1_master_attribute_show_max_slave_count()
[all …]
/Linux-v4.19/drivers/usb/typec/
Dmux.c50 mutex_lock(&switch_lock); in typec_switch_get()
89 mutex_lock(&switch_lock); in typec_switch_register()
105 mutex_lock(&switch_lock); in typec_switch_unregister()
142 mutex_lock(&mux_lock); in typec_mux_get()
180 mutex_lock(&mux_lock); in typec_mux_register()
196 mutex_lock(&mux_lock); in typec_mux_unregister()
/Linux-v4.19/drivers/acpi/
Dacpi_dbg.c139 mutex_lock(&acpi_aml_io.lock); in acpi_aml_running()
149 mutex_lock(&acpi_aml_io.lock); in acpi_aml_busy()
163 mutex_lock(&acpi_aml_io.lock); in acpi_aml_used()
173 mutex_lock(&acpi_aml_io.lock); in acpi_aml_kern_readable()
184 mutex_lock(&acpi_aml_io.lock); in acpi_aml_kern_writable()
195 mutex_lock(&acpi_aml_io.lock); in acpi_aml_user_readable()
206 mutex_lock(&acpi_aml_io.lock); in acpi_aml_user_writable()
217 mutex_lock(&acpi_aml_io.lock); in acpi_aml_lock_write()
236 mutex_lock(&acpi_aml_io.lock); in acpi_aml_lock_read()
253 mutex_lock(&acpi_aml_io.lock); in acpi_aml_unlock_fifo()
[all …]
Dcm_sbs.c43 mutex_lock(&cm_sbs_mutex); in acpi_lock_ac_dir()
59 mutex_lock(&cm_sbs_mutex); in acpi_unlock_ac_dir()
72 mutex_lock(&cm_sbs_mutex); in acpi_lock_battery_dir()
90 mutex_lock(&cm_sbs_mutex); in acpi_unlock_battery_dir()
/Linux-v4.19/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-v4.19/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-v4.19/sound/pci/ice1712/
Dpontis.c129 mutex_lock(&ice->gpio_mutex); in wm_dac_vol_get()
145 mutex_lock(&ice->gpio_mutex); in wm_dac_vol_put()
184 mutex_lock(&ice->gpio_mutex); in wm_adc_vol_get()
200 mutex_lock(&ice->gpio_mutex); in wm_adc_vol_put()
225 mutex_lock(&ice->gpio_mutex); in wm_adc_mux_get()
238 mutex_lock(&ice->gpio_mutex); in wm_adc_mux_put()
261 mutex_lock(&ice->gpio_mutex); in wm_bypass_get()
273 mutex_lock(&ice->gpio_mutex); in wm_bypass_put()
296 mutex_lock(&ice->gpio_mutex); in wm_chswap_get()
308 mutex_lock(&ice->gpio_mutex); in wm_chswap_put()
[all …]
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-clk.c59 mutex_lock(&clk_lock); in v4l2_clk_get()
89 mutex_lock(&clk_lock); in v4l2_clk_put()
104 mutex_lock(&clk_lock); in v4l2_clk_lock_driver()
135 mutex_lock(&clk->lock); in v4l2_clk_enable()
160 mutex_lock(&clk->lock); in v4l2_clk_disable()
186 mutex_lock(&clk->lock); in v4l2_clk_get_rate()
215 mutex_lock(&clk->lock); in v4l2_clk_set_rate()
252 mutex_lock(&clk_lock); in v4l2_clk_register()
278 mutex_lock(&clk_lock); in v4l2_clk_unregister()
/Linux-v4.19/lib/
Dtest_firmware.c107 mutex_lock(&test_fw_mutex); in test_fw_misc_read()
141 mutex_lock(&test_fw_mutex); in test_release_all_firmware()
196 mutex_lock(&test_fw_mutex); in reset_store()
224 mutex_lock(&test_fw_mutex); in config_show()
264 mutex_lock(&test_fw_mutex); in config_name_store()
280 mutex_lock(&test_fw_mutex); in config_test_show_str()
292 mutex_lock(&test_fw_mutex); in test_dev_config_update_bool()
308 mutex_lock(&test_fw_mutex); in test_dev_config_show_bool()
319 mutex_lock(&test_fw_mutex); in test_dev_config_show_int()
338 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-v4.19/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-v4.19/drivers/net/dsa/microchip/
Dksz_priv.h90 mutex_lock(&dev->reg_mutex); in ksz_read8()
101 mutex_lock(&dev->reg_mutex); in ksz_read16()
112 mutex_lock(&dev->reg_mutex); in ksz_read24()
123 mutex_lock(&dev->reg_mutex); in ksz_read32()
134 mutex_lock(&dev->reg_mutex); in ksz_write8()
145 mutex_lock(&dev->reg_mutex); in ksz_write16()
156 mutex_lock(&dev->reg_mutex); in ksz_write24()
167 mutex_lock(&dev->reg_mutex); in ksz_write32()
/Linux-v4.19/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-v4.19/drivers/gpu/vga/
Dvga_switcheroo.c240 mutex_lock(&vgasr_mutex); in vga_switcheroo_register_handler()
264 mutex_lock(&vgasr_mutex); in vga_switcheroo_unregister_handler()
265 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()
313 mutex_lock(&vgasr_mutex); in register_client()
376 mutex_lock(&vgasr_mutex); in vga_switcheroo_register_audio_client()
479 mutex_lock(&vgasr_mutex); in vga_switcheroo_get_client_state()
500 mutex_lock(&vgasr_mutex); in vga_switcheroo_unregister_client()
530 mutex_lock(&vgasr_mutex); in vga_switcheroo_client_fb_set()
561 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_lock_ddc()
649 mutex_lock(&vgasr_mutex); in vga_switcheroo_show()
[all …]

12345678910>>...139