Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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.c106 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()
243 spin_lock_irq(&q->queue_lock); in ioc_clear_queue()
247 spin_unlock_irq(&q->queue_lock); in ioc_clear_queue()
336 lockdep_assert_held(&q->queue_lock); in ioc_lookup_icq()
395 spin_lock_irq(&q->queue_lock); in ioc_create_icq()
411 spin_unlock_irq(&q->queue_lock); in ioc_create_icq()
Dblk-cgroup.c217 lockdep_assert_held(&q->queue_lock); in blkg_lookup_slowpath()
239 lockdep_assert_held(&q->queue_lock); in blkg_create()
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()
427 spin_lock_irq(&q->queue_lock); in blkg_destroy_all()
437 spin_unlock_irq(&q->queue_lock); in blkg_destroy_all()
513 spin_lock_irq(&blkg->q->queue_lock); in blkcg_print_blkgs()
516 spin_unlock_irq(&blkg->q->queue_lock); in blkcg_print_blkgs()
551 lockdep_assert_held(&q->queue_lock); in blkg_lookup_check()
[all …]
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()
Dblk-rq-qos.h112 spin_lock_irq(&q->queue_lock); in rq_qos_add()
115 spin_unlock_irq(&q->queue_lock); in rq_qos_add()
133 spin_lock_irq(&q->queue_lock); in rq_qos_del()
140 spin_unlock_irq(&q->queue_lock); in rq_qos_del()
Dblk-sysfs.c246 spin_lock_irq(&q->queue_lock); in queue_max_sectors_store()
249 spin_unlock_irq(&q->queue_lock); in queue_max_sectors_store()
913 spin_lock_irq(&q->queue_lock); in blk_register_queue()
915 spin_unlock_irq(&q->queue_lock); in blk_register_queue()
948 spin_lock_irq(&q->queue_lock); in blk_unregister_queue()
950 spin_unlock_irq(&q->queue_lock); in blk_unregister_queue()
/kernel/linux/linux-5.10/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()
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, flags); in crypto_transfer_request()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/arm/
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, flags); in queue_remove_all_target()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/mtd/
Dmtd_blkdevs.c141 __releases(&dev->queue_lock) in mtd_blktrans_work()
142 __acquires(&dev->queue_lock) in mtd_blktrans_work()
154 spin_unlock_irq(&dev->queue_lock); in mtd_blktrans_work()
158 spin_lock_irq(&dev->queue_lock); in mtd_blktrans_work()
169 spin_unlock_irq(&dev->queue_lock); in mtd_blktrans_work()
181 spin_lock_irq(&dev->queue_lock); in mtd_blktrans_work()
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, flags); in del_mtd_blktrans_dev()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/platform/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 …]
/kernel/linux/linux-5.10/drivers/block/rsxx/
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 …]
/kernel/linux/linux-5.10/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()
301 spin_unlock_irqrestore(&dpaa2_chan->queue_lock, flags); in dpaa2_qdma_issue_pending()
429 spin_lock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
431 spin_unlock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
448 spin_unlock(&qchan->queue_lock); in dpaa2_qdma_fqdan_cb()
588 spin_lock_irqsave(&qchan->queue_lock, flags); in dpaa2_dpdmai_free_comp()
590 spin_unlock_irqrestore(&qchan->queue_lock, flags); in dpaa2_dpdmai_free_comp()
[all …]
/kernel/linux/linux-5.10/net/sunrpc/
Dcache.c780 static DEFINE_SPINLOCK(queue_lock);
825 spin_lock(&queue_lock); in cache_read()
834 spin_unlock(&queue_lock); in cache_read()
843 spin_unlock(&queue_lock); in cache_read()
854 spin_lock(&queue_lock); in cache_read()
856 spin_unlock(&queue_lock); in cache_read()
866 spin_lock(&queue_lock); in cache_read()
868 spin_unlock(&queue_lock); in cache_read()
875 spin_lock(&queue_lock); in cache_read()
880 spin_unlock(&queue_lock); in cache_read()
[all …]
Dxprt.c1108 spin_lock(&xprt->queue_lock); in xprt_request_enqueue_receive()
1117 spin_unlock(&xprt->queue_lock); in xprt_request_enqueue_receive()
1259 spin_lock(&xprt->queue_lock); in xprt_request_wait_receive()
1271 spin_unlock(&xprt->queue_lock); in xprt_request_wait_receive()
1294 spin_lock(&xprt->queue_lock); in xprt_request_enqueue_transmit()
1322 spin_unlock(&xprt->queue_lock); in xprt_request_enqueue_transmit()
1364 spin_lock(&xprt->queue_lock); in xprt_request_dequeue_transmit()
1366 spin_unlock(&xprt->queue_lock); in xprt_request_dequeue_transmit()
1385 spin_lock(&xprt->queue_lock); in xprt_request_dequeue_xprt()
1390 spin_unlock(&xprt->queue_lock); in xprt_request_dequeue_xprt()
[all …]
/kernel/linux/linux-5.10/drivers/rpmsg/
Drpmsg_char.c76 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()
177 spin_lock_irqsave(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
181 spin_unlock_irqrestore(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
196 spin_lock_irqsave(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
200 spin_unlock_irqrestore(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
355 spin_lock_init(&eptdev->queue_lock); in rpmsg_eptdev_create()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi.c1403 spin_lock_irqsave(&ctlr->queue_lock, flags); in __spi_pump_messages()
1407 spin_unlock_irqrestore(&ctlr->queue_lock, flags); in __spi_pump_messages()
1414 spin_unlock_irqrestore(&ctlr->queue_lock, flags); in __spi_pump_messages()
1421 spin_unlock_irqrestore(&ctlr->queue_lock, flags); in __spi_pump_messages()
1436 spin_unlock_irqrestore(&ctlr->queue_lock, flags); in __spi_pump_messages()
1442 spin_unlock_irqrestore(&ctlr->queue_lock, flags); in __spi_pump_messages()
1455 spin_lock_irqsave(&ctlr->queue_lock, flags); in __spi_pump_messages()
1457 spin_unlock_irqrestore(&ctlr->queue_lock, flags); in __spi_pump_messages()
1470 spin_unlock_irqrestore(&ctlr->queue_lock, flags); in __spi_pump_messages()
1710 spin_lock_irqsave(&ctlr->queue_lock, flags); in spi_get_next_queued_message()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dinit.c346 spin_lock_bh(&adapter->queue_lock); in mwifiex_wake_up_net_dev_queue()
348 spin_unlock_bh(&adapter->queue_lock); in mwifiex_wake_up_net_dev_queue()
357 spin_lock_bh(&adapter->queue_lock); in mwifiex_stop_net_dev_queue()
359 spin_unlock_bh(&adapter->queue_lock); in mwifiex_stop_net_dev_queue()
433 spin_lock_init(&adapter->queue_lock); in mwifiex_init_lock_list()
/kernel/linux/linux-5.10/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

1234