Function report |
Source Code:kernel\rcu\sync.c |
Create Date:2022-07-28 10:18:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_sync_enter() - Force readers onto slowpath*@rsp: Pointer to rcu_sync structure to use for synchronization* This function is used by updaters who need readers to make use of* a slowpath during the update
Proto:void rcu_sync_enter(struct rcu_sync *rsp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rcu_sync * | rsp |
| 125 | spin_lock_irq( & rss_lock) |
| 128 | WRITE_ONCE(gp_state, GP_ENTER) |
| 129 | WARN_ON_ONCE(gp_count) |
| 141 | gp_count++ |
| 142 | spin_unlock_irq( & rss_lock) |
| 150 | rcu_sync_func( & cb_head) |
| 152 | Return |
| 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 |