Home
last modified time | relevance | path

Searched refs:queue_lock (Results 1 - 25 of 160) sorted by relevance

1234567

/kernel/linux/linux-6.6/block/
H A Dblk-pm.c68 spin_lock_irq(&q->queue_lock); in blk_pre_runtime_suspend()
70 spin_unlock_irq(&q->queue_lock); in blk_pre_runtime_suspend()
95 spin_lock_irq(&q->queue_lock); in blk_pre_runtime_suspend()
98 spin_unlock_irq(&q->queue_lock); in blk_pre_runtime_suspend()
125 spin_lock_irq(&q->queue_lock); in blk_post_runtime_suspend()
132 spin_unlock_irq(&q->queue_lock); in blk_post_runtime_suspend()
155 spin_lock_irq(&q->queue_lock); in blk_pre_runtime_resume()
157 spin_unlock_irq(&q->queue_lock); in blk_pre_runtime_resume()
204 spin_lock_irq(&q->queue_lock); in blk_set_runtime_active()
209 spin_unlock_irq(&q->queue_lock); in blk_set_runtime_active()
[all...]
H A Dblk-ioc.c80 lockdep_assert_held(&q->queue_lock); in ioc_destroy_icq()
91 * under queue_lock. If it's not pointing to @icq now, it never in ioc_destroy_icq()
123 if (spin_trylock(&q->queue_lock)) { in ioc_release_fn()
125 spin_unlock(&q->queue_lock); in ioc_release_fn()
132 spin_lock(&q->queue_lock); in ioc_release_fn()
137 spin_unlock(&q->queue_lock); in ioc_release_fn()
149 * holding a queue_lock. Do it asynchronously from a workqueue.
173 spin_lock_irq(&q->queue_lock); in ioc_clear_queue()
179 * Other context won't hold ioc lock to wait for queue_lock, see in ioc_clear_queue()
186 spin_unlock_irq(&q->queue_lock); in ioc_clear_queue()
[all...]
H A Dblk-cgroup.c139 spin_lock_irq(&q->queue_lock); in blkg_free_workfn()
141 spin_unlock_irq(&q->queue_lock); in blkg_free_workfn()
381 lockdep_assert_held(&disk->queue->queue_lock); in blkg_create()
466 * should be called under RCU read lock and takes @disk->queue->queue_lock.
484 spin_lock_irqsave(&q->queue_lock, flags); in blkg_lookup_create()
524 spin_unlock_irqrestore(&q->queue_lock, flags); in blkg_lookup_create()
533 lockdep_assert_held(&blkg->q->queue_lock); in blkg_destroy()
562 * under queue_lock. If it's not pointing to @blkg now, it never in blkg_destroy()
583 spin_lock_irq(&q->queue_lock); in blkg_destroy_all()
600 spin_unlock_irq(&q->queue_lock); in blkg_destroy_all()
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dcrypto_engine.c39 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_finalize_request()
44 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_finalize_request()
79 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
105 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
111 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
139 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
194 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
221 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
227 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
263 spin_lock_irqsave(&engine->queue_lock, flag in crypto_transfer_request()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/arm/
H A Dqueue.c60 spin_lock_init(&queue->queue_lock); in queue_initialise()
110 spin_lock_irqsave(&queue->queue_lock, flags); in __queue_add()
130 spin_unlock_irqrestore(&queue->queue_lock, flags); in __queue_add()
164 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_exclude()
173 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove_exclude()
189 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove()
192 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove()
213 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_tgtluntag()
222 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove_tgtluntag()
239 spin_lock_irqsave(&queue->queue_lock, flag in queue_remove_all_target()
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-pm.c70 spin_lock_irq(&q->queue_lock); in blk_pre_runtime_suspend()
72 spin_unlock_irq(&q->queue_lock); in blk_pre_runtime_suspend()
97 spin_lock_irq(&q->queue_lock); in blk_pre_runtime_suspend()
100 spin_unlock_irq(&q->queue_lock); in blk_pre_runtime_suspend()
127 spin_lock_irq(&q->queue_lock); in blk_post_runtime_suspend()
134 spin_unlock_irq(&q->queue_lock); in blk_post_runtime_suspend()
157 spin_lock_irq(&q->queue_lock); in blk_pre_runtime_resume()
159 spin_unlock_irq(&q->queue_lock); in blk_pre_runtime_resume()
206 spin_lock_irq(&q->queue_lock); in blk_set_runtime_active()
211 spin_unlock_irq(&q->queue_lock); in blk_set_runtime_active()
[all...]
H A Dblk-ioc.c74 * under queue_lock. If it's not pointing to @icq now, it never in ioc_destroy_icq()
106 if (spin_trylock(&q->queue_lock)) { in ioc_release_fn()
108 spin_unlock(&q->queue_lock); in ioc_release_fn()
115 spin_lock(&q->queue_lock); in ioc_release_fn()
125 spin_unlock(&q->queue_lock); in ioc_release_fn()
154 * already be holding a queue_lock. Do it asynchronously from wq. in put_io_context()
243 spin_lock_irq(&q->queue_lock); in ioc_clear_queue()
247 spin_unlock_irq(&q->queue_lock); in ioc_clear_queue()
330 * with @q->queue_lock held.
336 lockdep_assert_held(&q->queue_lock); in ioc_lookup_icq()
[all...]
H A Dblk-pm.h27 lockdep_assert_held(&rq->q->queue_lock); in blk_pm_requeue_request()
36 lockdep_assert_held(&q->queue_lock); in blk_pm_add_request()
44 lockdep_assert_held(&rq->q->queue_lock); in blk_pm_put_request()
H A Dblk-cgroup.c210 * hint can only be updated under queue_lock as otherwise @blkg in blkg_lookup_slowpath()
212 * responsible for grabbing queue_lock if @update_hint. in blkg_lookup_slowpath()
217 lockdep_assert_held(&q->queue_lock); in blkg_lookup_slowpath()
239 lockdep_assert_held(&q->queue_lock); in blkg_create()
320 * should be called under RCU read lock and takes @q->queue_lock.
337 spin_lock_irqsave(&q->queue_lock, flags); in blkg_lookup_create()
373 spin_unlock_irqrestore(&q->queue_lock, flags); in blkg_lookup_create()
382 lockdep_assert_held(&blkg->q->queue_lock); in blkg_destroy()
404 * under queue_lock. If it's not pointing to @blkg now, it never in blkg_destroy()
427 spin_lock_irq(&q->queue_lock); in blkg_destroy_all()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/arm/
H A Dqueue.c64 spin_lock_init(&queue->queue_lock); in queue_initialise()
114 spin_lock_irqsave(&queue->queue_lock, flags); in __queue_add()
134 spin_unlock_irqrestore(&queue->queue_lock, flags); in __queue_add()
168 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_exclude()
177 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove_exclude()
193 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove()
196 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove()
217 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_tgtluntag()
226 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove_tgtluntag()
243 spin_lock_irqsave(&queue->queue_lock, flag in queue_remove_all_target()
[all...]
/kernel/linux/linux-6.6/crypto/
H A Dcrypto_engine.c51 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_finalize_request()
55 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_finalize_request()
83 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
109 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
115 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
140 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
177 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
200 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
206 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
243 spin_lock_irqsave(&engine->queue_lock, flag in crypto_transfer_request()
[all...]
/kernel/linux/linux-5.10/drivers/connector/
H A Dcn_queue.c71 spin_lock_bh(&dev->queue_lock); in cn_queue_add_callback()
80 spin_unlock_bh(&dev->queue_lock); in cn_queue_add_callback()
98 spin_lock_bh(&dev->queue_lock); in cn_queue_del_callback()
106 spin_unlock_bh(&dev->queue_lock); in cn_queue_del_callback()
123 spin_lock_init(&dev->queue_lock); in cn_queue_alloc_dev()
134 spin_lock_bh(&dev->queue_lock); in cn_queue_free_dev()
137 spin_unlock_bh(&dev->queue_lock); in cn_queue_free_dev()
H A Dconnector.c76 spin_lock_bh(&dev->cbdev->queue_lock); in cn_netlink_send_mult()
85 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_netlink_send_mult()
145 spin_lock_bh(&dev->cbdev->queue_lock); in cn_call_callback()
153 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_call_callback()
232 spin_lock_bh(&dev->queue_lock); in cn_proc_show()
241 spin_unlock_bh(&dev->queue_lock); in cn_proc_show()
/kernel/linux/linux-6.6/drivers/connector/
H A Dcn_queue.c71 spin_lock_bh(&dev->queue_lock); in cn_queue_add_callback()
80 spin_unlock_bh(&dev->queue_lock); in cn_queue_add_callback()
98 spin_lock_bh(&dev->queue_lock); in cn_queue_del_callback()
106 spin_unlock_bh(&dev->queue_lock); in cn_queue_del_callback()
123 spin_lock_init(&dev->queue_lock); in cn_queue_alloc_dev()
134 spin_lock_bh(&dev->queue_lock); in cn_queue_free_dev()
137 spin_unlock_bh(&dev->queue_lock); in cn_queue_free_dev()
H A Dconnector.c78 spin_lock_bh(&dev->cbdev->queue_lock); in cn_netlink_send_mult()
87 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_netlink_send_mult()
149 spin_lock_bh(&dev->cbdev->queue_lock); in cn_call_callback()
157 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_call_callback()
261 spin_lock_bh(&dev->queue_lock); in cn_proc_show()
270 spin_unlock_bh(&dev->queue_lock); in cn_proc_show()
/kernel/linux/linux-6.6/drivers/mtd/
H A Dmtd_blkdevs.c121 __releases(&dev->queue_lock)
122 __acquires(&dev->queue_lock)
134 spin_unlock_irq(&dev->queue_lock);
138 spin_lock_irq(&dev->queue_lock);
149 spin_unlock_irq(&dev->queue_lock);
162 spin_lock_irq(&dev->queue_lock);
177 spin_lock_irq(&dev->queue_lock); in mtd_queue_rq()
180 spin_unlock_irq(&dev->queue_lock); in mtd_queue_rq()
368 spin_lock_init(&new->queue_lock); in add_mtd_blktrans_dev()
425 spin_lock_irqsave(&old->queue_lock, flag in del_mtd_blktrans_dev()
[all...]
/kernel/linux/linux-6.6/net/mac802154/
H A Dutil.c71 spin_lock_irqsave(&local->phy->queue_lock, flags); in ieee802154_hold_queue()
74 spin_unlock_irqrestore(&local->phy->queue_lock, flags); in ieee802154_hold_queue()
81 spin_lock_irqsave(&local->phy->queue_lock, flags); in ieee802154_release_queue()
84 spin_unlock_irqrestore(&local->phy->queue_lock, flags); in ieee802154_release_queue()
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
H A Dispvideo.c628 mutex_lock(&video->queue_lock); in omap3isp_video_resume()
630 mutex_unlock(&video->queue_lock); in omap3isp_video_resume()
906 mutex_lock(&video->queue_lock); in isp_video_reqbufs()
908 mutex_unlock(&video->queue_lock); in isp_video_reqbufs()
920 mutex_lock(&video->queue_lock); in isp_video_querybuf()
922 mutex_unlock(&video->queue_lock); in isp_video_querybuf()
934 mutex_lock(&video->queue_lock); in isp_video_qbuf()
936 mutex_unlock(&video->queue_lock); in isp_video_qbuf()
948 mutex_lock(&video->queue_lock); in isp_video_dqbuf()
950 mutex_unlock(&video->queue_lock); in isp_video_dqbuf()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/
H A Dispvideo.c621 mutex_lock(&video->queue_lock); in omap3isp_video_resume()
623 mutex_unlock(&video->queue_lock); in omap3isp_video_resume()
901 mutex_lock(&video->queue_lock); in isp_video_reqbufs()
903 mutex_unlock(&video->queue_lock); in isp_video_reqbufs()
915 mutex_lock(&video->queue_lock); in isp_video_querybuf()
917 mutex_unlock(&video->queue_lock); in isp_video_querybuf()
929 mutex_lock(&video->queue_lock); in isp_video_qbuf()
931 mutex_unlock(&video->queue_lock); in isp_video_qbuf()
943 mutex_lock(&video->queue_lock); in isp_video_dqbuf()
945 mutex_unlock(&video->queue_lock); in isp_video_dqbuf()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/
H A Dmtd_blkdevs.c141 __releases(&dev->queue_lock)
142 __acquires(&dev->queue_lock)
154 spin_unlock_irq(&dev->queue_lock);
158 spin_lock_irq(&dev->queue_lock);
169 spin_unlock_irq(&dev->queue_lock);
181 spin_lock_irq(&dev->queue_lock);
196 spin_lock_irq(&dev->queue_lock); in mtd_queue_rq()
199 spin_unlock_irq(&dev->queue_lock); in mtd_queue_rq()
423 spin_lock_init(&new->queue_lock); in add_mtd_blktrans_dev()
489 spin_lock_irqsave(&old->queue_lock, flag in del_mtd_blktrans_dev()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
H A Desas2r_int.c218 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_get_outbound_responses()
228 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_get_outbound_responses()
235 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_get_outbound_responses()
295 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_get_outbound_responses()
344 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_do_deferred_processes()
376 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_do_deferred_processes()
399 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_process_adapter_reset()
440 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_process_adapter_reset()
458 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_process_bus_reset()
467 spin_unlock_irqrestore(&a->queue_lock, flag in esas2r_process_bus_reset()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/esas2r/
H A Desas2r_int.c218 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_get_outbound_responses()
228 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_get_outbound_responses()
235 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_get_outbound_responses()
295 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_get_outbound_responses()
344 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_do_deferred_processes()
376 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_do_deferred_processes()
399 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_process_adapter_reset()
440 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_process_adapter_reset()
458 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_process_bus_reset()
467 spin_unlock_irqrestore(&a->queue_lock, flag in esas2r_process_bus_reset()
[all...]
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.c99 spin_lock_irqsave(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
101 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
130 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
281 spin_lock_irqsave(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_issue_pending()
303 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_issue_pending()
431 spin_lock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
433 spin_unlock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
450 spin_unlock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
590 spin_lock_irqsave(&qchan->queue_lock, flags); in dpaa2_dpdmai_free_comp()
592 spin_unlock_irqrestore(&qchan->queue_lock, flag in dpaa2_dpdmai_free_comp()
[all...]
/kernel/linux/linux-6.6/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.c99 spin_lock_irqsave(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
101 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
130 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
281 spin_lock_irqsave(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_issue_pending()
302 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_issue_pending()
430 spin_lock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
432 spin_unlock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
449 spin_unlock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
589 spin_lock_irqsave(&qchan->queue_lock, flags); in dpaa2_dpdmai_free_comp()
591 spin_unlock_irqrestore(&qchan->queue_lock, flag in dpaa2_dpdmai_free_comp()
[all...]
/kernel/linux/linux-5.10/drivers/block/rsxx/
H A Ddma.c268 spin_lock_bh(&ctrl->queue_lock); in rsxx_requeue_dma()
271 spin_unlock_bh(&ctrl->queue_lock); in rsxx_requeue_dma()
369 spin_lock(&ctrl->queue_lock); in dma_engine_stalled()
371 spin_unlock(&ctrl->queue_lock); in dma_engine_stalled()
397 spin_lock_bh(&ctrl->queue_lock); in rsxx_issue_dmas()
399 spin_unlock_bh(&ctrl->queue_lock); in rsxx_issue_dmas()
402 spin_unlock_bh(&ctrl->queue_lock); in rsxx_issue_dmas()
408 spin_lock_bh(&ctrl->queue_lock); in rsxx_issue_dmas()
412 spin_unlock_bh(&ctrl->queue_lock); in rsxx_issue_dmas()
572 spin_lock_bh(&ctrl->queue_lock); in rsxx_dma_done()
[all...]

Completed in 19 milliseconds

1234567