Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_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

Proto:int rcu_read_lock_bh_held(void)

Type:int

Parameter:Nothing

306  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
308  Return in_softirq() || Some architectures don't define arch_irqs_disabled(), so even if either* definition would be fine we need to use different ones for the time being* to avoid build issues.()
Caller
NameDescribe
rcu_torture_one_readDo one read-side critical section, returning false if there was* no data to read. Can be invoked both from process context and* from a timer handler.