Function report |
Source Code:kernel\padata.c |
Create Date:2022-07-28 13:47:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:padata_find_next - Find the next object that needs serialization
Proto:static struct padata_priv *padata_find_next(struct parallel_data *pd, bool remove_object)
Type:struct padata_priv
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct parallel_data * | pd | |
| bool | remove_object |
| 183 | next_queue = per_cpu_ptr(pqueue, cpu) |
| 188 | spin_unlock( & lock) |
| 189 | Return NULL |
| 199 | spin_unlock( & lock) |
| 200 | Return NULL |
| 203 | If remove_object Then |
| 205 | atomic_dec( & reorder_objects) |
| 206 | ++processed |
| 207 | cpu = cpumask_next_wrap(cpu, pcpu, - 1, false) |
| 210 | spin_unlock( & lock) |
| 211 | Return padata |
| Name | Describe |
|---|---|
| padata_reorder |
| 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 |