Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wait_for_common_io

Proto:static long __sched wait_for_common_io(struct completion *x, long timeout, int state)

Type:long

Parameter:

TypeParameterName
struct completion *x
longtimeout
intstate
121  Return __wait_for_common(x, This task is about to go to sleep on IO. Increment rq->nr_iowait so* that process accounting knows that this is a task in IO wait state., timeout, state)
Caller
NameDescribe
wait_for_completion_iowait_for_completion_io: - waits for completion of a task*@x: holds the state of this particular completion* This waits to be signaled for completion of a specific task. It is NOT* interruptible and there is no timeout. The caller is accounted as waiting
wait_for_completion_io_timeoutwait_for_completion_io_timeout: - waits for completion of a task (w/timeout)*@x: holds the state of this particular completion*@timeout: timeout value in jiffies* This waits for either a completion of a specific task to be signaled or for a