Searched refs:lock (Results 1 – 10 of 10) sorted by relevance
/block/ |
D | blk-ioc.c | 59 lockdep_assert_held(&ioc->lock); in ioc_destroy_icq() 100 spin_lock_irqsave_nested(&ioc->lock, flags, 1); in ioc_release_fn() 111 spin_unlock_irqrestore(&ioc->lock, flags); in ioc_release_fn() 113 spin_lock_irqsave_nested(&ioc->lock, flags, 1); in ioc_release_fn() 117 spin_unlock_irqrestore(&ioc->lock, flags); in ioc_release_fn() 144 spin_lock_irqsave(&ioc->lock, flags); in put_io_context() 150 spin_unlock_irqrestore(&ioc->lock, flags); in put_io_context() 181 spin_lock_irqsave_nested(&ioc->lock, flags, 1); in put_io_context_active() 189 spin_unlock_irqrestore(&ioc->lock, flags); in put_io_context_active() 194 spin_unlock_irqrestore(&ioc->lock, flags); in put_io_context_active() [all …]
|
D | bsg.c | 37 spinlock_t lock; member 98 spin_lock_irqsave(&bd->lock, flags); in bsg_free_command() 100 spin_unlock_irqrestore(&bd->lock, flags); in bsg_free_command() 109 spin_lock_irq(&bd->lock); in bsg_alloc_command() 115 spin_unlock_irq(&bd->lock); in bsg_alloc_command() 119 spin_lock_irq(&bd->lock); in bsg_alloc_command() 130 spin_unlock_irq(&bd->lock); in bsg_alloc_command() 144 spin_lock_irq(&bd->lock); in bsg_io_schedule() 165 spin_unlock_irq(&bd->lock); in bsg_io_schedule() 171 spin_unlock_irq(&bd->lock); in bsg_io_schedule() [all …]
|
D | blk-cgroup.c | 222 spin_lock(&blkcg->lock); in blkg_create() 236 spin_unlock(&blkcg->lock); in blkg_create() 316 lockdep_assert_held(&blkcg->lock); in blkg_destroy() 373 spin_lock(&blkcg->lock); in blkg_destroy_all() 375 spin_unlock(&blkcg->lock); in blkg_destroy_all() 465 spin_lock_irq(&blkcg->lock); in blkcg_reset_stats() 482 spin_unlock_irq(&blkcg->lock); in blkcg_reset_stats() 798 spin_lock_irq(&blkcg->lock); in blkcg_css_offline() 809 spin_unlock_irq(&blkcg->lock); in blkcg_css_offline() 811 spin_lock_irq(&blkcg->lock); in blkcg_css_offline() [all …]
|
D | genhd.c | 477 int (*lock)(dev_t, void *), void *data) in blk_register_region() 479 kobj_map(bdev_map, devt, range, module, probe, lock, data); in blk_register_region() 1411 spinlock_t lock; member 1487 spin_lock_irqsave(&ev->lock, flags); in disk_block_events() 1489 spin_unlock_irqrestore(&ev->lock, flags); in disk_block_events() 1503 spin_lock_irqsave(&ev->lock, flags); in __disk_unblock_events() 1524 spin_unlock_irqrestore(&ev->lock, flags); in __disk_unblock_events() 1562 spin_lock_irq(&ev->lock); in disk_flush_events() 1567 spin_unlock_irq(&ev->lock); in disk_flush_events() 1603 spin_lock_irq(&ev->lock); in disk_clear_events() [all …]
|
D | blk-mq.c | 659 spin_lock(&ctx->lock); in flush_busy_ctxs() 661 spin_unlock(&ctx->lock); in flush_busy_ctxs() 698 spin_lock(&hctx->lock); in __blk_mq_run_hw_queue() 701 spin_unlock(&hctx->lock); in __blk_mq_run_hw_queue() 745 spin_lock(&hctx->lock); in __blk_mq_run_hw_queue() 747 spin_unlock(&hctx->lock); in __blk_mq_run_hw_queue() 928 spin_lock(&ctx->lock); in blk_mq_insert_request() 930 spin_unlock(&ctx->lock); in blk_mq_insert_request() 960 spin_lock(&ctx->lock); in blk_mq_insert_requests() 969 spin_unlock(&ctx->lock); in blk_mq_insert_requests() [all …]
|
D | blk-mq-sysfs.c | 170 spin_lock(&ctx->lock); in blk_mq_sysfs_rq_list_show() 172 spin_unlock(&ctx->lock); in blk_mq_sysfs_rq_list_show() 210 spin_lock(&hctx->lock); in blk_mq_hw_sysfs_rq_list_show() 212 spin_unlock(&hctx->lock); in blk_mq_hw_sysfs_rq_list_show()
|
D | blk-core.c | 487 spinlock_t *lock = q->queue_lock; in blk_cleanup_queue() local 492 spin_lock_irq(lock); in blk_cleanup_queue() 509 spin_unlock_irq(lock); in blk_cleanup_queue() 518 spin_lock_irq(lock); in blk_cleanup_queue() 520 spin_lock_irq(lock); in blk_cleanup_queue() 524 spin_unlock_irq(lock); in blk_cleanup_queue() 533 spin_lock_irq(lock); in blk_cleanup_queue() 536 spin_unlock_irq(lock); in blk_cleanup_queue() 682 struct request_queue *blk_init_queue(request_fn_proc *rfn, spinlock_t *lock) in blk_init_queue() argument 684 return blk_init_queue_node(rfn, lock, NUMA_NO_NODE); in blk_init_queue() [all …]
|
D | blk-mq.h | 8 spinlock_t lock; member
|
D | blk-cgroup.h | 47 spinlock_t lock; member
|
D | cfq-iosched.c | 1737 spin_lock_irq(&blkcg->lock); in __cfq_set_weight() 1759 spin_unlock_irq(&blkcg->lock); in __cfq_set_weight()
|