函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_kill_timeout

函数原型:static void io_kill_timeout(struct io_kiocb *req)

返回类型:void

参数:

类型参数名称
struct io_kiocb *req
687  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
688  如果ret不等于负1则
689  atomic_inc( & cq_timeouts)
690  删除链表项并重新初始化
691  io_cqring_fill_event(req, 0)
692  io_put_req(req)
调用者
名称描述
io_kill_timeouts
io_commit_cqring