函数逻辑报告 |
Source Code:lib\syscall.c |
Create Date:2022-07-27 08:10:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ask_current_syscall - Discover what a blocked task is doing.*@target: thread to examine*@info: structure with the following fields:* .sp - filled with user stack pointer* .data.nr - filled with system call number or -1*
函数原型:int task_current_syscall(struct task_struct *target, struct syscall_info *info)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | target | |
| struct syscall_info * | info |
| 67 | 如果target恒等于当前进程则返回:collect_syscall(target, info) |
| 71 | 如果此条件成立可能性小(为编译器优化)(!state)则返回:负EAGAIN |
| 74 | ncsw等于wait_task_inactive(target, state) |
| 75 | 如果此条件成立可能性小(为编译器优化)(!ncsw)或此条件成立可能性小(为编译器优化)(collect_syscall(target, info))或此条件成立可能性小(为编译器优化)(wait_task_inactive(target, state) != ncsw)则返回:负EAGAIN |
| 80 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |