函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_read_lock_held_common() - might we be in RCU-sched read-side critical section?*@ret: Best guess answer if lockdep cannot be relied on* Returns true if lockdep must be ignored, in which case *ret contains* the best guess described below

函数原型:static bool rcu_read_lock_held_common(bool *ret)

返回类型:bool

参数:

类型参数名称
bool *ret
101  如果非debug_lockdep_rcu_enabled()则
102  ret等于1
103  返回:true
105  如果非_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections
106  ret等于0
107  返回:true
109  如果非rcu_lockdep_current_cpu_online()则
110  ret等于0
111  返回:true
113  返回:false
调用者
名称描述
rcu_read_lock_sched_held
rcu_read_lock_held_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section
rcu_read_lock_bh_held_read_lock_bh_held() - might we be in RCU-bh read-side critical section?* Check for bottom half being disabled, which covers both the* CONFIG_PROVE_RCU and not cases
rcu_read_lock_any_held