Home
last modified time | relevance | path

Searched refs:uring_lock (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/io_uring/
Dmsg_ring.c45 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()
Dtctx.c22 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()
Dio_uring.h181 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()
Dio_uring.c254 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 …]
Dnotif.c38 __must_hold(&ctx->uring_lock) in io_alloc_notif()
63 __must_hold(&slot->notif->ctx->uring_lock) in io_notif_flush()
Dcancel.c234 __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()
Drsrc.h122 __must_hold(&ctx->uring_lock) in io_req_put_rsrc_locked()
149 lockdep_assert_held(&ctx->uring_lock); in io_req_set_rsrc_node()
Drsrc.c37 __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()
Dfdinfo.c139 has_lock = mutex_trylock(&ctx->uring_lock); in __io_uring_show_fdinfo()
174 mutex_unlock(&ctx->uring_lock); in __io_uring_show_fdinfo()
Dsqpoll.c183 mutex_lock(&ctx->uring_lock); in __io_sq_thread()
194 mutex_unlock(&ctx->uring_lock); in __io_sq_thread()
Dfiletable.c62 __must_hold(&req->ctx->uring_lock) in io_install_fixed_file()
Dpoll.c143 lockdep_assert_held(&req->ctx->uring_lock); in io_poll_req_insert_locked()
745 __must_hold(&ctx->uring_lock) in io_poll_remove_all()
Dkbuf.c103 lockdep_assert_held(&req->ctx->uring_lock); in __io_put_kbuf()
/Linux-v6.1/include/linux/
Dio_uring_types.h213 struct mutex uring_lock; member