函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_corruption_check

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

返回类型:int

参数:

类型参数名称
char *arg
38  如果非arg
39  打印错误信息("memory_corruption_check config string not provided\n")
40  返回:负EINVAL
43  ret等于kstrtoul - convert a string to an unsigned long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign, but not a minus sign.
44  如果ret则返回:ret
47  memory_corruption_check等于val
49  返回:0