函数逻辑报告

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:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mce_available

函数原型:int mce_available(struct cpuinfo_x86 *c)

返回类型:int

参数:

类型参数名称
struct cpuinfo_x86 *c
464  如果disabled则返回:0
466  返回:cpu_has(c, Machine Check Exception )且cpu_has(c, Machine Check Architecture )
调用者
名称描述
mce_timer_fn
mcheck_cpu_initCalled for each booted CPU to set up machine checks.* Must be called with preempt off:
mcheck_cpu_clearCalled for each booted CPU to clear some machine checks opt-ins
mce_cpu_restartmce_device: Sysfs support
mce_disable_cmciToggle features for corrected errors
mce_enable_ce
mce_device_createPer CPU device init. All of the CPUs still share the same bank device:
mce_disable_cpuMake sure there are no machine checks on offlined CPUs.
mce_reenable_cpu
mcheck_init_device
cmci_recheckJust in case we missed an event during initialization check* all the CMCI owned banks.