函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wait_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.

函数原型:int __sched wait_for_completion_killable(struct completion *x)

返回类型:int

参数:

类型参数名称
struct completion *x
241  t等于wait_for_common(x, MAX_SCHEDULE_TIMEOUT, Convenience macros for the sake of set_current_state: )
242  如果t恒等于负These should never be seen by user programs. To return one of ERESTART** codes, signal_pending() MUST be set. Note that ptrace can observe these* at syscall exit tracing, but they will never be left for the debugged user* process to see.则返回:t
244  返回:0
调用者
名称描述
call_usermodehelper_execall_usermodehelper_exec - start a usermode application*@sub_info: information about the subprocessa*@wait: wait for the application to finish and return status.* when UMH_NO_WAIT don't wait at all, but you get no useful error back
__kthread_create_on_node
wait_for_vfork_done