函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mce=off Disables machine check* mce=no_cmci Disables CMCI* mce=no_lmce Disables LMCE* mce=dont_log_ce Clears corrected events silently, no log created for CEs

函数原型:static int __init mcheck_enable(char *str)

返回类型:int

参数:

类型参数名称
char *str
2005  cfg等于mca_cfg
2007  如果str恒等于0则
2008  enable_p5_mce()
2009  返回:1
2011  如果str恒等于'='则str自加
2013  如果非字符串比较disabled等于1
2015  否则如果非字符串比较cmci_disabled = true
2017  否则如果非字符串比较lmce_disabled等于1
2019  否则如果非字符串比较dont_log_ce = true
2021  否则如果非字符串比较ignore_ce = true
2023  否则如果非字符串比较或非字符串比较bootlog等于str[0]恒等于'b'
2025  否则如果非字符串比较bios_cmci_threshold等于1
2027  否则如果非字符串比较recovery等于1
2029  否则如果isdigit(str[0])则
2030  如果get_option - Parse integer from an option string*@str: option string*@pint: (output) integer value parsed from @str* Read an int from an option string; if available accept a subsequent* comma as well恒等于2则get_option - Parse integer from an option string*@str: option string*@pint: (output) integer value parsed from @str* Read an int from an option string; if available accept a subsequent* comma as well
2032  否则
2033  打印信息("mce argument %s ignored. Please use /sys\n", str)
2034  返回:0
2036  返回:1