Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:schedule_on_each_cpu - execute a function synchronously on each online CPU*@func: the function to call* schedule_on_each_cpu() executes @func on each online CPU using the* system workqueue and blocks until all CPUs have completed.
Proto:int schedule_on_each_cpu(work_func_t func)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| work_func_t | func |
| 3280 | works = alloc_percpu(structwork_struct) |
| 3284 | get_online_cpus() |
| 3286 | for_each_online_cpu(cpu) |
| 3287 | work = per_cpu_ptr(works, cpu) |
| 3293 | for_each_online_cpu(cpu) |
| 3296 | put_online_cpus() |
| 3298 | Return 0 |
| Name | Describe |
|---|---|
| klp_synchronize_transition | We allow to patch also functions where RCU is not watching,* e |
| update_ftrace_function |
| 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 |