Function report |
Source Code:kernel\smp.c |
Create Date:2022-07-28 10:56:04 |
| Last Modify:2020-03-17 15:12:54 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_each_cpu_cond(): Call a function on each processor for which* the supplied function cond_func returns true, optionally waiting* for all the required CPUs to finish
Proto:void on_each_cpu_cond_mask(bool (*cond_func)(int cpu, void *info), smp_call_func_t func, void *info, bool wait, gfp_t gfp_flags, const struct cpumask *mask)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| bool (* | cond_func | |
| smp_call_func_t | func | |
| void * | info | |
| bool | wait | |
| gfp_t | gfp_flags | |
| const struct cpumask * | mask |
| 700 | Else |
| 706 | for_each_cpu(cpu, mask) |
| 710 | WARN_ON_ONCE(ret) |
| 712 | preempt_enable() |
| Name | Describe |
|---|---|
| on_each_cpu_cond |
| 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 |