Function report |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-28 10:18:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Helper function for synchronize_srcu() and synchronize_srcu_expedited().
Proto:static void __synchronize_srcu(struct srcu_struct *ssp, bool do_norm)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct srcu_struct * | ssp | |
| bool | do_norm |
| 909 | RCU_LOCKDEP_WARN(lock_is_held( & dep_map) || lock_is_held( & rcu_bh_lock_map) || lock_is_held( & rcu_lock_map) || lock_is_held( & rcu_sched_lock_map), "Illegal synchronize_srcu() in same-type SRCU (or in RCU) read-side critical section") |
| 915 | If rcu_scheduler_active == RCU_SCHEDULER_INACTIVE Then Return |
| 917 | might_sleep() |
| 919 | init_completion( & completion) |
| 920 | init_rcu_head_on_stack( & head) |
| 923 | destroy_rcu_head_on_stack( & head) |
| 932 | smp_mb() |
| Name | Describe |
|---|---|
| synchronize_srcu_expedited | synchronize_srcu_expedited - Brute-force SRCU grace period*@ssp: srcu_struct with which to synchronize |
| synchronize_srcu | synchronize_srcu - wait for prior SRCU read-side critical-section completion*@ssp: srcu_struct with which to synchronize |
| 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 |