Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_poll_cancel

Proto:static int io_poll_cancel(struct io_ring_ctx *ctx, __u64 sqe_addr)

Type:int

Parameter:

TypeParameterName
struct io_ring_ctx *ctx
__u64sqe_addr
2534  list = cancel_hash[hash_long(sqe_addr, cancel_hash_bits)]
2536  If sqe_addr == user_data Then
2537  io_poll_remove_one(req)
2538  Return 0
2542  Return -ENOENT
Caller
NameDescribe
io_poll_removeFind a running poll command that matches one specified in sqe->addr,* and remove it if found.
io_async_find_and_cancel