Home
last modified time | relevance | path

Searched refs:wq_lock (Results 1 – 21 of 21) sorted by relevance

/linux-5.19.10/drivers/dma/idxd/
Dcdev.c92 mutex_lock(&wq->wq_lock); in idxd_cdev_open()
131 mutex_unlock(&wq->wq_lock); in idxd_cdev_open()
135 mutex_unlock(&wq->wq_lock); in idxd_cdev_open()
168 mutex_lock(&wq->wq_lock); in idxd_cdev_release()
170 mutex_unlock(&wq->wq_lock); in idxd_cdev_release()
315 mutex_lock(&wq->wq_lock); in idxd_user_drv_probe()
328 mutex_unlock(&wq->wq_lock); in idxd_user_drv_probe()
335 mutex_unlock(&wq->wq_lock); in idxd_user_drv_probe()
343 mutex_lock(&wq->wq_lock); in idxd_user_drv_remove()
347 mutex_unlock(&wq->wq_lock); in idxd_user_drv_remove()
Ddma.c313 mutex_lock(&wq->wq_lock); in idxd_dmaengine_drv_probe()
331 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_probe()
338 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_probe()
346 mutex_lock(&wq->wq_lock); in idxd_dmaengine_drv_remove()
350 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_remove()
Ddevice.c380 lockdep_assert_held(&wq->wq_lock); in idxd_wq_disable_cleanup()
396 lockdep_assert_held(&wq->wq_lock); in idxd_wq_device_reset_cleanup()
425 lockdep_assert_held(&wq->wq_lock); in __idxd_wq_quiesce()
434 mutex_lock(&wq->wq_lock); in idxd_wq_quiesce()
436 mutex_unlock(&wq->wq_lock); in idxd_wq_quiesce()
718 mutex_lock(&wq->wq_lock); in idxd_device_wqs_clear_state()
721 mutex_unlock(&wq->wq_lock); in idxd_device_wqs_clear_state()
1240 lockdep_assert_held(&wq->wq_lock); in drv_enable_wq()
1378 lockdep_assert_held(&wq->wq_lock); in drv_disable_wq()
Dirq.c192 mutex_lock(&wq->wq_lock); in idxd_int_handle_revoke()
206 mutex_unlock(&wq->wq_lock); in idxd_int_handle_revoke()
Didxd.h190 struct mutex wq_lock; /* mutex for workqueue */ member
Dsysfs.c870 mutex_lock(&wq->wq_lock); in wq_cdev_minor_show()
873 mutex_unlock(&wq->wq_lock); in wq_cdev_minor_show()
Dinit.c175 mutex_init(&wq->wq_lock); in idxd_setup_wqs()
/linux-5.19.10/drivers/usb/phy/
Dphy-mv-usb.c96 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_timer_await_bcon()
98 spin_unlock(&mvotg->wq_lock); in mv_otg_timer_await_bcon()
549 if (spin_trylock(&mvotg->wq_lock)) { in a_bus_req_store()
551 spin_unlock(&mvotg->wq_lock); in a_bus_req_store()
577 if (spin_trylock(&mvotg->wq_lock)) { in a_clr_err_store()
579 spin_unlock(&mvotg->wq_lock); in a_clr_err_store()
620 if (spin_trylock(&mvotg->wq_lock)) { in a_bus_drop_store()
622 spin_unlock(&mvotg->wq_lock); in a_bus_drop_store()
811 spin_lock_init(&mvotg->wq_lock); in mv_otg_probe()
812 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_probe()
[all …]
Dphy-mv-usb.h151 spinlock_t wq_lock; member
/linux-5.19.10/drivers/scsi/snic/
Dsnic_io.c68 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
74 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
187 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
192 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
205 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
Dsnic.h345 spinlock_t wq_lock[SNIC_WQ_MAX]; member
Dsnic_main.c558 spin_lock_init(&snic->wq_lock[i]); in snic_probe()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c751 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_trigger_health_work()
756 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_trigger_health_work()
853 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_stop_health_poll()
855 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_stop_health_poll()
866 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_drain_health_wq()
868 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_drain_health_wq()
908 spin_lock_init(&health->wq_lock); in mlx5_health_init()
/linux-5.19.10/sound/soc/fsl/
Dimx-pcm-rpmsg.c118 spin_lock_irqsave(&info->wq_lock, flags); in imx_rpmsg_insert_workqueue()
132 spin_unlock_irqrestore(&info->wq_lock, flags); in imx_rpmsg_insert_workqueue()
666 spin_lock_irqsave(&info->wq_lock, flags); in imx_rpmsg_pcm_work()
669 spin_unlock_irqrestore(&info->wq_lock, flags); in imx_rpmsg_pcm_work()
718 spin_lock_init(&info->wq_lock); in imx_rpmsg_pcm_probe()
Dimx-pcm-rpmsg.h505 spinlock_t wq_lock; /* spin lock for resource protection */ member
/linux-5.19.10/drivers/scsi/fnic/
Dfnic_fcs.c1055 spin_lock_irqsave(&fnic->wq_lock[0], flags); in fnic_eth_send()
1062 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_eth_send()
1066 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_eth_send()
1136 spin_lock_irqsave(&fnic->wq_lock[0], flags); in fnic_send_frame()
1149 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_send_frame()
1268 spin_lock_irqsave(&fnic->wq_lock[q_number], flags); in fnic_wq_cmpl_handler_cont()
1271 spin_unlock_irqrestore(&fnic->wq_lock[q_number], flags); in fnic_wq_cmpl_handler_cont()
Dfnic.h322 spinlock_t wq_lock[FNIC_WQ_MAX]; member
Dfnic_main.c734 spin_lock_init(&fnic->wq_lock[i]); in fnic_probe()
/linux-5.19.10/drivers/net/ethernet/cisco/enic/
Denic.h177 spinlock_t wq_lock[ENIC_WQ_MAX]; member
Denic_main.c350 spin_lock(&enic->wq_lock[q_number]); in enic_wq_service()
361 spin_unlock(&enic->wq_lock[q_number]); in enic_wq_service()
850 spin_lock(&enic->wq_lock[txq_map]); in enic_hard_start_xmit()
857 spin_unlock(&enic->wq_lock[txq_map]); in enic_hard_start_xmit()
871 spin_unlock(&enic->wq_lock[txq_map]); in enic_hard_start_xmit()
2861 spin_lock_init(&enic->wq_lock[i]); in enic_probe()
/linux-5.19.10/include/linux/mlx5/
Ddriver.h431 spinlock_t wq_lock; member