函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Find a running poll command that matches one specified in sqe->addr,* and remove it if found.

函数原型:static int io_poll_remove(struct io_kiocb *req)

返回类型:int

参数:

类型参数名称
struct io_kiocb *req
2564  ctx等于ctx
2568  addr等于addr
2569  spin_lock_irq( & completion_lock)
2570  ret等于io_poll_cancel(ctx, addr)
2571  spin_unlock_irq( & completion_lock)
2573  io_cqring_add_event(req, ret)
2574  如果ret小于0则req_set_fail_links(req)
2576  io_put_req(req)
2577  返回:0
调用者
名称描述
io_issue_sqe