Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\printk\printk.c Create Date:2022-07-28 10:06:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:suspend_console - suspend the console subsystem* This disables printk() while we go into suspend states

Proto:void suspend_console(void)

Type:void

Parameter:Nothing

2241  If Not console_suspend_enabled Then Return
2243  pr_info("Suspending console(s) (use no_console_suspend to debug)\n")
2244  sole_lock - lock the console system for exclusive use.* Acquires a lock which guarantees that the caller has* exclusive access to the console system and the console_drivers list.* Can sleep, returns nothing.
2245  This is used for debugging the mess that is the VT code by* keeping track if we have the console semaphore held = 1
2246  up_console_sem()
Caller
NameDescribe
hibernation_snapshothibernation_snapshot - Quiesce devices and create a hibernation image.*@platform_mode: If set, use platform driver to prepare for the transition.* This routine must be called with system_transition_mutex held.
hibernation_restorehibernation_restore - Quiesce devices and restore from a hibernation image
hibernation_platform_enterhibernation_platform_enter - Power off the system using the platform driver.