Searched refs:completion_lock (Results 1 – 11 of 11) sorted by relevance
110 spin_lock(&ctx->completion_lock); in io_eventfd_signal()113 spin_unlock(&ctx->completion_lock); in io_eventfd_signal()147 spin_lock(&ctx->completion_lock); in io_eventfd_register()149 spin_unlock(&ctx->completion_lock); in io_eventfd_register()
228 __must_hold(&req->ctx->completion_lock) in io_fail_links() 260 __must_hold(&req->ctx->completion_lock) in io_disarm_next() 289 __must_hold(&req->ctx->completion_lock) in __io_disarm_linked_timeout() 368 __must_hold(&ctx->completion_lock) in io_req_task_link_timeout() 584 spin_lock(&ctx->completion_lock); in __io_timeout_prep() 586 spin_unlock(&ctx->completion_lock); in __io_timeout_prep() 823 * completion_lock is needed for io_match_task(). Take it before826 spin_lock(&ctx->completion_lock);835 spin_unlock(&ctx->completion_lock);
278 spin_lock_init(&ctx->completion_lock); in io_ring_ctx_alloc() 544 spin_lock(&ctx->completion_lock); in __io_cqring_overflow_flush() 548 __acquires(ctx->completion_lock) in __io_cqring_overflow_flush() 550 spin_lock(&ctx->completion_lock); in __io_cqring_overflow_flush() 558 spin_unlock(&ctx->completion_lock); in __io_cqring_overflow_flush() 567 __releases(ctx->completion_lock) in __io_cqring_overflow_flush() 570 spin_unlock(&ctx->completion_lock); in __io_cqring_overflow_flush() 691 lockdep_assert_held(&ctx->completion_lock); in io_cqring_queued() 880 spin_lock(&ctx->completion_lock); in io_req_post_cqe() 882 spin_unlock(&ctx->completion_lock); in io_req_post_cqe() [all...]
152 lockdep_is_held(&ctx->completion_lock));233 lockdep_assert_held(&ctx->completion_lock); in io_lockdep_assert_cq_locked()
144 spin_lock(&ctx->completion_lock); in io_async_cancel_prep() 147 spin_unlock(&ctx->completion_lock); in io_async_cancel_prep()
602 spin_lock(&ctx->completion_lock); in io_register_resize_rings() 739 spin_unlock(&ctx->completion_lock); in io_register_mem_region()
160 spinlock_t completion_lock; member 507 /* Take completion_lock to prevent other writes to the ring buffer in aio_migrate_folio() 511 spin_lock_irqsave(&ctx->completion_lock, flags); in aio_migrate_folio() 516 spin_unlock_irqrestore(&ctx->completion_lock, flags); in aio_migrate_folio() 836 spin_lock_init(&ctx->completion_lock); in ioctx_alloc() 1046 * called holding ctx->completion_lock. in refill_reqs_available() 1079 spin_lock_irq(&ctx->completion_lock); in user_refill_reqs_available() 1089 * ctx->completion_lock. Even if head is invalid, the check in user_refill_reqs_available() 1099 spin_unlock_irq(&ctx->completion_lock);1194 * ctx->completion_lock t in aio_complete() [all...]
471 spinlock_t completion_lock;536 /* protected by ->completion_lock */467 spinlock_t completion_lock; global() member
74 1. Removed un-needed completion_lock spinlock calls.
2366 spinlock_t completion_lock; member
2305 spin_lock_irqsave(&instance->completion_lock, flags); in megasas_complete_cmd_dpc() 2330 spin_unlock_irqrestore(&instance->completion_lock, flags); in megasas_complete_cmd_dpc() 7449 spin_lock_init(&instance->completion_lock); in megasas_init_ctrl_params()