Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_async_cancel_one

Proto:static int io_async_cancel_one(struct io_ring_ctx *ctx, void *sqe_addr)

Type:int

Parameter:

TypeParameterName
struct io_ring_ctx *ctx
void *sqe_addr
3021  ret = 0
3023  cancel_ret = io_wq_cancel_cb( IO offload , io_cancel_cb, sqe_addr)
3025  Case cancel_ret == cancelled before started
3026  ret = 0
3027  Break
3028  Case cancel_ret == found, running, and attempted cancelled
3029  ret = -EALREADY
3030  Break
3031  Case cancel_ret == work not found
3032  ret = -ENOENT
3033  Break
3036  Return ret
Caller
NameDescribe
io_async_find_and_cancel