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:Find a running poll command that matches one specified in sqe->addr,* and remove it if found.

Proto:static int io_poll_remove(struct io_kiocb *req)

Type:int

Parameter:

TypeParameterName
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  If ret < 0 Then req_set_fail_links(req)
2576  io_put_req(req)
2577  Return 0
Caller
NameDescribe
io_issue_sqe