Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\update.c Create Date:2022-07-28 10:17:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:debug_lockdep_rcu_enabled

Proto:int notrace debug_lockdep_rcu_enabled(void)

Type:int

Parameter:Nothing

251  Return rcu_scheduler_active != RCU_SCHEDULER_INACTIVE && We 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 and && lockdep_recursion == 0
Caller
NameDescribe
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