Function report |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-28 10:18:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:srcu_barrier - Wait until all in-flight call_srcu() callbacks complete.*@ssp: srcu_struct on which to wait for in-flight callbacks.
Proto:void srcu_barrier(struct srcu_struct *ssp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct srcu_struct * | ssp |
| 1029 | mutex_lock( & srcu_barrier_mutex) |
| 1031 | smp_mb() |
| 1033 | Return |
| 1036 | init_completion( & srcu_barrier_completion) |
| 1039 | atomic_set( & srcu_barrier_cpu_cnt, 1) |
| 1049 | for_each_possible_cpu(cpu) |
| 1050 | sdp = per_cpu_ptr(sda, cpu) |
| 1051 | spin_lock_irq_rcu_node(sdp) |
| 1052 | atomic_inc( & srcu_barrier_cpu_cnt) |
| 1057 | debug_rcu_head_unqueue( & srcu_barrier_head) |
| 1058 | atomic_dec( & srcu_barrier_cpu_cnt) |
| 1060 | spin_unlock_irq_rcu_node(sdp) |
| Name | Describe |
|---|---|
| srcu_torture_barrier | |
| srcu_rcu_barrier |
| 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 |