函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\panic.c Create Date:2022-07-27 09:59:18
Last Modify:2022-05-22 10:57:01 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:It just happens that oops_enter() and oops_exit() are identically* implemented...

函数原型:static void do_oops_enter_exit(void)

返回类型:void

参数:

459  如果非pause_on_oops则返回
462  spin_lock_irqsave( & pause_on_oops_lock, flags)
463  如果pause_on_oops_flag恒等于0则
465  pause_on_oops_flag等于1
466  否则
468  如果非spin_counter
471  循环
475 spin_counter先自减循环
476  pause_on_oops_flag等于0
477  否则
481  spin_msec(1)
482  加自旋锁
486  spin_unlock_irqrestore( & pause_on_oops_lock, flags)
调用者
名称描述
oops_enterCalled when the architecture enters its oops handler, before it prints* anything. If this is the first CPU to oops, and it's oopsing the first* time then let it proceed.* This is all enabled by the pause_on_oops kernel boot option. We do all
oops_exitCalled when the architecture exits its oops handler, after printing* everything.