函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\crash_dump.c Create Date:2022-07-27 15:09:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lfcorehdr= specifies the location of elf core header stored by the crashed* kernel. This option will be passed by kexec loader to the capture kernel.* Syntax: elfcorehdr=[size[KMG]@]offset[KMG]

函数原型:static int __init setup_elfcorehdr(char *arg)

返回类型:int

参数:

类型参数名称
char *arg
38  如果非arg则返回:负EINVAL
40  stores the physical address of elf header of crash image* Note: elfcorehdr_addr is not just limited to vmcore. It is also used by* is_kdump_kernel() to determine if we are booting after a panic. Hence put等于memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
41  如果end恒等于'@'则
42  stores the size of elf header of crash image等于stores the physical address of elf header of crash image* Note: elfcorehdr_addr is not just limited to vmcore. It is also used by* is_kdump_kernel() to determine if we are booting after a panic. Hence put
43  stores the physical address of elf header of crash image* Note: elfcorehdr_addr is not just limited to vmcore. It is also used by* is_kdump_kernel() to determine if we are booting after a panic. Hence put等于memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
45  返回:如果end大于arg则0否则负EINVAL