Home
last modified time | relevance | path

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

123

/linux/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()
181 spin_lock_irq(&q->queue_lock); in blk_post_runtime_resume()
186 spin_unlock_irq(&q->queue_lock); in blk_post_runtime_resume()
H A Dblk-ioc.c73 lockdep_assert_held(&q->queue_lock); in ioc_destroy_icq()
116 if (spin_trylock(&q->queue_lock)) { in ioc_release_fn()
118 spin_unlock(&q->queue_lock); in ioc_release_fn()
125 spin_lock(&q->queue_lock); in ioc_release_fn()
130 spin_unlock(&q->queue_lock); in ioc_release_fn()
166 spin_lock_irq(&q->queue_lock); in ioc_clear_queue()
179 spin_unlock_irq(&q->queue_lock); in ioc_clear_queue()
378 spin_lock_irq(&q->queue_lock); in ioc_create_icq()
394 spin_unlock_irq(&q->queue_lock); in ioc_create_icq()
H A Dblk-cgroup.c134 spin_lock_irq(&q->queue_lock); in blkg_free_workfn()
136 spin_unlock_irq(&q->queue_lock); in blkg_free_workfn()
385 lockdep_assert_held(&disk->queue->queue_lock); in blkg_create()
462 * should be called under RCU read lock and takes @disk->queue->queue_lock.
522 lockdep_assert_held(&blkg->q->queue_lock);
551 * under queue_lock. If it's not pointing to @blkg now, it never in blkg_destroy()
572 spin_lock_irq(&q->queue_lock); in blkg_destroy_all()
589 spin_unlock_irq(&q->queue_lock); in blkg_destroy_all()
608 spin_unlock_irq(&q->queue_lock); in blkg_destroy_all()
844 spin_lock_irq(&q->queue_lock); in blkg_conf_open_bdev_frozen()
[all...]
H A Dblk-throttle.c1145 spin_lock_irq(&q->queue_lock); in throtl_pending_timer_fn()
1171 spin_unlock_irq(&q->queue_lock); in throtl_pending_timer_fn()
1173 spin_lock_irq(&q->queue_lock); in throtl_pending_timer_fn()
1196 spin_unlock_irq(&q->queue_lock);
1220 spin_lock_irq(&q->queue_lock); in blk_throtl_dispatch_work_fn()
1224 spin_unlock_irq(&q->queue_lock);
1302 * We're already holding queue_lock and know @tg is valid. Let's in tg_conf_updated()
1736 spin_lock_irq(&q->queue_lock); in __blk_throtl_bio()
1738 * queue_lock is held, rcu lock is not needed here technically. in __blk_throtl_bio()
1755 spin_unlock_irq(&q->queue_lock); in __blk_throtl_bio()
[all...]
/linux/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, flags); in queue_remove_all_target()
[all …]
H A Dqueue.h13 spinlock_t queue_lock; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbwc.c28 struct mutex *queue_lock; /* Protect the queue */ in hws_bwc_lock_all_queues() local
32 queue_lock = hws_bwc_get_queue_lock(ctx, i); in hws_bwc_lock_all_queues()
33 mutex_lock(queue_lock); in hws_bwc_lock_all_queues()
40 struct mutex *queue_lock; /* Protect the queue */ in hws_bwc_unlock_all_queues() local
44 queue_lock = hws_bwc_get_queue_lock(ctx, i); in hws_bwc_unlock_all_queues()
45 mutex_unlock(queue_lock); in hws_bwc_unlock_all_queues()
613 struct mutex *queue_lock; /* Protect the queue */ in hws_bwc_rule_cnt_dec_with_shrink()
624 queue_lock = hws_bwc_get_queue_lock(ctx, bwc_queue_idx); in hws_bwc_rule_cnt_dec_with_shrink()
625 mutex_unlock(queue_lock); in hws_bwc_rule_cnt_dec_with_shrink()
631 mutex_lock(queue_lock); in mlx5hws_bwc_rule_destroy_simple()
601 struct mutex *queue_lock; /* Protect the queue */ hws_bwc_rule_cnt_dec_with_shrink() local
635 struct mutex *queue_lock; /* Protect the queue */ mlx5hws_bwc_rule_destroy_simple() local
927 struct mutex *queue_lock; /* Protect the queue */ hws_bwc_rule_get_at_idx() local
993 struct mutex *queue_lock; /* Protect the queue */ hws_bwc_rule_cnt_inc_with_rehash() local
1033 struct mutex *queue_lock; /* Protect the queue */ mlx5hws_bwc_rule_create_simple() local
1179 struct mutex *queue_lock; /* Protect the queue */ hws_bwc_rule_action_update() local
[all...]
/linux/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.c77 spin_lock_bh(&dev->cbdev->queue_lock); in cn_netlink_send_mult()
86 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_netlink_send_mult()
148 spin_lock_bh(&dev->cbdev->queue_lock); in cn_call_callback()
156 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_call_callback()
260 spin_lock_bh(&dev->queue_lock); in cn_proc_show()
269 spin_unlock_bh(&dev->queue_lock); in cn_proc_show()
/linux/drivers/mtd/
H A 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()
375 spin_lock_init(&new->queue_lock); in add_mtd_blktrans_dev()
419 spin_lock_irqsave(&old->queue_lock, flags); in del_mtd_blktrans_dev()
[all …]
/linux/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()
/linux/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, flags); in dpaa2_dpdmai_free_comp()
[all …]
/linux/drivers/rpmsg/
H A Drpmsg_char.c50 * @queue_lock: synchronization of @queue operations
69 spinlock_t queue_lock; member
116 spin_lock(&eptdev->queue_lock); in rpmsg_ept_cb()
118 spin_unlock(&eptdev->queue_lock); in rpmsg_ept_cb()
219 spin_lock_irqsave(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
223 spin_unlock_irqrestore(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
238 spin_lock_irqsave(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
242 spin_unlock_irqrestore(&eptdev->queue_lock, flags); in rpmsg_eptdev_read_iter()
427 spin_lock_init(&eptdev->queue_lock); in rpmsg_chrdev_eptdev_alloc()
/linux/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, flags); in esas2r_process_bus_reset()
H A Desas2r_io.c92 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_start_request()
102 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_start_request()
779 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_send_task_mgmt()
828 spin_unlock_irqrestore(&a->queue_lock, flags); in esas2r_send_task_mgmt()
/linux/net/sunrpc/
H A Dcache.c406 spin_lock_init(&cd->queue_lock); in sunrpc_init_cache_detail()
856 spin_lock(&cd->queue_lock); in cache_read()
860 spin_unlock(&cd->queue_lock); in cache_read()
867 spin_unlock(&cd->queue_lock); in cache_read()
895 spin_lock(&cd->queue_lock); in cache_read()
900 spin_unlock(&cd->queue_lock); in cache_read()
905 spin_unlock(&cd->queue_lock); in cache_read()
983 spin_lock(&cd->queue_lock); in cache_poll()
987 spin_unlock(&cd->queue_lock); in cache_poll()
1002 spin_lock(&cd->queue_lock); in cache_ioctl()
[all...]
H A Dxprt.c1158 spin_lock(&xprt->queue_lock); in xprt_request_enqueue_receive()
1167 spin_unlock(&xprt->queue_lock); in xprt_request_enqueue_receive()
1312 spin_lock(&xprt->queue_lock); in xprt_request_wait_receive()
1324 spin_unlock(&xprt->queue_lock); in xprt_request_wait_receive()
1353 spin_lock(&xprt->queue_lock); in xprt_request_enqueue_transmit()
1382 spin_unlock(&xprt->queue_lock); in xprt_request_enqueue_transmit()
1432 spin_lock(&xprt->queue_lock); in xprt_request_dequeue_transmit()
1434 spin_unlock(&xprt->queue_lock); in xprt_request_dequeue_transmit()
1453 spin_lock(&xprt->queue_lock); in xprt_request_dequeue_xprt()
1456 spin_unlock(&xprt->queue_lock); in xprt_request_dequeue_xprt()
[all …]
/linux/net/sunrpc/xprtrdma/
H A 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()
H A Drpc_rdma.c1324 spin_lock(&xprt->queue_lock);
1326 spin_unlock(&xprt->queue_lock); in rpcrdma_complete_rqst()
1366 spin_lock(&xprt->queue_lock); in rpcrdma_reply_done()
1369 spin_unlock(&xprt->queue_lock); in rpcrdma_reply_done()
1495 spin_lock(&xprt->queue_lock);
1500 spin_unlock(&xprt->queue_lock);
1527 spin_unlock(&xprt->queue_lock);
/linux/net/xfrm/
H A Dxfrm_input.c30 spinlock_t queue_lock; member
798 spin_lock_bh(&trans->queue_lock); in xfrm_trans_reinject()
800 spin_unlock_bh(&trans->queue_lock); in xfrm_trans_reinject()
832 spin_lock_bh(&trans->queue_lock); in xfrm_trans_queue_net()
834 spin_unlock_bh(&trans->queue_lock); in xfrm_trans_queue_net()
865 spin_lock_init(&trans->queue_lock); in xfrm_input_init()
/linux/Documentation/RCU/
H A 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/drivers/s390/block/
H A Ddasd_ioctl.c150 spin_lock(&block->queue_lock); in dasd_ioctl_abortio()
156 spin_unlock(&block->queue_lock); in dasd_ioctl_abortio()
158 spin_lock(&block->queue_lock); in dasd_ioctl_abortio()
161 spin_unlock(&block->queue_lock); in dasd_ioctl_abortio()
/linux/drivers/media/i2c/
H A Dvideo-i2c.c82 struct mutex queue_lock; member
742 mutex_destroy(&data->queue_lock); in video_i2c_release()
776 mutex_init(&data->queue_lock); in video_i2c_probe()
787 queue->lock = &data->queue_lock; in video_i2c_probe()
869 mutex_destroy(&data->queue_lock); in video_i2c_probe()
/linux/include/linux/
H A Dconnector.h27 spinlock_t queue_lock; member
/linux/include/linux/mtd/
H A Dblktrans.h35 spinlock_t queue_lock; member

123