函数逻辑报告 |
Source Code:kernel\smp.c |
Create Date:2022-07-27 11:56:03 |
Last Modify:2020-03-17 15:12:54 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Insert a previously allocated call_single_data_t element* for execution on the given CPU. data must already have* ->func, ->info, and ->flags set.
函数原型:static int generic_exec_single(int cpu, call_single_data_t *csd, smp_call_func_t func, void *info)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | cpu | |
call_single_data_t * | csd | |
smp_call_func_t | func | |
void * | info |
160 | 如果cpu大于等于nr_cpu_ids或非cpu_online(cpu)则 |
161 | csd_unlock(csd) |
162 | 返回:负ENXIO |
182 | 返回:0 |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |