Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-28 20:22:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Remove or update an existing timeout command

Proto:static int io_timeout_remove(struct io_kiocb *req)

Type:int

Parameter:

TypeParameterName
struct io_kiocb *req
2884  ctx = ctx
2887  spin_lock_irq( & completion_lock)
2888  ret = io_timeout_cancel(ctx, addr)
2890  io_cqring_fill_event(req, ret)
2891  io_commit_cqring(ctx)
2892  spin_unlock_irq( & completion_lock)
2893  io_cqring_ev_posted(ctx)
2894  If ret < 0 Then req_set_fail_links(req)
2896  io_put_req(req)
2897  Return 0
Caller
NameDescribe
io_issue_sqe