函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kexec_core.c Create Date:2022-07-27 12:04:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:crash_kexec

函数原型:void crash_kexec(struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
971  this_cpu等于These macros fold the SMP functionality into a single CPU system()
972  old_cpu等于atomic_cmpxchg( & panic_cpu, PANIC_CPU_INVALID, this_cpu)
973  如果old_cpu恒等于PANIC_CPU_INVALID
975  printk_safe_flush_on_panic - flush all per-cpu nmi buffers when the system* goes down.* Similar to printk_safe_flush() but it can be called even in NMI context when* the system goes down. It does the best effort to get NMI messages into
976  No panic_cpu check version of crash_kexec(). This function is called* only when panic_cpu holds the current CPU number; this is the only CPU* which processes crash_kexec routines.
982  atomic_set( & panic_cpu, PANIC_CPU_INVALID)
调用者
名称描述
oops_end