函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-29 10:54:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_cqring_add_event

函数原型:static void io_cqring_add_event(struct io_kiocb *req, long res)

返回类型:void

参数:

类型参数名称
struct io_kiocb *req
longres
847  ctx等于ctx
850  spin_lock_irqsave( & completion_lock, flags)
851  io_cqring_fill_event(req, res)
852  io_commit_cqring(ctx)
853  spin_unlock_irqrestore( & completion_lock, flags)
855  io_cqring_ev_posted(ctx)
调用者
名称描述
io_complete_rw_common
io_nopIORING_OP_NOP just posts a completion event, nothing else.
io_req_cancelled
io_fsync_finish
io_sync_file_range_finish
io_sendmsg
io_recvmsg
__io_accept
io_connect
io_poll_removeFind a running poll command that matches one specified in sqe->addr,* and remove it if found.
io_wq_submit_work
io_link_timeout_fn
__io_queue_sqe
io_queue_sqe
io_queue_link_head
io_submit_sqe