函数逻辑报告 |
Source Code:kernel\torture.c |
Create Date:2022-07-27 15:11:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Register a task to be shuffled. If there is no memory, just splat* and don't bother registering.
函数原型:void torture_shuffle_task_register(struct task_struct *tp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tp |
343 | 如果WARN_ON_ONCE(tp == NULL)则返回 |
346 | 如果WARN_ON_ONCE(stp == NULL)则返回 |
349 | mutex_lock( & shuffle_task_mutex) |
350 | 添加链表项 |
名称 | 描述 |
---|---|
_torture_create_kthread | Create a generic torture kthread that is immediately runnable. If you* need the kthread to be stopped so that you can do something to it before* it starts, you will need to open-code your own. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |