Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__io_queue_sqe

Proto:static void __io_queue_sqe(struct io_kiocb *req, const struct io_uring_sqe *sqe)

Type:void

Parameter:

TypeParameterName
struct io_kiocb *req
const struct io_uring_sqe *sqe
3538  struct io_kiocb * nxt = NULL
3541  again :
3542  linked_timeout = io_prep_linked_timeout(req)
3544  ret = io_issue_sqe(req, sqe, & nxt, true)
3550  If ret == -EAGAIN && ( Not (flags & must not punt to workers ) || flags & must be punted even for NONBLOCK ) Then
3552  If flags & IO_WQ_WORK_NEEDS_FILES Then
3553  ret = io_grab_files(req)
3554  If ret Then Go to err
3562  io_queue_async_work(req)
3563  Go to done_req
3566  err :
3568  io_put_req(req)
3570  If linked_timeout Then
3571  If Not ret Then io_queue_linked_timeout(linked_timeout)
3573  Else io_put_req(linked_timeout)
3578  If ret Then
3579  io_cqring_add_event(req, ret)
3580  req_set_fail_links(req)
3581  io_put_req(req)
3583  done_req :
3584  If nxt Then
3585  req = nxt
3586  nxt = NULL
3587  Go to again
Caller
NameDescribe
io_queue_sqe