Function report |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-28 10:18:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Wait until all readers counted by array index idx complete, but* loop an additional time if there is an expedited grace period pending.* The caller must ensure that ->srcu_idx is not changed while checking.
Proto:static bool try_check_zero(struct srcu_struct *ssp, int idx, int trycount)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct srcu_struct * | ssp | |
| int | idx | |
| int | trycount |
| 700 | cycle |
| 701 | If Return true if the number of pre-existing readers is determined to* be zero. Then Return true |
| 703 | If --trycount + Not Return grace-period delay, zero if there are expedited grace* periods pending, SRCU_INTERVAL otherwise. <= 0 Then Return false |
| Name | Describe |
|---|---|
| srcu_advance_state | Core SRCU state machine. Push state bits of ->srcu_gp_seq* to SRCU_STATE_SCAN2, and invoke srcu_gp_end() when scan has* completed in that state. |
| 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 |