函数逻辑报告 |
Source Code:kernel\panic.c |
Create Date:2022-07-27 09:59:08 |
Last Modify:2022-05-22 10:57:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:A variant of panic() called from NMI context. We return if we've already* panicked on this CPU. If another CPU already panicked, loop in* nmi_panic_self_stop() which can provide architecture dependent code such* as saving register state for crash dump.
函数原型:void nmi_panic(struct pt_regs *regs, const char *msg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pt_regs * | regs | |
const char * | msg |
129 | old_cpu等于atomic_cmpxchg( & panic_cpu, PANIC_CPU_INVALID, cpu) |
131 | 如果old_cpu恒等于PANIC_CPU_INVALID则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
133 | 否则如果old_cpu不等于cpu则Stop ourselves in NMI context if another CPU has already panicked. Arch code* may override this to prepare for crash dumping, e.g. save regs info. |
名称 | 描述 |
---|---|
io_check_error | |
unknown_nmi_error | |
watchdog_overflow_callback | Callback function for perf event subsystem |
pci_serr_error |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |