函数逻辑报告 |
Source Code:kernel\task_work.c |
Create Date:2022-07-27 10:29:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ask_work_add - ask the @task to execute @work->func()*@task: the task which should run the callback*@work: the callback to run*@notify: send the notification if true* Queue @work for task_work_run() below and notify the @task if @notify.
函数原型:int task_work_add(struct task_struct *task, struct callback_head *work, bool notify)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task | |
struct callback_head * | work | |
bool | notify |
32 | 循环 |
34 | 如果此条件成立可能性小(为编译器优化)(head == & all we need is ->next == NULL )则返回:负ESRCH |
41 | 返回:0 |
名称 | 描述 |
---|---|
irq_thread | Interrupt handler thread |
uprobe_copy_process | 复制上下文 |
report_access | defers execution because cmdline access can sleep |
mntput_no_expire | |
__rdtgroup_move_task | |
keyctl_session_to_parent | Attempt to install the calling process's session keyring on the process's* parent process.* The keyring must exist and must grant the caller LINK permission, and the* parent process must be single-threaded and must have the same effective |
fput_many |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |