函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:debug_lockdep_rcu_enabled

函数原型:int notrace debug_lockdep_rcu_enabled(void)

返回类型:int

参数:

251  返回:rcu_scheduler_active不等于RCU_SCHEDULER_INACTIVEWe want to turn all lock-debugging facilities on/off at once,* via a global flag. The reason is that once a single bug has been* detected and reported, there might be cascade of followup bugs* that would just muddy the log. So we report the first one andlockdep_recursion恒等于0
调用者
名称描述
rcu_read_lock_held_common_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
srcu_read_lock_heldsrcu_read_lock_held - might we be in SRCU read-side critical section?*@ssp: The srcu_struct structure to check* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an SRCU* read-side critical section