Searched refs:uring_lock (Results 1 – 14 of 14) sorted by relevance
45 mutex_unlock(&ctx->uring_lock); in io_double_unlock_ctx()46 mutex_unlock(&octx->uring_lock); in io_double_unlock_ctx()59 if (!mutex_trylock(&octx->uring_lock)) in io_double_lock_ctx()66 mutex_lock(&ctx->uring_lock); in io_double_lock_ctx()67 mutex_lock(&octx->uring_lock); in io_double_lock_ctx()69 mutex_lock(&octx->uring_lock); in io_double_lock_ctx()70 mutex_lock(&ctx->uring_lock); in io_double_lock_ctx()
22 mutex_lock(&ctx->uring_lock); in io_init_wq_offload()27 mutex_unlock(&ctx->uring_lock); in io_init_wq_offload()34 mutex_unlock(&ctx->uring_lock); in io_init_wq_offload()129 mutex_lock(&ctx->uring_lock); in __io_uring_add_tctx_node()131 mutex_unlock(&ctx->uring_lock); in __io_uring_add_tctx_node()169 mutex_lock(&node->ctx->uring_lock); in io_uring_del_tctx_node()171 mutex_unlock(&node->ctx->uring_lock); in io_uring_del_tctx_node()255 mutex_unlock(&ctx->uring_lock); in io_ringfd_register()257 mutex_lock(&ctx->uring_lock); in io_ringfd_register()
181 lockdep_assert_held(&ctx->uring_lock); in io_ring_submit_unlock()183 mutex_unlock(&ctx->uring_lock); in io_ring_submit_unlock()196 mutex_lock(&ctx->uring_lock); in io_ring_submit_lock()197 lockdep_assert_held(&ctx->uring_lock); in io_ring_submit_lock()295 mutex_lock(&ctx->uring_lock); in io_run_local_work_locked()302 mutex_lock(&ctx->uring_lock); in io_tw_lock()313 __must_hold(&req->ctx->uring_lock) in io_req_complete_defer()317 lockdep_assert_held(&req->ctx->uring_lock); in io_req_complete_defer()
254 mutex_unlock(&ctx->uring_lock); in io_fallback_req_func()315 mutex_init(&ctx->uring_lock); in io_ring_ctx_alloc()650 mutex_lock(&ctx->uring_lock); in io_cqring_overflow_flush()653 mutex_unlock(&ctx->uring_lock); in io_cqring_overflow_flush()918 __must_hold(&ctx->uring_lock) in __io_alloc_req_refill()1016 mutex_unlock(&ctx->uring_lock); in ctx_flush_and_put()1039 *locked = mutex_trylock(&(*ctx)->uring_lock); in handle_tw_list()1232 locked = mutex_trylock(&ctx->uring_lock); in io_run_local_work()1235 mutex_unlock(&ctx->uring_lock); in io_run_local_work()1291 __must_hold(&ctx->uring_lock) in io_free_batch_list()[all …]
38 __must_hold(&ctx->uring_lock) in io_alloc_notif()63 __must_hold(&slot->notif->ctx->uring_lock) in io_notif_flush()
234 __must_hold(&ctx->uring_lock) in io_sync_cancel()294 mutex_unlock(&ctx->uring_lock); in io_sync_cancel()297 mutex_lock(&ctx->uring_lock); in io_sync_cancel()301 mutex_lock(&ctx->uring_lock); in io_sync_cancel()
122 __must_hold(&ctx->uring_lock) in io_req_put_rsrc_locked()149 lockdep_assert_held(&ctx->uring_lock); in io_req_set_rsrc_node()
37 __must_hold(&ctx->uring_lock) in io_rsrc_refs_drop()155 __must_hold(&ctx->uring_lock) in io_rsrc_refs_refill()172 mutex_lock(&ctx->uring_lock); in __io_rsrc_put_work()174 mutex_unlock(&ctx->uring_lock); in __io_rsrc_put_work()270 __must_hold(&ctx->uring_lock) in io_rsrc_node_switch()323 mutex_unlock(&ctx->uring_lock); in io_rsrc_ref_quiesce()327 mutex_lock(&ctx->uring_lock); in io_rsrc_ref_quiesce()333 mutex_unlock(&ctx->uring_lock); in io_rsrc_ref_quiesce()345 mutex_lock(&ctx->uring_lock); in io_rsrc_ref_quiesce()
139 has_lock = mutex_trylock(&ctx->uring_lock); in __io_uring_show_fdinfo()174 mutex_unlock(&ctx->uring_lock); in __io_uring_show_fdinfo()
183 mutex_lock(&ctx->uring_lock); in __io_sq_thread()194 mutex_unlock(&ctx->uring_lock); in __io_sq_thread()
62 __must_hold(&req->ctx->uring_lock) in io_install_fixed_file()
143 lockdep_assert_held(&req->ctx->uring_lock); in io_poll_req_insert_locked()745 __must_hold(&ctx->uring_lock) in io_poll_remove_all()
103 lockdep_assert_held(&req->ctx->uring_lock); in __io_put_kbuf()
213 struct mutex uring_lock; member