Lines Matching refs:uring_lock
347 struct mutex uring_lock; member
1135 mutex_lock(&ctx->uring_lock); in io_tw_lock()
1301 mutex_unlock(&ctx->uring_lock); in io_fallback_req_func()
1349 mutex_init(&ctx->uring_lock); in io_ring_ctx_alloc()
1729 mutex_lock(&ctx->uring_lock); in io_cqring_overflow_flush()
1732 mutex_unlock(&ctx->uring_lock); in io_cqring_overflow_flush()
1986 __must_hold(&ctx->uring_lock) in io_alloc_req()
2178 mutex_unlock(&ctx->uring_lock); in ctx_flush_and_put()
2215 locked = mutex_trylock(&ctx->uring_lock); in tctx_task_work()
2387 __must_hold(&ctx->uring_lock) in io_submit_flush_completions()
2605 mutex_lock(&ctx->uring_lock); in io_iopoll_try_reap_events()
2620 mutex_unlock(&ctx->uring_lock); in io_iopoll_try_reap_events()
2622 mutex_lock(&ctx->uring_lock); in io_iopoll_try_reap_events()
2625 mutex_unlock(&ctx->uring_lock); in io_iopoll_try_reap_events()
2639 mutex_lock(&ctx->uring_lock); in io_iopoll_check()
2663 mutex_unlock(&ctx->uring_lock); in io_iopoll_check()
2665 mutex_lock(&ctx->uring_lock); in io_iopoll_check()
2680 mutex_unlock(&ctx->uring_lock); in io_iopoll_check()
2861 mutex_lock(&ctx->uring_lock); in io_iopoll_req_issued()
2907 mutex_unlock(&ctx->uring_lock); in io_iopoll_req_issued()
3108 mutex_lock(&ctx->uring_lock); in kiocb_done()
3110 mutex_unlock(&ctx->uring_lock); in kiocb_done()
3186 mutex_unlock(&ctx->uring_lock); in io_ring_submit_unlock()
3198 mutex_lock(&ctx->uring_lock); in io_ring_submit_lock()
3212 lockdep_assert_held(&req->ctx->uring_lock); in io_buffer_select()
4502 lockdep_assert_held(&ctx->uring_lock); in io_remove_buffers()
4590 lockdep_assert_held(&ctx->uring_lock); in io_provide_buffers()
7241 __must_hold(&req->ctx->uring_lock) in __io_queue_sqe()
7292 __must_hold(&req->ctx->uring_lock) in io_queue_sqe()
7339 __must_hold(&ctx->uring_lock) in io_init_req()
7402 __must_hold(&ctx->uring_lock) in io_submit_sqe()
7555 __must_hold(&ctx->uring_lock) in io_submit_sqes()
7641 mutex_lock(&ctx->uring_lock); in __io_sq_thread()
7652 mutex_unlock(&ctx->uring_lock); in __io_sq_thread()
8066 mutex_unlock(&ctx->uring_lock); in io_rsrc_ref_quiesce()
8070 mutex_lock(&ctx->uring_lock); in io_rsrc_ref_quiesce()
8076 mutex_unlock(&ctx->uring_lock); in io_rsrc_ref_quiesce()
8088 mutex_lock(&ctx->uring_lock); in io_rsrc_ref_quiesce()
8818 mutex_lock(&ctx->uring_lock); in io_init_wq_offload()
8823 mutex_unlock(&ctx->uring_lock); in io_init_wq_offload()
8830 mutex_unlock(&ctx->uring_lock); in io_init_wq_offload()
9524 mutex_lock(&ctx->uring_lock); in io_req_caches_free()
9533 mutex_unlock(&ctx->uring_lock); in io_req_caches_free()
9550 mutex_lock(&ctx->uring_lock); in io_ring_ctx_free()
9557 mutex_unlock(&ctx->uring_lock); in io_ring_ctx_free()
9725 mutex_lock(&ctx->uring_lock); in io_ring_exit_work()
9738 mutex_unlock(&ctx->uring_lock); in io_ring_exit_work()
9745 mutex_lock(&ctx->uring_lock); in io_ring_exit_work()
9747 mutex_unlock(&ctx->uring_lock); in io_ring_exit_work()
9783 mutex_lock(&ctx->uring_lock); in io_ring_ctx_wait_and_kill()
9789 mutex_unlock(&ctx->uring_lock); in io_ring_ctx_wait_and_kill()
9865 mutex_lock(&ctx->uring_lock); in io_uring_try_cancel_iowq()
9878 mutex_unlock(&ctx->uring_lock); in io_uring_try_cancel_iowq()
9962 mutex_lock(&ctx->uring_lock); in __io_uring_add_tctx_node()
9964 mutex_unlock(&ctx->uring_lock); in __io_uring_add_tctx_node()
9999 mutex_lock(&node->ctx->uring_lock); in io_uring_del_tctx_node()
10001 mutex_unlock(&node->ctx->uring_lock); in io_uring_del_tctx_node()
10286 mutex_lock(&ctx->uring_lock); in SYSCALL_DEFINE6()
10288 mutex_unlock(&ctx->uring_lock); in SYSCALL_DEFINE6()
10369 has_lock = mutex_trylock(&ctx->uring_lock); in __io_uring_show_fdinfo()
10421 mutex_unlock(&ctx->uring_lock); in __io_uring_show_fdinfo()
10961 __must_hold(&ctx->uring_lock) in io_register_iowq_max_workers()
10984 mutex_unlock(&ctx->uring_lock); in io_register_iowq_max_workers()
10986 mutex_lock(&ctx->uring_lock); in io_register_iowq_max_workers()
11080 mutex_unlock(&ctx->uring_lock); in io_ctx_quiesce()
11087 mutex_lock(&ctx->uring_lock); in io_ctx_quiesce()
11096 __releases(ctx->uring_lock) in __io_uring_register()
11097 __acquires(ctx->uring_lock) in __io_uring_register()
11256 mutex_lock(&ctx->uring_lock); in SYSCALL_DEFINE4()
11258 mutex_unlock(&ctx->uring_lock); in SYSCALL_DEFINE4()