Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\nmi.c Create Date:2022-07-28 07:35:11
Last Modify:2022-05-22 06:29:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:nmi_handle

Proto:static int nmi_handle(unsigned int type, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
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  Return handled
Caller
NameDescribe
pci_serr_error
io_check_error
unknown_nmi_error
default_do_nmi