函数逻辑报告 |
Source Code:kernel\smpboot.c |
Create Date:2022-07-27 10:34:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__smpboot_create_thread
函数原型:static int __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct smp_hotplug_thread * | ht | |
| unsigned int | cpu |
| 173 | tsk等于per_cpu_ptr(store, cpu) |
| 176 | 如果tsk则返回:0 |
| 179 | td等于根据内存节点分配内存 |
| 187 | 如果是错误则 |
| 196 | get_task_struct(tsk) |
| 197 | per_cpu_ptr(store, cpu)等于tsk |
| 198 | 如果create则 |
| 205 | 如果非wait_task_inactive(tsk, Used in tsk->state again: )则WARN_ON(1) |
| 210 | 返回:0 |
| 名称 | 描述 |
|---|---|
| smpboot_create_threads | |
| smpboot_register_percpu_thread | smpboot_register_percpu_thread - Register a per_cpu thread related* to hotplug*@plug_thread: Hotplug thread descriptor* Creates and starts the threads on all online cpus. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |