函数逻辑报告 |
Source Code:kernel\kthread.c |
Create Date:2022-07-27 10:30:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__kthread_create_worker
函数原型:static __printf(3, 0) struct kthread_worker *__kthread_create_worker(int cpu, unsigned int flags, const char namefmt[], va_list args)
返回类型:struct kthread_worker
参数:
类型 | 参数 | 名称 |
---|---|---|
int | cpu | |
unsigned int | flags | |
const char | namefmt | |
va_list | args |
687 | node等于NUMA_NO_NODE |
695 | 如果cpu大于等于0则node等于cpu_to_node(cpu) |
708 | 唤醒中断线程 |
709 | 返回:worker |
711 | fail_task : |
712 | 释放内存 |
713 | 返回:错误指示 |
名称 | 描述 |
---|---|
kthread_create_worker | kthread_create_worker - create a kthread worker*@flags: flags modifying the default behavior of the worker*@namefmt: printf-style name for the kthread worker (task) |
kthread_create_worker_on_cpu | kthread_create_worker_on_cpu - create a kthread worker and bind it* it to a given CPU and the associated NUMA node |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |