函数逻辑报告

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

返回类型:long

参数:

类型参数名称
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  返回:timeout
调用者
名称描述
wait_for_common
wait_for_common_io