函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:suspend_console - suspend the console subsystem* This disables printk() while we go into suspend states

函数原型:void suspend_console(void)

返回类型:void

参数:

2241  如果非console_suspend_enabled则返回
2243  打印信息("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()
调用者
名称描述
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.
suspend_devices_and_entersuspend_devices_and_enter - Suspend devices and enter system sleep state.*@state: System sleep state to enter.