函数逻辑报告 |
Source Code:kernel\crash_core.c |
Create Date:2022-07-27 12:02:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__parse_crashkernel
函数原型:static int __init __parse_crashkernel(char *cmdline, unsigned long long system_ram, unsigned long long *crash_size, unsigned long long *crash_base, const char *name, const char *suffix)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | cmdline | |
unsigned long long | system_ram | |
unsigned long long * | crash_size | |
unsigned long long * | crash_base | |
const char * | name | |
const char * | suffix |
237 | BUG_ON(!crash_size || !crash_base) |
238 | crash_size等于0 |
239 | crash_base等于0 |
241 | ck_cmdline等于get_last_crashkernel(cmdline, name, suffix) |
243 | 如果非ck_cmdline则返回:负EINVAL |
248 | 如果suffix则返回:That function parses "suffix" crashkernel command lines like* crashkernel=size,[high|low]* It returns 0 on success and -EINVAL on failure. |
255 | first_colon等于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 |
256 | first_space等于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 |
名称 | 描述 |
---|---|
parse_crashkernel | That function is the entry point for command line parsing and should be* called from the arch-specific code. |
parse_crashkernel_high | |
parse_crashkernel_low |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |