/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
D | pciehp_ctrl.c | 147 mutex_lock(&ctrl->state_lock); in pciehp_queue_pushbutton_work() 158 mutex_unlock(&ctrl->state_lock); in pciehp_queue_pushbutton_work() 163 mutex_lock(&ctrl->state_lock); in pciehp_handle_button_press() 207 mutex_unlock(&ctrl->state_lock); in pciehp_handle_button_press() 212 mutex_lock(&ctrl->state_lock); in pciehp_handle_disable_request() 220 mutex_unlock(&ctrl->state_lock); in pciehp_handle_disable_request() 233 mutex_lock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change() 240 mutex_unlock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change() 250 mutex_unlock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change() 255 mutex_lock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_task.c | 39 spin_lock_irqsave(&task->state_lock, flags); in rxe_do_task() 43 spin_unlock_irqrestore(&task->state_lock, flags); in rxe_do_task() 50 spin_unlock_irqrestore(&task->state_lock, flags); in rxe_do_task() 54 spin_unlock_irqrestore(&task->state_lock, flags); in rxe_do_task() 63 spin_lock_irqsave(&task->state_lock, flags); in rxe_do_task() 92 spin_unlock_irqrestore(&task->state_lock, flags); in rxe_do_task() 110 spin_lock_init(&task->state_lock); in rxe_init_task() 127 spin_lock_irqsave(&task->state_lock, flags); in rxe_cleanup_task() 129 spin_unlock_irqrestore(&task->state_lock, flags); in rxe_cleanup_task()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | apm-emulation.c | 142 static DEFINE_MUTEX(state_lock); 224 mutex_lock(&state_lock); in apm_read() 228 mutex_unlock(&state_lock); in apm_read() 269 mutex_lock(&state_lock); in apm_ioctl() 282 mutex_unlock(&state_lock); in apm_ioctl() 303 mutex_unlock(&state_lock); in apm_ioctl() 307 mutex_unlock(&state_lock); in apm_ioctl() 317 mutex_lock(&state_lock); in apm_ioctl() 320 mutex_unlock(&state_lock); in apm_ioctl() 341 mutex_lock(&state_lock); in apm_release() [all …]
|
/kernel/linux/linux-5.10/include/linux/iio/imu/ |
D | adis.h | 125 struct mutex state_lock; member 150 mutex_lock(&adis->state_lock); in adis_reset() 152 mutex_unlock(&adis->state_lock); in adis_reset() 248 mutex_lock(&adis->state_lock); in adis_write_reg() 250 mutex_unlock(&adis->state_lock); in adis_write_reg() 267 mutex_lock(&adis->state_lock); in adis_read_reg() 269 mutex_unlock(&adis->state_lock); in adis_read_reg() 365 mutex_lock(&adis->state_lock); in adis_update_bits_base() 367 mutex_unlock(&adis->state_lock); in adis_update_bits_base() 415 mutex_lock(&adis->state_lock); in adis_enable_irq() [all …]
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | core_ctl.c | 73 static DEFINE_SPINLOCK(state_lock); 165 spin_lock_irq(&state_lock); in show_global_state() 204 spin_unlock_irq(&state_lock); in show_global_state() 442 spin_lock_irqsave(&state_lock, flags); in update_running_avg() 462 spin_unlock_irqrestore(&state_lock, flags); in update_running_avg() 537 spin_lock_irqsave(&state_lock, flags); in eval_need() 575 spin_unlock_irqrestore(&state_lock, flags); in eval_need() 589 spin_unlock_irqrestore(&state_lock, flags); in eval_need() 626 spin_lock_irqsave(&state_lock, flags); in core_ctl_set_boost() 641 spin_unlock_irqrestore(&state_lock, flags); in core_ctl_set_boost() [all …]
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | mesh_hwmp.c | 444 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get() 485 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get() 499 spin_unlock_bh(&mpath->state_lock); in hwmp_route_info_get() 508 spin_unlock_bh(&mpath->state_lock); in hwmp_route_info_get() 520 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get() 533 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get() 545 spin_unlock_bh(&mpath->state_lock); in hwmp_route_info_get() 551 spin_unlock_bh(&mpath->state_lock); in hwmp_route_info_get() 691 lockdep_is_held(&mpath->state_lock)); in next_hop_deref_protected() 726 spin_lock_bh(&mpath->state_lock); in hwmp_prep_frame_process() [all …]
|
D | mesh_pathtbl.c | 222 spin_lock_bh(&mpath->state_lock); in mpath_lookup() 224 spin_unlock_bh(&mpath->state_lock); in mpath_lookup() 265 spin_lock_bh(&mpath->state_lock); in __mesh_path_lookup_by_idx() 267 spin_unlock_bh(&mpath->state_lock); in __mesh_path_lookup_by_idx() 314 spin_lock_bh(&mpath->state_lock); in mesh_path_add_gate() 317 spin_unlock_bh(&mpath->state_lock); in mesh_path_add_gate() 327 spin_unlock_bh(&mpath->state_lock); in mesh_path_add_gate() 345 lockdep_assert_held(&mpath->state_lock); in mesh_gate_del() 386 spin_lock_init(&new_mpath->state_lock); in mesh_path_new() 501 spin_lock_bh(&mpath->state_lock); in mesh_plink_broken() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | core.c | 67 spin_lock_init(&fdev->state_lock); in mlx5_fpga_device_alloc() 248 spin_lock_irqsave(&fdev->state_lock, flags); in mlx5_fpga_device_start() 250 spin_unlock_irqrestore(&fdev->state_lock, flags); in mlx5_fpga_device_start() 288 spin_lock_irqsave(&fdev->state_lock, flags); in mlx5_fpga_device_stop() 290 spin_unlock_irqrestore(&fdev->state_lock, flags); in mlx5_fpga_device_stop() 294 spin_unlock_irqrestore(&fdev->state_lock, flags); in mlx5_fpga_device_stop() 356 spin_lock_irqsave(&fdev->state_lock, flags); in mlx5_fpga_event() 366 spin_unlock_irqrestore(&fdev->state_lock, flags); in mlx5_fpga_event()
|
/kernel/linux/linux-5.10/drivers/remoteproc/ |
D | qcom_sysmon.c | 26 struct mutex state_lock; member 457 mutex_lock(&sysmon->state_lock); in sysmon_prepare() 460 mutex_unlock(&sysmon->state_lock); in sysmon_prepare() 485 mutex_lock(&sysmon->state_lock); in sysmon_start() 488 mutex_unlock(&sysmon->state_lock); in sysmon_start() 495 mutex_lock(&target->state_lock); in sysmon_start() 503 mutex_unlock(&target->state_lock); in sysmon_start() 518 mutex_lock(&sysmon->state_lock); in sysmon_stop() 521 mutex_unlock(&sysmon->state_lock); in sysmon_stop() 547 mutex_lock(&sysmon->state_lock); in sysmon_unprepare() [all …]
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
D | iscsi_target_erl0.c | 824 spin_lock_bh(&conn->state_lock); in iscsit_connection_reinstatement_rcfr() 826 spin_unlock_bh(&conn->state_lock); in iscsit_connection_reinstatement_rcfr() 831 spin_unlock_bh(&conn->state_lock); in iscsit_connection_reinstatement_rcfr() 834 spin_unlock_bh(&conn->state_lock); in iscsit_connection_reinstatement_rcfr() 848 spin_lock_bh(&conn->state_lock); in iscsit_cause_connection_reinstatement() 850 spin_unlock_bh(&conn->state_lock); in iscsit_cause_connection_reinstatement() 855 spin_unlock_bh(&conn->state_lock); in iscsit_cause_connection_reinstatement() 860 spin_unlock_bh(&conn->state_lock); in iscsit_cause_connection_reinstatement() 871 spin_unlock_bh(&conn->state_lock); in iscsit_cause_connection_reinstatement() 876 spin_unlock_bh(&conn->state_lock); in iscsit_cause_connection_reinstatement() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib_vlan.c | 197 mutex_lock(&epriv->state_lock); in mlx5i_pkey_open() 226 mutex_unlock(&epriv->state_lock); in mlx5i_pkey_open() 238 mutex_unlock(&epriv->state_lock); in mlx5i_pkey_open() 248 mutex_lock(&priv->state_lock); in mlx5i_pkey_close() 262 mutex_unlock(&priv->state_lock); in mlx5i_pkey_close() 270 mutex_lock(&priv->state_lock); in mlx5i_pkey_change_mtu() 272 mutex_unlock(&priv->state_lock); in mlx5i_pkey_change_mtu()
|
D | ipoib.c | 480 mutex_lock(&priv->state_lock); in mlx5i_change_mtu() 500 mutex_unlock(&priv->state_lock); in mlx5i_change_mtu() 552 mutex_lock(&epriv->state_lock); in mlx5i_open() 575 mutex_unlock(&epriv->state_lock); in mlx5i_open() 584 mutex_unlock(&epriv->state_lock); in mlx5i_open() 597 mutex_lock(&epriv->state_lock); in mlx5i_close() 610 mutex_unlock(&epriv->state_lock); in mlx5i_close()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | hdlc.c | 121 spin_lock_irqsave(&hdlc->state_lock, flags); in hdlc_device_event() 140 spin_unlock_irqrestore(&hdlc->state_lock, flags); in hdlc_device_event() 164 spin_lock_irq(&hdlc->state_lock); in hdlc_open() 174 spin_unlock_irq(&hdlc->state_lock); in hdlc_open() 189 spin_lock_irq(&hdlc->state_lock); in hdlc_close() 195 spin_unlock_irq(&hdlc->state_lock); in hdlc_close() 253 spin_lock_init(&hdlc->state_lock); in hdlc_setup()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ad7291.c | 84 struct mutex state_lock; member 279 mutex_lock(&chip->state_lock); in ad7291_write_event_config() 314 mutex_unlock(&chip->state_lock); in ad7291_write_event_config() 332 mutex_lock(&chip->state_lock); in ad7291_read_raw() 335 mutex_unlock(&chip->state_lock); in ad7291_read_raw() 343 mutex_unlock(&chip->state_lock); in ad7291_read_raw() 350 mutex_unlock(&chip->state_lock); in ad7291_read_raw() 354 mutex_unlock(&chip->state_lock); in ad7291_read_raw() 475 mutex_init(&chip->state_lock); in ad7291_probe()
|
/kernel/linux/linux-5.10/drivers/iommu/amd/ |
D | iommu_v2.c | 80 static spinlock_t state_lock; variable 113 spin_lock_irqsave(&state_lock, flags); in get_device_state() 117 spin_unlock_irqrestore(&state_lock, flags); in get_device_state() 799 spin_lock_irqsave(&state_lock, flags); in amd_iommu_init_device() 802 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_init_device() 809 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_init_device() 840 spin_lock_irqsave(&state_lock, flags); in amd_iommu_free_device() 844 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_free_device() 850 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_free_device() 878 spin_lock_irqsave(&state_lock, flags); in amd_iommu_set_invalid_ppr_cb() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | pool.c | 188 mutex_lock(&priv->state_lock); in mlx5e_xsk_enable_pool() 190 mutex_unlock(&priv->state_lock); in mlx5e_xsk_enable_pool() 199 mutex_lock(&priv->state_lock); in mlx5e_xsk_disable_pool() 201 mutex_unlock(&priv->state_lock); in mlx5e_xsk_disable_pool()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | conn_event.c | 203 spin_lock_bh(&conn->state_lock); in rxrpc_abort_connection() 205 spin_unlock_bh(&conn->state_lock); in rxrpc_abort_connection() 214 spin_unlock_bh(&conn->state_lock); in rxrpc_abort_connection() 271 write_lock_bh(&call->state_lock); in rxrpc_call_is_secure() 276 write_unlock_bh(&call->state_lock); in rxrpc_call_is_secure() 345 spin_lock_bh(&conn->state_lock); in rxrpc_process_event() 349 spin_unlock_bh(&conn->state_lock); in rxrpc_process_event() 356 spin_unlock_bh(&conn->state_lock); in rxrpc_process_event()
|
D | recvmsg.c | 90 write_lock_bh(&call->state_lock); in rxrpc_set_call_completion() 92 write_unlock_bh(&call->state_lock); in rxrpc_set_call_completion() 110 write_lock_bh(&call->state_lock); in rxrpc_call_completed() 112 write_unlock_bh(&call->state_lock); in rxrpc_call_completed() 134 write_lock_bh(&call->state_lock); in rxrpc_abort_call() 136 write_unlock_bh(&call->state_lock); in rxrpc_abort_call() 197 write_lock_bh(&call->state_lock); in rxrpc_end_rx_phase() 202 write_unlock_bh(&call->state_lock); in rxrpc_end_rx_phase() 209 write_unlock_bh(&call->state_lock); in rxrpc_end_rx_phase() 214 write_unlock_bh(&call->state_lock); in rxrpc_end_rx_phase()
|
/kernel/linux/linux-5.10/drivers/staging/iio/cdc/ |
D | ad7150.c | 84 struct mutex state_lock; member 233 mutex_lock(&chip->state_lock); in ad7150_write_event_config() 278 mutex_unlock(&chip->state_lock); in ad7150_write_event_config() 320 mutex_lock(&chip->state_lock); in ad7150_write_event_value() 340 mutex_unlock(&chip->state_lock); in ad7150_write_event_value() 395 mutex_lock(&chip->state_lock); in ad7150_store_timeout() 410 mutex_unlock(&chip->state_lock); in ad7150_store_timeout() 584 mutex_init(&chip->state_lock); in ad7150_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 960 mutex_lock(&esw->state_lock); in esw_vport_change_handler() 962 mutex_unlock(&esw->state_lock); in esw_vport_change_handler() 1285 mutex_lock(&esw->state_lock); in esw_enable_vport() 1316 mutex_unlock(&esw->state_lock); in esw_enable_vport() 1326 mutex_lock(&esw->state_lock); in esw_disable_vport() 1346 mutex_unlock(&esw->state_lock); in esw_disable_vport() 1780 mutex_init(&esw->state_lock); in mlx5_eswitch_init() 1816 mutex_destroy(&esw->state_lock); in mlx5_eswitch_cleanup() 1874 mutex_lock(&esw->state_lock); in mlx5_eswitch_set_vport_mac() 1876 mutex_unlock(&esw->state_lock); in mlx5_eswitch_set_vport_mac() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_main.c | 127 mutex_lock(&priv->mdev->state_lock); in mlx4_en_update_loopback_state() 147 mutex_unlock(&priv->mdev->state_lock); in mlx4_en_update_loopback_state() 232 mutex_lock(&mdev->state_lock); in mlx4_en_remove() 234 mutex_unlock(&mdev->state_lock); in mlx4_en_remove() 334 mutex_init(&mdev->state_lock); in mlx4_en_add()
|
D | en_netdev.c | 103 mutex_lock(&mdev->state_lock); in mlx4_en_alloc_tx_queue_per_tc() 137 mutex_unlock(&mdev->state_lock); in mlx4_en_alloc_tx_queue_per_tc() 488 mutex_lock(&mdev->state_lock); in mlx4_en_vlan_rx_add_vid() 501 mutex_unlock(&mdev->state_lock); in mlx4_en_vlan_rx_add_vid() 517 mutex_lock(&mdev->state_lock); in mlx4_en_vlan_rx_kill_vid() 525 mutex_unlock(&mdev->state_lock); in mlx4_en_vlan_rx_kill_vid() 794 mutex_lock(&mdev->state_lock); in mlx4_en_set_mac() 803 mutex_unlock(&mdev->state_lock); in mlx4_en_set_mac() 1262 mutex_lock(&mdev->state_lock); in mlx4_en_do_set_rx_mode() 1298 mutex_unlock(&mdev->state_lock); in mlx4_en_do_set_rx_mode() [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/ngene/ |
D | ngene-core.c | 77 spin_lock_irq(&chan->state_lock); in demux_tasklet() 135 spin_unlock_irq(&chan->state_lock); in demux_tasklet() 146 spin_lock_irq(&chan->state_lock); in demux_tasklet() 155 spin_unlock_irq(&chan->state_lock); in demux_tasklet() 213 spin_lock(&dev->channel[i].state_lock); in irq_handler() 225 spin_unlock(&dev->channel[i].state_lock); in irq_handler() 503 spin_lock_irq(&chan->state_lock); in flush_buffers() 505 spin_unlock_irq(&chan->state_lock); in flush_buffers() 570 spin_lock_irq(&chan->state_lock); in ngene_command_stream_control() 574 spin_unlock_irq(&chan->state_lock); in ngene_command_stream_control() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls.c | 77 mutex_lock(&priv->state_lock); in mlx5e_ktls_set_feature_rx() 82 mutex_unlock(&priv->state_lock); in mlx5e_ktls_set_feature_rx()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
D | carl9170.h | 241 spinlock_t state_lock; member 518 spin_lock_irqsave(&ar->state_lock, flags); in carl9170_set_state() 520 spin_unlock_irqrestore(&ar->state_lock, flags); in carl9170_set_state() 528 spin_lock_irqsave(&ar->state_lock, flags); in carl9170_set_state_when() 531 spin_unlock_irqrestore(&ar->state_lock, flags); in carl9170_set_state_when()
|