| Function report | 
| Source Code: kernel\smp.c | Create Date:2022-07-28 10:56:08 | 
| Last Modify:2020-03-17 15:12:54 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:smp_call_on_cpu
Proto:int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | cpu | |
| int (* | func | |
| void * | par | |
| bool | phys | 
| 802 | struct smp_call_on_cpu_struct sscs = {done = COMPLETION_INITIALIZER_ONSTACK(done), func = func, data = par, cpu = phys ? cpu : - 1, } | 
| 811 | If cpu >= Setup number of possible processor ids || Not cpu_online(cpu) Then Return -ENXIO | 
| 817 | Return ret | 
| 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 |