Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rcu_read_lock_any_held

Proto:int rcu_read_lock_any_held(void)

Type:int

Parameter:Nothing

316  If _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 Then Return ret
318  If lock_is_held( & rcu_lock_map) || lock_is_held( & rcu_bh_lock_map) || lock_is_held( & rcu_sched_lock_map) Then Return 1
322  Return Not preemptible()