Function report |
Source Code:kernel\rcu\update.c |
Create Date:2022-07-28 10:17:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_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
Proto:static bool rcu_read_lock_held_common(bool *ret)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| bool * | ret |
| 101 | If Not debug_lockdep_rcu_enabled() Then |
| 102 | ret = 1 |
| 103 | Return true |
| 106 | ret = 0 |
| 107 | Return true |
| 109 | If Not rcu_lockdep_current_cpu_online() Then |
| 110 | ret = 0 |
| 111 | Return true |
| 113 | Return false |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |