Function report |
Source Code:kernel\rcu\rcu_segcblist.c |
Create Date:2022-07-28 10:29:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Entrain the specified callback onto the specified rcu_segcblist at* the end of the last non-empty segment. If the entire rcu_segcblist* is empty, make no change, but return false.* This is intended for use by rcu_barrier()-like primitives, -not-
Proto:bool rcu_segcblist_entrain(struct rcu_segcblist *rsclp, struct callback_head *rhp, bool lazy)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rcu_segcblist * | rsclp | |
| struct callback_head * | rhp | |
| bool | lazy |
| 282 | If Return number of callbacks in segmented callback list. == 0 Then Return false |
| 287 | smp_mb() |
| 288 | next = NULL |
| 291 | Break |
| 292 | WRITE_ONCE( * tails[i], rhp) |
| 293 | When i <= RCU_NEXT_TAIL cycle WRITE_ONCE(tails[i], & next) |
| 295 | Return true |
| Name | Describe |
|---|---|
| rcu_barrier_func | Called with preemption disabled, and from cross-cpu IRQ context. |
| srcu_barrier | srcu_barrier - Wait until all in-flight call_srcu() callbacks complete.*@ssp: srcu_struct on which to wait for in-flight callbacks. |
| 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 |