/linux/drivers/dma/idxd/ |
A D | cdev.c | 92 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()
|
A D | dma.c | 278 mutex_lock(&wq->wq_lock); in idxd_dmaengine_drv_probe() 309 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_probe() 321 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_probe() 329 mutex_lock(&wq->wq_lock); in idxd_dmaengine_drv_remove() 335 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_remove()
|
A D | device.c | 382 lockdep_assert_held(&wq->wq_lock); in idxd_wq_disable_cleanup() 1151 lockdep_assert_held(&wq->wq_lock); in __drv_enable_wq() 1237 mutex_lock(&wq->wq_lock); in drv_enable_wq() 1239 mutex_unlock(&wq->wq_lock); in drv_enable_wq() 1248 lockdep_assert_held(&wq->wq_lock); in __drv_disable_wq() 1264 mutex_lock(&wq->wq_lock); in drv_disable_wq() 1266 mutex_unlock(&wq->wq_lock); in drv_disable_wq()
|
A D | idxd.h | 177 struct mutex wq_lock; /* mutex for workqueue */ member
|
A D | sysfs.c | 801 mutex_lock(&wq->wq_lock); in wq_cdev_minor_show() 804 mutex_unlock(&wq->wq_lock); in wq_cdev_minor_show()
|
A D | init.c | 237 mutex_init(&wq->wq_lock); in idxd_setup_wqs()
|
/linux/drivers/usb/phy/ |
A D | phy-mv-usb.c | 96 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_timer_await_bcon() 98 spin_unlock(&mvotg->wq_lock); in mv_otg_timer_await_bcon() 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() 813 spin_lock_init(&mvotg->wq_lock); in mv_otg_probe() 814 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_probe() 816 spin_unlock(&mvotg->wq_lock); in mv_otg_probe() [all …]
|
A D | phy-mv-usb.h | 151 spinlock_t wq_lock; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | health.c | 747 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_trigger_health_work() 752 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_trigger_health_work() 849 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_stop_health_poll() 851 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_stop_health_poll() 862 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_drain_health_wq() 864 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_drain_health_wq() 904 spin_lock_init(&health->wq_lock); in mlx5_health_init()
|
/linux/drivers/scsi/snic/ |
A D | snic_io.c | 68 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()
|
A D | snic.h | 345 spinlock_t wq_lock[SNIC_WQ_MAX]; member
|
A D | snic_main.c | 558 spin_lock_init(&snic->wq_lock[i]); in snic_probe()
|
/linux/sound/soc/fsl/ |
A D | imx-pcm-rpmsg.c | 118 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()
|
A D | imx-pcm-rpmsg.h | 505 spinlock_t wq_lock; /* spin lock for resource protection */ member
|
/linux/drivers/scsi/fnic/ |
A D | fnic_fcs.c | 1055 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()
|
A D | fnic.h | 309 spinlock_t wq_lock[FNIC_WQ_MAX]; member
|
A D | fnic_main.c | 733 spin_lock_init(&fnic->wq_lock[i]); in fnic_probe()
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic.h | 177 spinlock_t wq_lock[ENIC_WQ_MAX]; member
|
A D | enic_main.c | 350 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() 2873 spin_lock_init(&enic->wq_lock[i]); in enic_probe()
|
/linux/include/linux/mlx5/ |
A D | driver.h | 421 spinlock_t wq_lock; member
|