函数逻辑报告 |
Source Code:kernel\crash_core.c |
Create Date:2022-07-27 12:02:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_last_crashkernel
函数原型:static __init char *get_last_crashkernel(char *cmdline, const char *name, const char *suffix)
返回类型:char
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | cmdline | |
| const char * | name | |
| const char * | suffix |
| 190 | char * p = cmdline, * ck_cmdline = NULL |
| 193 | p等于strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for |
| 195 | end_p等于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 |
| 201 | 如果非suffix则 |
| 212 | 否则 |
| 214 | 如果非字符串指定长度比较则ck_cmdline等于p |
| 217 | next : |
| 221 | 如果非ck_cmdline则返回:NULL |
| 224 | 返回:ck_cmdline |
| 名称 | 描述 |
|---|---|
| __parse_crashkernel |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |