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 inline long __sched __wait_for_common(struct completion *x, long (*action)(long ), long timeout, int state)

Type:long

Parameter:

TypeParameterName
struct completion *x
long (*action
longtimeout
intstate
99  might_sleep()
101  complete_acquire(x)
103  spin_lock_irq( & lock)
104  timeout = do_wait_for_common(x, action, timeout, state)
105  spin_unlock_irq( & lock)
107  complete_release(x)
109  Return timeout
Caller
NameDescribe
wait_for_common
wait_for_common_io