函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mce_adjust_timer_default

函数原型:unsigned long mce_adjust_timer_default(unsigned long interval)

返回类型:unsigned long

参数:

类型参数名称
unsigned longinterval
177  如果Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(CMCI storm detection backoff counter* During storm, we reset this counter to INITIAL_CHECK_INTERVAL in case we've* encountered an error. If not, we decrement it by one. We signal the end of* the CMCI storm when it reaches 0.)大于0且Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cmci_storm_state)恒等于CMCI_STORM_ACTIVE
179  Notify the user(s) about new machine check events.* Can be called from interrupt context, but not from machine check/NMI* context.
180  返回:CMCI_STORM_INTERVAL
192  如果非atomic_sub_return(1, & cmci_storm_on_cpus)则打印注释信息("CMCI storm subsided: switching to interrupt mode\n")
202  如果非atomic_read( & cmci_storm_on_cpus)则
207  返回:CMCI_POLL_INTERVAL
208  默认
211  返回:interval