函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\completion.c Create Date:2022-07-27 10:41:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:wait_for_common

函数原型:static long __sched wait_for_common(struct completion *x, long timeout, int state)

返回类型:long

参数:

类型参数名称
struct completion *x
longtimeout
intstate
115  返回:__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)
调用者
名称描述
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