函数逻辑报告

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_handle

函数原型:static int nmi_handle(unsigned int type, struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
unsigned inttype
struct pt_regs *regs
127  desc等于nmi_to_desc(type)
129  handled等于0
131  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
143  delta等于Do not use outside of architecture code which knows its limitations.* sched_clock() has no promise of monotonicity or bounded drift between* CPUs, use (which you should not) requires disabling IRQs.* Please use one of the three interfaces below.
144  thishandled等于handler(type, regs)
145  handled加等于thishandled
146  delta等于Do not use outside of architecture code which knows its limitations.* sched_clock() has no promise of monotonicity or bounded drift between* CPUs, use (which you should not) requires disabling IRQs.* Please use one of the three interfaces below.delta
147  trace_nmi_handler(handler, (int)delta, thishandled)
149  nmi_check_duration(a, delta)
152  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
155  返回:handled
调用者
名称描述
pci_serr_error
io_check_error
unknown_nmi_error
default_do_nmi