Home
last modified time | relevance | path

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

12345678910>>...166

/Linux-v5.10/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.10/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.10/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.10/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c181 mutex_lock(&hwmgr->smu_lock); in pp_late_init()
359 mutex_lock(&hwmgr->smu_lock); in pp_dpm_force_performance_level()
377 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_performance_level()
395 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_sclk()
413 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_mclk()
430 mutex_lock(&hwmgr->smu_lock); in pp_dpm_powergate_vce()
446 mutex_lock(&hwmgr->smu_lock); in pp_dpm_powergate_uvd()
460 mutex_lock(&hwmgr->smu_lock); in pp_dpm_dispatch_tasks()
476 mutex_lock(&hwmgr->smu_lock); in pp_dpm_get_current_power_state()
513 mutex_lock(&hwmgr->smu_lock); in pp_dpm_set_fan_control_mode()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c55 mutex_lock(&smu->mutex); in smu_sys_get_pp_feature_mask()
71 mutex_lock(&smu->mutex); in smu_sys_set_pp_feature_mask()
100 mutex_lock(&smu->mutex); in smu_set_soft_freq_range()
123 mutex_lock(&smu->mutex); in smu_get_dpm_freq_range()
163 mutex_lock(&power_gate->vcn_gate_lock); in smu_dpm_set_vcn_enable()
199 mutex_lock(&power_gate->jpeg_gate_lock); in smu_dpm_set_jpeg_enable()
301 mutex_lock(&smu->mutex); in smu_sys_get_pp_table()
329 mutex_lock(&smu->mutex); in smu_sys_set_pp_table()
437 mutex_lock(&power_gate->vcn_gate_lock); in smu_set_default_dpm_table()
438 mutex_lock(&power_gate->jpeg_gate_lock); in smu_set_default_dpm_table()
[all …]
/Linux-v5.10/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.10/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()
387 mutex_lock(&ecryptfs_msg_ctx_lists_mux); in ecryptfs_init_messaging()
393 mutex_lock(&ecryptfs_msg_ctx_arr[i].mux); in ecryptfs_init_messaging()
416 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.10/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.10/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 …]
/Linux-v5.10/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.10/drivers/base/power/
Dqos.c253 mutex_lock(&dev_pm_qos_sysfs_mtx); in dev_pm_qos_constraints_destroy()
262 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_constraints_destroy()
393 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_add_request()
467 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_update_request()
514 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_remove_request()
540 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_add_notifier()
591 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_remove_notifier()
688 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_drop_user_request()
716 mutex_lock(&dev_pm_qos_sysfs_mtx); in dev_pm_qos_expose_latency_limit()
718 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_expose_latency_limit()
[all …]
/Linux-v5.10/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.10/drivers/pci/endpoint/
Dpci-epc-core.c130 mutex_lock(&epc->lock); in pci_epc_get_features()
149 mutex_lock(&epc->lock); in pci_epc_stop()
171 mutex_lock(&epc->lock); in pci_epc_start()
199 mutex_lock(&epc->lock); in pci_epc_raise_irq()
224 mutex_lock(&epc->lock); in pci_epc_get_msi()
259 mutex_lock(&epc->lock); in pci_epc_set_msi()
284 mutex_lock(&epc->lock); in pci_epc_get_msix()
317 mutex_lock(&epc->lock); in pci_epc_set_msix()
342 mutex_lock(&epc->lock); in pci_epc_unmap_addr()
369 mutex_lock(&epc->lock); in pci_epc_map_addr()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/wil6210/
Dp2p.c138 mutex_lock(&wil->mutex); in wil_p2p_listen()
150 mutex_lock(&wil->vif_mutex); in wil_p2p_listen()
202 mutex_lock(&wil->mutex); in wil_p2p_cancel_listen()
220 mutex_lock(&wil->vif_mutex); in wil_p2p_cancel_listen()
242 mutex_lock(&wil->mutex); in wil_p2p_listen_expired()
249 mutex_lock(&wil->vif_mutex); in wil_p2p_listen_expired()
270 mutex_lock(&wil->mutex); in wil_p2p_search_expired()
279 mutex_lock(&wil->vif_mutex); in wil_p2p_search_expired()
300 mutex_lock(&wil->mutex); in wil_p2p_delayed_listen_work()
306 mutex_lock(&wil->vif_mutex); in wil_p2p_delayed_listen_work()
[all …]
/Linux-v5.10/mm/
Dswap_slots.c55 mutex_lock(&swap_slots_cache_mutex); in deactivate_swap_slots_cache()
63 mutex_lock(&swap_slots_cache_mutex); in reactivate_swap_slots_cache()
71 mutex_lock(&swap_slots_cache_enable_mutex); in disable_swap_slots_cache_lock()
136 mutex_lock(&swap_slots_cache_mutex); in alloc_swap_slot_cache()
177 mutex_lock(&cache->alloc_lock); in drain_slots_cache_cpu()
234 mutex_lock(&swap_slots_cache_mutex); in free_slot_cache()
242 mutex_lock(&swap_slots_cache_enable_mutex); in enable_swap_slots_cache()
331 mutex_lock(&cache->alloc_lock); in get_swap_page()
/Linux-v5.10/drivers/thermal/
Dthermal_core.c128 mutex_lock(&thermal_governor_lock); in thermal_register_governor()
144 mutex_lock(&thermal_list_lock); in thermal_register_governor()
180 mutex_lock(&thermal_governor_lock); in thermal_unregister_governor()
185 mutex_lock(&thermal_list_lock); in thermal_unregister_governor()
205 mutex_lock(&thermal_governor_lock); in thermal_zone_device_set_policy()
206 mutex_lock(&tz->lock); in thermal_zone_device_set_policy()
229 mutex_lock(&thermal_governor_lock); in thermal_build_list_of_policies()
317 mutex_lock(&tz->lock); in monitor_thermal_zone()
403 mutex_lock(&poweroff_lock); in handle_critical_trips()
464 mutex_lock(&tz->lock); in update_temperature()
[all …]
/Linux-v5.10/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.10/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.10/lib/
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.10/drivers/fpga/
Ddfl-fme-error.c51 mutex_lock(&pdata->lock); in pcie0_errors_show()
72 mutex_lock(&pdata->lock); in pcie0_errors_store()
96 mutex_lock(&pdata->lock); in pcie1_errors_show()
117 mutex_lock(&pdata->lock); in pcie1_errors_store()
165 mutex_lock(&pdata->lock); in inject_errors_show()
190 mutex_lock(&pdata->lock); in inject_errors_store()
210 mutex_lock(&pdata->lock); in fme_errors_show()
231 mutex_lock(&pdata->lock); in fme_errors_store()
257 mutex_lock(&pdata->lock); in first_error_show()
274 mutex_lock(&pdata->lock); in next_error_show()
[all …]
/Linux-v5.10/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.10/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.10/drivers/vhost/
Dtest.c51 mutex_lock(&vq->mutex); in handle_vq()
135 mutex_lock(&vq->mutex); in vhost_test_stop_vq()
182 mutex_lock(&n->dev.mutex); in vhost_test_run()
197 mutex_lock(&vq->mutex); in vhost_test_run()
230 mutex_lock(&n->dev.mutex); in vhost_test_reset_owner()
252 mutex_lock(&n->dev.mutex); in vhost_test_set_features()
259 mutex_lock(&vq->mutex); in vhost_test_set_features()
274 mutex_lock(&n->dev.mutex); in vhost_test_set_backend()
284 mutex_lock(&vq->mutex); in vhost_test_set_backend()
354 mutex_lock(&n->dev.mutex); in vhost_test_ioctl()

12345678910>>...166