Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wait_for_common

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

Type:long

Parameter:

TypeParameterName
struct completion *x
longtimeout
intstate
115  Return __wait_for_common(x, schedule_timeout - sleep until timeout*@timeout: timeout value in jiffies* Make the current task sleep until @timeout jiffies have* elapsed, timeout, state)
Caller
NameDescribe
wait_for_completionwait_for_completion: - 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.* See also similar routines (i
wait_for_completion_timeoutwait_for_completion_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
wait_for_completion_interruptiblewait_for_completion_interruptible: - waits for completion of a task (w/intr)*@x: holds the state of this particular completion* This waits for completion of a specific task to be signaled. It is* interruptible.
wait_for_completion_interruptible_timeoutwait_for_completion_interruptible_timeout: - waits for completion (w/(to,intr))*@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
wait_for_completion_killablewait_for_completion_killable: - waits for completion of a task (killable)*@x: holds the state of this particular completion* This waits to be signaled for completion of a specific task. It can be* interrupted by a kill signal.
wait_for_completion_killable_timeoutwait_for_completion_killable_timeout: - waits for completion of a task (w/(to,killable))*@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