Lines Matching refs:completion_lock

317 	spin_lock_init(&ctx->completion_lock);  in io_ring_ctx_alloc()
551 spin_lock(&ctx->completion_lock); in io_eventfd_flush_signal()
563 spin_unlock(&ctx->completion_lock); in io_eventfd_flush_signal()
573 spin_lock(&ctx->completion_lock); in __io_commit_cqring_flush()
578 spin_unlock(&ctx->completion_lock); in __io_commit_cqring_flush()
591 __releases(ctx->completion_lock) in __io_cq_unlock_post()
594 spin_unlock(&ctx->completion_lock); in __io_cq_unlock_post()
897 spin_lock(&ctx->completion_lock); in io_flush_cached_locked_reqs()
900 spin_unlock(&ctx->completion_lock); in io_flush_cached_locked_reqs()
968 spin_lock(&ctx->completion_lock); in io_free_req()
971 spin_unlock(&ctx->completion_lock); in io_free_req()
1627 spin_lock(&ctx->completion_lock); in io_drain_req()
1629 spin_unlock(&ctx->completion_lock); in io_drain_req()
1635 spin_unlock(&ctx->completion_lock); in io_drain_req()
1645 spin_lock(&ctx->completion_lock); in io_drain_req()
1647 spin_unlock(&ctx->completion_lock); in io_drain_req()
1656 spin_unlock(&ctx->completion_lock); in io_drain_req()
1662 spin_lock(&req->ctx->completion_lock); in io_clean_op()
1664 spin_unlock(&req->ctx->completion_lock); in io_clean_op()
2517 spin_lock(&ctx->completion_lock); in io_eventfd_register()
2519 spin_unlock(&ctx->completion_lock); in io_eventfd_register()
2773 spin_lock(&ctx->completion_lock); in io_ring_exit_work()
2774 spin_unlock(&ctx->completion_lock); in io_ring_exit_work()
2840 spin_lock(&ctx->completion_lock); in io_cancel_defer_files()
2847 spin_unlock(&ctx->completion_lock); in io_cancel_defer_files()