函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\nmi.c Create Date:2022-07-27 08:34:35
Last Modify:2022-05-22 06:29:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:nmi_check_duration

函数原型:static void nmi_check_duration(struct nmiaction *action, u64 duration)

返回类型:void

参数:

类型参数名称
struct nmiaction *action
u64duration
109  whole_msecs等于READ_ONCE(max_duration)
112  如果duration小于nmi_longest_nsduration小于max_duration则返回
115  max_duration等于duration
117  remainder_ns等于do_div() is NOT a C function(whole_msecs, (1000 * 1000))
118  decimal_msecs等于remainder_ns除1000
120  atelimited messages with local ratelimit_state,* no local ratelimit_state used in the !PRINTK case(formational "INFO: NMI handler (%ps) took too long to run: %lld.%03d msecs\n", handler, whole_msecs, decimal_msecs)
调用者
名称描述
nmi_handle