Home
last modified time | relevance | path

Searched refs:wq_lock (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/dma/idxd/
H A Dcdev.c150 mutex_lock(&wq->wq_lock); in idxd_file_dev_release()
152 mutex_unlock(&wq->wq_lock); in idxd_file_dev_release()
242 mutex_lock(&wq->wq_lock); in idxd_cdev_open()
314 mutex_unlock(&wq->wq_lock); in idxd_cdev_open()
328 mutex_unlock(&wq->wq_lock); in idxd_cdev_open()
537 mutex_lock(&wq->wq_lock); in idxd_user_drv_probe()
557 mutex_unlock(&wq->wq_lock); in idxd_user_drv_probe()
566 mutex_unlock(&wq->wq_lock); in idxd_user_drv_probe()
574 mutex_lock(&wq->wq_lock); in idxd_user_drv_remove()
580 mutex_unlock(&wq->wq_lock); in idxd_user_drv_remove()
[all...]
H A Ddma.c308 mutex_lock(&wq->wq_lock); in idxd_dmaengine_drv_probe()
326 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_probe()
333 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_probe()
341 mutex_lock(&wq->wq_lock); in idxd_dmaengine_drv_remove()
345 mutex_unlock(&wq->wq_lock); in idxd_dmaengine_drv_remove()
H A Ddevice.c365 lockdep_assert_held(&wq->wq_lock); in idxd_wq_disable_cleanup()
382 lockdep_assert_held(&wq->wq_lock); in idxd_wq_device_reset_cleanup()
411 lockdep_assert_held(&wq->wq_lock); in __idxd_wq_quiesce()
420 mutex_lock(&wq->wq_lock); in idxd_wq_quiesce()
422 mutex_unlock(&wq->wq_lock); in idxd_wq_quiesce()
711 mutex_lock(&wq->wq_lock); in idxd_device_wqs_clear_state()
714 mutex_unlock(&wq->wq_lock); in idxd_device_wqs_clear_state()
1366 lockdep_assert_held(&wq->wq_lock); in drv_enable_wq()
1498 lockdep_assert_held(&wq->wq_lock); in drv_disable_wq()
H A Dirq.c189 mutex_lock(&wq->wq_lock); in idxd_int_handle_revoke()
203 mutex_unlock(&wq->wq_lock); in idxd_int_handle_revoke()
/kernel/linux/linux-5.10/drivers/usb/phy/
H A 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()
813 spin_lock_init(&mvotg->wq_lock); in mv_otg_probe()
814 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_probe()
[all...]
H A Dphy-mv-usb.h151 spinlock_t wq_lock; member
/kernel/linux/linux-6.6/drivers/usb/phy/
H A 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()
809 spin_lock_init(&mvotg->wq_lock); in mv_otg_probe()
810 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_probe()
[all...]
H A Dphy-mv-usb.h151 spinlock_t wq_lock; member
/kernel/linux/linux-5.10/drivers/dma/idxd/
H A Dcdev.c86 mutex_lock(&wq->wq_lock); in idxd_cdev_open()
96 mutex_unlock(&wq->wq_lock); in idxd_cdev_open()
100 mutex_unlock(&wq->wq_lock); in idxd_cdev_open()
119 mutex_lock(&wq->wq_lock); in idxd_cdev_release()
121 mutex_unlock(&wq->wq_lock); in idxd_cdev_release()
H A Dsysfs.c152 mutex_lock(&wq->wq_lock); in idxd_config_bus_probe()
155 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
161 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
167 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
173 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
180 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
189 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
197 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
209 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
221 mutex_unlock(&wq->wq_lock); in idxd_config_bus_probe()
[all...]
H A Didxd.h109 struct mutex wq_lock; /* mutex for workqueue */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c696 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_trigger_health_work()
701 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_trigger_health_work()
769 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_stop_health_poll()
771 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_stop_health_poll()
782 spin_lock_irqsave(&health->wq_lock, flags); in mlx5_drain_health_wq()
784 spin_unlock_irqrestore(&health->wq_lock, flags); in mlx5_drain_health_wq()
822 spin_lock_init(&health->wq_lock); in mlx5_health_init()
/kernel/linux/linux-5.10/drivers/scsi/snic/
H A 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()
H A Dsnic.h345 spinlock_t wq_lock[SNIC_WQ_MAX]; member
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dsnic_io.c54 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
60 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
173 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
178 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
191 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
H A Dsnic.h331 spinlock_t wq_lock[SNIC_WQ_MAX]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_submission.c181 lockdep_assert_held(&guc->wq_lock); in guc_wq_item_append()
247 spin_lock(&guc->wq_lock); in guc_submit()
256 spin_unlock(&guc->wq_lock); in guc_submit()
533 spin_lock_init(&guc->wq_lock); in intel_guc_submission_init()
H A Dintel_guc.h52 spinlock_t wq_lock; member
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_fcs.c1053 spin_lock_irqsave(&fnic->wq_lock[0], flags); in fnic_eth_send()
1060 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_eth_send()
1064 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_eth_send()
1134 spin_lock_irqsave(&fnic->wq_lock[0], flags); in fnic_send_frame()
1147 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_send_frame()
1266 spin_lock_irqsave(&fnic->wq_lock[q_number], flags); in fnic_wq_cmpl_handler_cont()
1269 spin_unlock_irqrestore(&fnic->wq_lock[q_number], flags); in fnic_wq_cmpl_handler_cont()
H A Dfnic.h308 spinlock_t wq_lock[FNIC_WQ_MAX]; member
/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dimx-pcm-rpmsg.c119 spin_lock_irqsave(&info->wq_lock, flags); in imx_rpmsg_insert_workqueue()
133 spin_unlock_irqrestore(&info->wq_lock, flags); in imx_rpmsg_insert_workqueue()
669 spin_lock_irqsave(&info->wq_lock, flags); in imx_rpmsg_pcm_work()
672 spin_unlock_irqrestore(&info->wq_lock, flags); in imx_rpmsg_pcm_work()
721 spin_lock_init(&info->wq_lock); in imx_rpmsg_pcm_probe()
H A Dimx-pcm-rpmsg.h478 * @wq_lock: lock for work queue
505 spinlock_t wq_lock; /* spin lock for resource protection */ member
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfnic_fcs.c1043 spin_lock_irqsave(&fnic->wq_lock[0], flags); in fnic_eth_send()
1050 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_eth_send()
1054 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_eth_send()
1124 spin_lock_irqsave(&fnic->wq_lock[0], flags); in fnic_send_frame()
1137 spin_unlock_irqrestore(&fnic->wq_lock[0], flags); in fnic_send_frame()
1256 spin_lock_irqsave(&fnic->wq_lock[q_number], flags); in fnic_wq_cmpl_handler_cont()
1259 spin_unlock_irqrestore(&fnic->wq_lock[q_number], flags); in fnic_wq_cmpl_handler_cont()
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Denic.h177 spinlock_t wq_lock[ENIC_WQ_MAX]; member
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Denic.h164 spinlock_t wq_lock[ENIC_WQ_MAX]; member

Completed in 25 milliseconds

12