Home
last modified time | relevance | path

Searched refs:queue_lock (Results 1 – 25 of 85) sorted by relevance

1234

/linux-6.6.21/block/
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()
Dblk-ioc.c80 lockdep_assert_held(&q->queue_lock); 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()
173 spin_lock_irq(&q->queue_lock); in ioc_clear_queue()
186 spin_unlock_irq(&q->queue_lock); in ioc_clear_queue()
329 lockdep_assert_held(&q->queue_lock); in ioc_lookup_icq()
386 spin_lock_irq(&q->queue_lock); in ioc_create_icq()
402 spin_unlock_irq(&q->queue_lock); in ioc_create_icq()
[all …]
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()
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()
583 spin_lock_irq(&q->queue_lock); in blkg_destroy_all()
600 spin_unlock_irq(&q->queue_lock); in blkg_destroy_all()
619 spin_unlock_irq(&q->queue_lock); in blkg_destroy_all()
699 spin_lock_irq(&blkg->q->queue_lock); in blkcg_print_blkgs()
[all …]
/linux-6.6.21/drivers/scsi/arm/
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, flags); in queue_remove_all_target()
[all …]
Dqueue.h13 spinlock_t queue_lock; member
/linux-6.6.21/crypto/
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, flags); in crypto_transfer_request()
[all …]
/linux-6.6.21/drivers/connector/
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()
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()
/linux-6.6.21/drivers/mtd/
Dmtd_blkdevs.c121 __releases(&dev->queue_lock) in mtd_blktrans_work()
122 __acquires(&dev->queue_lock) in mtd_blktrans_work()
134 spin_unlock_irq(&dev->queue_lock); in mtd_blktrans_work()
138 spin_lock_irq(&dev->queue_lock); in mtd_blktrans_work()
149 spin_unlock_irq(&dev->queue_lock); in mtd_blktrans_work()
162 spin_lock_irq(&dev->queue_lock); in mtd_blktrans_work()
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, flags); in del_mtd_blktrans_dev()
[all …]
/linux-6.6.21/net/mac802154/
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()
/linux-6.6.21/drivers/platform/chrome/wilco_ec/
Devent.c191 spinlock_t queue_lock; member
244 spin_lock(&dev_data->queue_lock); in enqueue_events()
246 spin_unlock(&dev_data->queue_lock); in enqueue_events()
364 spin_lock(&dev_data->queue_lock); in event_read()
366 spin_unlock(&dev_data->queue_lock); in event_read()
379 spin_lock(&dev_data->queue_lock); in event_read()
382 spin_unlock(&dev_data->queue_lock); in event_read()
475 spin_lock_init(&dev_data->queue_lock); in event_device_add()
/linux-6.6.21/drivers/media/platform/ti/omap3isp/
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 …]
/linux-6.6.21/drivers/rpmsg/
Drpmsg_char.c69 spinlock_t queue_lock; member
113 spin_lock(&eptdev->queue_lock); in rpmsg_ept_cb()
115 spin_unlock(&eptdev->queue_lock); in rpmsg_ept_cb()
213 spin_lock_irqsave(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
217 spin_unlock_irqrestore(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
232 spin_lock_irqsave(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
236 spin_unlock_irqrestore(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
421 spin_lock_init(&eptdev->queue_lock); in rpmsg_chrdev_eptdev_alloc()
/linux-6.6.21/drivers/dma/fsl-dpaa2-qdma/
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, flags); in dpaa2_dpdmai_free_comp()
[all …]
/linux-6.6.21/net/sunrpc/
Dcache.c796 static DEFINE_SPINLOCK(queue_lock);
840 spin_lock(&queue_lock); in cache_read()
849 spin_unlock(&queue_lock); in cache_read()
858 spin_unlock(&queue_lock); in cache_read()
869 spin_lock(&queue_lock); in cache_read()
871 spin_unlock(&queue_lock); in cache_read()
881 spin_lock(&queue_lock); in cache_read()
883 spin_unlock(&queue_lock); in cache_read()
890 spin_lock(&queue_lock); in cache_read()
895 spin_unlock(&queue_lock); in cache_read()
[all …]
Dxprt.c1155 spin_lock(&xprt->queue_lock); in xprt_request_enqueue_receive()
1164 spin_unlock(&xprt->queue_lock); in xprt_request_enqueue_receive()
1309 spin_lock(&xprt->queue_lock); in xprt_request_wait_receive()
1321 spin_unlock(&xprt->queue_lock); in xprt_request_wait_receive()
1350 spin_lock(&xprt->queue_lock); in xprt_request_enqueue_transmit()
1379 spin_unlock(&xprt->queue_lock); in xprt_request_enqueue_transmit()
1423 spin_lock(&xprt->queue_lock); in xprt_request_dequeue_transmit()
1425 spin_unlock(&xprt->queue_lock); in xprt_request_dequeue_transmit()
1444 spin_lock(&xprt->queue_lock); in xprt_request_dequeue_xprt()
1447 spin_unlock(&xprt->queue_lock); in xprt_request_dequeue_xprt()
[all …]
/linux-6.6.21/drivers/scsi/esas2r/
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, flags); in esas2r_process_bus_reset()
/linux-6.6.21/net/sunrpc/xprtrdma/
Dsvc_rdma_backchannel.c31 spin_lock(&xprt->queue_lock); in svc_rdma_handle_bc_reply()
42 spin_unlock(&xprt->queue_lock); in svc_rdma_handle_bc_reply()
53 spin_lock(&xprt->queue_lock); in svc_rdma_handle_bc_reply()
59 spin_unlock(&xprt->queue_lock); in svc_rdma_handle_bc_reply()
/linux-6.6.21/drivers/dma/
Dfsl-qdma.c191 spinlock_t queue_lock; member
465 spin_lock_irqsave(&queue->queue_lock, flags); in fsl_qdma_request_enqueue_desc()
472 spin_unlock_irqrestore(&queue->queue_lock, flags); in fsl_qdma_request_enqueue_desc()
476 spin_unlock_irqrestore(&queue->queue_lock, flags); in fsl_qdma_request_enqueue_desc()
536 spin_lock_init(&queue_temp->queue_lock); in fsl_qdma_alloc_queue_resources()
663 spin_lock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
666 spin_unlock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
675 spin_unlock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
690 spin_unlock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
704 spin_unlock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dinit.c333 spin_lock_bh(&adapter->queue_lock); in mwifiex_wake_up_net_dev_queue()
335 spin_unlock_bh(&adapter->queue_lock); in mwifiex_wake_up_net_dev_queue()
344 spin_lock_bh(&adapter->queue_lock); in mwifiex_stop_net_dev_queue()
346 spin_unlock_bh(&adapter->queue_lock); in mwifiex_stop_net_dev_queue()
420 spin_lock_init(&adapter->queue_lock); in mwifiex_init_lock_list()
/linux-6.6.21/net/xfrm/
Dxfrm_input.c29 spinlock_t queue_lock; member
750 spin_lock_bh(&trans->queue_lock); in xfrm_trans_reinject()
752 spin_unlock_bh(&trans->queue_lock); in xfrm_trans_reinject()
776 spin_lock_bh(&trans->queue_lock); in xfrm_trans_queue_net()
778 spin_unlock_bh(&trans->queue_lock); in xfrm_trans_queue_net()
806 spin_lock_init(&trans->queue_lock); in xfrm_input_init()
/linux-6.6.21/include/crypto/internal/
Dengine.h56 spinlock_t queue_lock; member
/linux-6.6.21/Documentation/RCU/
Dlockdep-splat.rst81 lockdep_is_held(&q->queue_lock)) == cic) {
85 or with the ->queue_lock held. In particular, this would have suppressed
86 the above lockdep-RCU splat because ->queue_lock is held (see #2 in the
/linux-6.6.21/drivers/s390/block/
Ddasd_ioctl.c156 spin_lock(&block->queue_lock); in dasd_ioctl_abortio()
162 spin_unlock(&block->queue_lock); in dasd_ioctl_abortio()
164 spin_lock(&block->queue_lock); in dasd_ioctl_abortio()
167 spin_unlock(&block->queue_lock); in dasd_ioctl_abortio()
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_phc.c197 mutex_lock(&lif->queue_lock); in ionic_lif_hwstamp_set()
199 mutex_unlock(&lif->queue_lock); in ionic_lif_hwstamp_set()
218 mutex_lock(&lif->queue_lock); in ionic_lif_hwstamp_replay()
220 mutex_unlock(&lif->queue_lock); in ionic_lif_hwstamp_replay()

1234