Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:int __sched wait_for_completion_killable(struct completion *x)

Type:int

Parameter:

TypeParameterName
struct completion *x
241  t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, Convenience macros for the sake of set_current_state: )
242  If 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. Then Return t
244  Return 0
Caller
NameDescribe
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