Function report |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-28 10:18:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return true if the number of pre-existing readers is determined to* be zero.
Proto:static bool srcu_readers_active_idx_check(struct srcu_struct *ssp, int idx)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct srcu_struct * | ssp | |
| int | idx |
| 285 | unlocks = Returns approximate total of the readers' ->srcu_unlock_count[] values* for the rank of per-CPU counters specified by idx. |
| 298 | smp_mb() |
| 321 | Return Returns approximate total of the readers' ->srcu_lock_count[] values* for the rank of per-CPU counters specified by idx. == unlocks |
| Name | Describe |
|---|---|
| try_check_zero | 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. |
| 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 |