Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_wake_function

Proto:static int io_wake_function(struct wait_queue_entry *curr, unsigned int mode, int wake_flags, void *key)

Type:int

Parameter:

TypeParameterName
struct wait_queue_entry *curr
unsigned intmode
intwake_flags
void *key
4008  iowq = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(curr, structio_wait_queue, wq)
4012  If Not io_should_wake(iowq, true) Then Return -1
4015  Return autoremove_wake_function(curr, mode, wake_flags, key)