函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_support.c |
Create Date:2022-07-27 12:47:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kallsyms_symbol_complete* Parameters:* prefix_name prefix of a symbol name to lookup* max_len maximum length that can be returned* Returns:* Number of symbols which match the given prefix
函数原型:int kallsyms_symbol_complete(char *prefix_name, int max_len)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | prefix_name | |
int | max_len |
188 | pos等于0 |
190 | number等于0 |
193 | 当name等于kdb_walk_kallsyms( & pos)循环 |
194 | 如果字符串指定长度比较恒等于0则 |
197 | 如果number先自加恒等于1则 |
200 | 内存复制(ks_namebuf_prev, ks_namebuf, prev_len) |
201 | ks_namebuf_prev[prev_len]等于'\0' |
202 | 继续下一循环 |
205 | 如果ks_namebuf[i]不等于ks_namebuf_prev[i]则 |
213 | 如果prev_len大于prefix_len则内存复制(prefix_name, ks_namebuf_prev, prev_len + 1) |
215 | 返回:number |
名称 | 描述 |
---|---|
kdb_read | kdb_read* This function reads a string of characters, terminated by* a newline, or by reaching the end of the supplied buffer,* from the current kernel debugger console device.* Parameters:* Returns:* Returns a pointer to the buffer containing the received |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |