函数逻辑报告 |
Source Code:fs\seq_file.c |
Create Date:2022-07-29 10:40:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:traverse
函数原型:static int traverse(struct seq_file *m, loff_t offset)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct seq_file * | m | |
| loff_t | offset |
| 93 | pos等于0 |
| 94 | error等于0 |
| 97 | version等于0 |
| 98 | index等于0 |
| 100 | 如果非offset则返回:0 |
| 103 | 如果非buf则 |
| 116 | 如果此条件成立可能性小(为编译器优化)(error)则 |
| 129 | count等于0 |
| 134 | 返回:error |
| 136 | Eoverflow : |
| 139 | count等于0 |
| 140 | buf等于seq_buf_alloc(size <<= 1) |
| 名称 | 描述 |
|---|---|
| seq_read | seq_read - ->read() method for sequential files.*@file: the file to read from*@buf: the buffer to read to*@size: the maximum number of bytes to read*@ppos: the current position in the file* Ready-made ->f_op->read() |
| seq_lseek | seq_lseek - ->llseek() method for sequential files.*@file: the file in question*@offset: new position*@whence: 0 for absolute, 1 for relative position* Ready-made ->f_op->llseek() |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |