Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mpletion_done - Test to see if a completion has any waiters*@x: completion structure* Return: 0 if there are waiters (wait_for_completion() in progress)* 1 if there are no waiters.* Note, this will always return true if complete_all() was called on @X.

Proto:bool completion_done(struct completion *x)

Type:bool

Parameter:

TypeParameterName
struct completion *x
317  If Not READ_ONCE(done) Then Return false
325  spin_lock_irqsave( & lock, flags)
326  spin_unlock_irqrestore( & lock, flags)
327  Return true
Caller
NameDescribe
__test_mutex
stop_machine_from_inactive_cpustop_machine_from_inactive_cpu - stop_machine() from inactive CPU*@fn: the function to run*@data: the data ptr for the @fn()*@cpus: the cpus to run the @fn() on (NULL = any online cpu)* This is identical to stop_machine() but can be called from a CPU which