函数逻辑报告

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

函数名称:io_poll_cancel

函数原型:static int io_poll_cancel(struct io_ring_ctx *ctx, __u64 sqe_addr)

返回类型:int

参数:

类型参数名称
struct io_ring_ctx *ctx
__u64sqe_addr
2534  list等于cancel_hash[hash_long(sqe_addr, cancel_hash_bits)]
2536  如果sqe_addr恒等于user_data
2537  io_poll_remove_one(req)
2538  返回:0
2542  返回:负ENOENT
调用者
名称描述
io_poll_removeFind a running poll command that matches one specified in sqe->addr,* and remove it if found.
io_async_find_and_cancel