Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_req_link_next

Proto:static void io_req_link_next(struct io_kiocb *req, struct io_kiocb **nxtptr)

Type:void

Parameter:

TypeParameterName
struct io_kiocb *req
struct io_kiocb **nxtptr
985  ctx = ctx
986  bool wake_ev = false
989  If flags & already grabbed next link Then Return
997  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
998  nxt = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & link_list, structio_kiocb, link_list)
1006  Continue
1009  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
1010  If Not list_empty - tests whether a list is empty*@head: the list to test. Then flags |= linked sqes
1012  nxtptr = nxt
1013  Break
1016  flags |= already grabbed next link
1017  If wake_ev Then io_cqring_ev_posted(ctx)
Caller
NameDescribe
io_req_find_next