函数逻辑报告 |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-27 13:10:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:trace_parse_run_command
函数原型:ssize_t trace_parse_run_command(struct file *file, const char __user *buffer, size_t count, loff_t *ppos, int (*createfn)(int , char **))
返回类型:ssize_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct file * | file | |
| const char __user * | buffer | |
| size_t | count | |
| loff_t * | ppos | |
| int (* | createfn |
| 9190 | ret等于0 |
| 9191 | done等于0 |
| 9201 | 如果size大于等于WRITE_BUFSIZE则size等于WRITE_BUFSIZE减1 |
| 9204 | 如果copy_from_user(kbuf, buffer + done, size)则 |
| 9210 | 循环 |
| 9211 | tmp等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
| 9212 | 如果tmp则 |
| 9215 | 否则 |
| 9230 | tmp等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
| 9235 | ret等于trace_run_command(buf, createfn) |
| 9244 | out : |
| 9247 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |