Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_link_cancel_timeout

Proto:static bool io_link_cancel_timeout(struct io_kiocb *req)

Type:bool

Parameter:

TypeParameterName
struct io_kiocb *req
968  ctx = ctx
971  ret = hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped
972  If ret != -1 Then
973  io_cqring_fill_event(req, - ECANCELED)
974  io_commit_cqring(ctx)
975  flags &= ~linked sqes
976  io_put_req(req)
977  Return true
980  Return false
Caller
NameDescribe
io_req_link_next
io_fail_linksCalled if REQ_F_LINK is set, and we fail the head request