Home
last modified time | relevance | path

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

1234

/linux-6.1.9/block/
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()
Dblk-ioc.c119 if (spin_trylock(&q->queue_lock)) { in ioc_release_fn()
121 spin_unlock(&q->queue_lock); in ioc_release_fn()
128 spin_lock(&q->queue_lock); in ioc_release_fn()
138 spin_unlock(&q->queue_lock); in ioc_release_fn()
176 spin_lock_irq(&q->queue_lock); in ioc_clear_queue()
178 spin_unlock_irq(&q->queue_lock); in ioc_clear_queue()
333 lockdep_assert_held(&q->queue_lock); in ioc_lookup_icq()
390 spin_lock_irq(&q->queue_lock); in ioc_create_icq()
406 spin_unlock_irq(&q->queue_lock); in ioc_create_icq()
434 spin_lock_irq(&q->queue_lock); in ioc_find_get_icq()
[all …]
Dblk-cgroup.c277 lockdep_assert_held(&disk->queue->queue_lock); in blkg_create()
376 spin_lock_irqsave(&q->queue_lock, flags); in blkg_lookup_create()
416 spin_unlock_irqrestore(&q->queue_lock, flags); in blkg_lookup_create()
425 lockdep_assert_held(&blkg->q->queue_lock); in blkg_destroy()
467 spin_lock_irq(&q->queue_lock); in blkg_destroy_all()
481 spin_unlock_irq(&q->queue_lock); in blkg_destroy_all()
488 spin_unlock_irq(&q->queue_lock); in blkg_destroy_all()
563 spin_lock_irq(&blkg->q->queue_lock); in blkcg_print_blkgs()
566 spin_unlock_irq(&blkg->q->queue_lock); in blkcg_print_blkgs()
647 __acquires(rcu) __acquires(&bdev->bd_queue->queue_lock) in blkg_conf_prep()
[all …]
Dblk-rq-qos.h99 spin_lock_irq(&q->queue_lock); in rq_qos_add()
104 spin_unlock_irq(&q->queue_lock); in rq_qos_add()
116 spin_unlock_irq(&q->queue_lock); in rq_qos_add()
132 spin_lock_irq(&q->queue_lock); in rq_qos_del()
139 spin_unlock_irq(&q->queue_lock); in rq_qos_del()
/linux-6.1.9/crypto/
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()
80 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
106 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
112 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
140 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
195 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
222 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_pump_requests()
228 spin_unlock_irqrestore(&engine->queue_lock, flags); in crypto_pump_requests()
265 spin_lock_irqsave(&engine->queue_lock, flags); in crypto_transfer_request()
[all …]
/linux-6.1.9/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.1.9/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.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()
/linux-6.1.9/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.1.9/drivers/platform/chrome/wilco_ec/
Devent.c192 spinlock_t queue_lock; member
245 spin_lock(&dev_data->queue_lock); in enqueue_events()
247 spin_unlock(&dev_data->queue_lock); in enqueue_events()
365 spin_lock(&dev_data->queue_lock); in event_read()
367 spin_unlock(&dev_data->queue_lock); in event_read()
380 spin_lock(&dev_data->queue_lock); in event_read()
383 spin_unlock(&dev_data->queue_lock); in event_read()
476 spin_lock_init(&dev_data->queue_lock); in event_device_add()
/linux-6.1.9/drivers/media/platform/ti/omap3isp/
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 …]
/linux-6.1.9/drivers/rpmsg/
Drpmsg_char.c67 spinlock_t queue_lock; member
108 spin_lock(&eptdev->queue_lock); in rpmsg_ept_cb()
110 spin_unlock(&eptdev->queue_lock); in rpmsg_ept_cb()
189 spin_lock_irqsave(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
193 spin_unlock_irqrestore(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
208 spin_lock_irqsave(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
212 spin_unlock_irqrestore(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
371 spin_lock_init(&eptdev->queue_lock); in rpmsg_chrdev_eptdev_alloc()
/linux-6.1.9/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c97 spin_lock_irqsave(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
99 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
128 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_request_desc()
279 spin_lock_irqsave(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_issue_pending()
300 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_issue_pending()
428 spin_lock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
430 spin_unlock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
447 spin_unlock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
587 spin_lock_irqsave(&qchan->queue_lock, flags); in dpaa2_dpdmai_free_comp()
589 spin_unlock_irqrestore(&qchan->queue_lock, flags); in dpaa2_dpdmai_free_comp()
[all …]
/linux-6.1.9/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.1.9/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.1.9/drivers/dma/
Dfsl-qdma.c190 spinlock_t queue_lock; member
463 spin_lock_irqsave(&queue->queue_lock, flags); in fsl_qdma_request_enqueue_desc()
470 spin_unlock_irqrestore(&queue->queue_lock, flags); in fsl_qdma_request_enqueue_desc()
474 spin_unlock_irqrestore(&queue->queue_lock, flags); in fsl_qdma_request_enqueue_desc()
534 spin_lock_init(&queue_temp->queue_lock); in fsl_qdma_alloc_queue_resources()
661 spin_lock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
664 spin_unlock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
673 spin_unlock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
688 spin_unlock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
702 spin_unlock(&temp_queue->queue_lock); in fsl_qdma_queue_transfer_complete()
[all …]
/linux-6.1.9/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.1.9/drivers/usb/host/
Du132-hcd.c161 struct u132_spin queue_lock; member
511 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb()
516 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb()
525 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb()
550 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb()
555 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb()
564 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb()
1861 spin_lock_init(&endp->queue_lock.slock); in create_endpoint_and_queue_int()
1862 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in create_endpoint_and_queue_int()
1865 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in create_endpoint_and_queue_int()
[all …]
/linux-6.1.9/drivers/s390/block/
Ddasd_ioctl.c155 spin_lock(&block->queue_lock); in dasd_ioctl_abortio()
161 spin_unlock(&block->queue_lock); in dasd_ioctl_abortio()
163 spin_lock(&block->queue_lock); in dasd_ioctl_abortio()
166 spin_unlock(&block->queue_lock); in dasd_ioctl_abortio()
555 spin_lock_irqsave(&block->queue_lock, flags); in __dasd_ioctl_information()
558 spin_unlock_irqrestore(&block->queue_lock, flags); in __dasd_ioctl_information()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dinit.c335 spin_lock_bh(&adapter->queue_lock); in mwifiex_wake_up_net_dev_queue()
337 spin_unlock_bh(&adapter->queue_lock); in mwifiex_wake_up_net_dev_queue()
346 spin_lock_bh(&adapter->queue_lock); in mwifiex_stop_net_dev_queue()
348 spin_unlock_bh(&adapter->queue_lock); in mwifiex_stop_net_dev_queue()
422 spin_lock_init(&adapter->queue_lock); in mwifiex_init_lock_list()
/linux-6.1.9/net/xfrm/
Dxfrm_input.c29 spinlock_t queue_lock; member
774 spin_lock_bh(&trans->queue_lock); in xfrm_trans_reinject()
776 spin_unlock_bh(&trans->queue_lock); in xfrm_trans_reinject()
800 spin_lock_bh(&trans->queue_lock); in xfrm_trans_queue_net()
802 spin_unlock_bh(&trans->queue_lock); in xfrm_trans_queue_net()
830 spin_lock_init(&trans->queue_lock); in xfrm_input_init()
/linux-6.1.9/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.1.9/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