Function report | 
Source Code:kernel\smp.c | 
Create Date:2022-07-28 10:55:46 | 
| Last Modify:2020-03-17 15:12:54 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Insert a previously allocated call_single_data_t element* for execution on the given CPU. data must already have* ->func, ->info, and ->flags set.
Proto:static int generic_exec_single(int cpu, call_single_data_t *csd, smp_call_func_t func, void *info)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | cpu | |
| call_single_data_t * | csd | |
| smp_call_func_t | func | |
| void * | info | 
| 145 | If cpu == smp_processor_id() Then | 
| 160 | If cpu >= nr_cpu_ids || Not cpu_online(cpu) Then | 
| 161 | csd_unlock(csd) | 
| 162 | Return -ENXIO | 
| 182 | Return 0 | 
| Name | Describe | 
|---|---|
| smp_call_function_single | smp_call_function_single - Run a function on a specific CPU*@func: The function to run. This must be fast and non-blocking.*@info: An arbitrary pointer to pass to the function.*@wait: If true, wait until function has completed on other CPUs. | 
| smp_call_function_single_async | smp_call_function_single_async(): Run an asynchronous function on a* specific CPU.*@cpu: The CPU to run on.*@csd: Pre-allocated and setup data structure* Like smp_call_function_single(), but the call is asynchonous and | 
| 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  |