Home
last modified time | relevance | path

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

/openbmc/linux/io_uring/
H A 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()
140 mutex_lock(&ctx->uring_lock); in __io_uring_add_tctx_node()
142 mutex_unlock(&ctx->uring_lock); in __io_uring_add_tctx_node()
180 mutex_lock(&node->ctx->uring_lock); in io_uring_del_tctx_node()
182 mutex_unlock(&node->ctx->uring_lock); in io_uring_del_tctx_node()
275 mutex_unlock(&ctx->uring_lock); in io_ringfd_register()
277 mutex_lock(&ctx->uring_lock); in io_ringfd_register()
H A Dio_uring.c260 mutex_lock(&ctx->uring_lock); in io_fallback_req_func()
266 mutex_unlock(&ctx->uring_lock); in io_fallback_req_func()
324 mutex_init(&ctx->uring_lock); in io_ring_ctx_alloc()
674 lockdep_assert_held(&ctx->uring_lock); in io_cqring_overflow_kill()
692 lockdep_assert_held(&ctx->uring_lock); in __io_cqring_overflow_flush()
722 mutex_unlock(&ctx->uring_lock); in __io_cqring_overflow_flush()
724 mutex_lock(&ctx->uring_lock); in __io_cqring_overflow_flush()
738 mutex_lock(&ctx->uring_lock); in io_cqring_do_overflow_flush()
740 mutex_unlock(&ctx->uring_lock); in io_cqring_do_overflow_flush()
910 __must_hold(&ctx->uring_lock) in __io_flush_post_cqes()
[all …]
H A Dio_uring.h103 lockdep_assert_held(&ctx->uring_lock); in io_lockdep_assert_cq_locked()
211 lockdep_assert_held(&ctx->uring_lock); in io_ring_submit_unlock()
213 mutex_unlock(&ctx->uring_lock); in io_ring_submit_unlock()
226 mutex_lock(&ctx->uring_lock); in io_ring_submit_lock()
227 lockdep_assert_held(&ctx->uring_lock); in io_ring_submit_lock()
319 mutex_lock(&ctx->uring_lock); in io_tw_lock()
330 __must_hold(&req->ctx->uring_lock) in io_req_complete_defer()
334 lockdep_assert_held(&req->ctx->uring_lock); in io_req_complete_defer()
H A Dmsg_ring.c38 mutex_unlock(&octx->uring_lock); in io_double_unlock_ctx()
50 if (!mutex_trylock(&octx->uring_lock)) in io_double_lock_ctx()
54 mutex_lock(&octx->uring_lock); in io_double_lock_ctx()
114 mutex_lock(&target_ctx->uring_lock); in io_msg_tw_complete()
118 mutex_unlock(&target_ctx->uring_lock); in io_msg_tw_complete()
H A Dcancel.c258 __must_hold(&ctx->uring_lock) in io_sync_cancel()
320 mutex_unlock(&ctx->uring_lock); in io_sync_cancel()
332 mutex_lock(&ctx->uring_lock); in io_sync_cancel()
336 mutex_lock(&ctx->uring_lock); in io_sync_cancel()
H A Drsrc.h87 lockdep_assert_held(&ctx->uring_lock); in io_put_rsrc_node()
112 lockdep_assert_held(&ctx->uring_lock); in io_req_set_rsrc_node()
H A Dkbuf.c48 lockdep_assert_held(&ctx->uring_lock); in io_buffer_get_list()
119 lockdep_assert_held(&req->ctx->uring_lock); in __io_put_kbuf()
262 lockdep_assert_held(&ctx->uring_lock); in __io_remove_buffers()
614 lockdep_assert_held(&ctx->uring_lock); in io_register_pbuf_ring()
673 lockdep_assert_held(&ctx->uring_lock); in io_unregister_pbuf_ring()
H A Dnotif.h31 __must_hold(&notif->ctx->uring_lock) in io_notif_flush()
H A Dfdinfo.c143 has_lock = mutex_trylock(&ctx->uring_lock); in io_uring_show_fdinfo()
199 mutex_unlock(&ctx->uring_lock); in io_uring_show_fdinfo()
H A Dnotif.c66 __must_hold(&ctx->uring_lock) in io_alloc_notif()
H A Drsrc.c177 __must_hold(&node->ctx->uring_lock) in io_rsrc_node_ref_zero()
249 mutex_unlock(&ctx->uring_lock); in io_rsrc_ref_quiesce()
254 mutex_lock(&ctx->uring_lock); in io_rsrc_ref_quiesce()
262 mutex_lock(&ctx->uring_lock); in io_rsrc_ref_quiesce()
480 lockdep_assert_held(&ctx->uring_lock); in __io_register_rsrc_update()
H A Dsqpoll.c184 mutex_lock(&ctx->uring_lock); in __io_sq_thread()
195 mutex_unlock(&ctx->uring_lock); in __io_sq_thread()
H A Dfiletable.c65 __must_hold(&req->ctx->uring_lock) in io_install_fixed_file()
H A Dpoll.c146 lockdep_assert_held(&req->ctx->uring_lock); in io_poll_req_insert_locked()
780 __must_hold(&ctx->uring_lock) in io_poll_remove_all()
/openbmc/linux/include/linux/
H A Dio_uring_types.h222 struct mutex uring_lock; member