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:Returns approximate total of the readers' ->srcu_unlock_count[] values* for the rank of per-CPU counters specified by idx.
Proto:static unsigned long srcu_readers_unlock_idx(struct srcu_struct *ssp, int idx)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct srcu_struct * | ssp | |
| int | idx |
| 267 | sum = 0 |
| 269 | for_each_possible_cpu(cpu) |
| 270 | cpuc = per_cpu_ptr(sda, cpu) |
| 272 | sum += READ_ONCE(srcu_unlock_count[idx]) |
| 274 | Return sum |
| Name | Describe |
|---|---|
| srcu_readers_active_idx_check | Return true if the number of pre-existing readers is determined to* be zero. |
| 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 |