函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ze_kernel_threads - Make freezable kernel threads go to the refrigerator.* On success, returns 0. On failure, -errno and only the kernel threads are* thawed, so as to give a chance to the caller to do additional cleanups

函数原型:int freeze_kernel_threads(void)

返回类型:int

参数:

174  打印信息("Freezing remaining freezable tasks ... ")
176  pm_nosig_freezing = true
177  error等于try_to_freeze_tasks(false)
178  如果非error打印标准信息("done.")
181  打印标准信息("\n")
182  BUG_ON(Are we running in atomic context? WARNING: this macro cannot* always detect atomic context; in particular, it cannot know about* held spinlocks in non-preemptible kernels. Thus it should not be())
184  如果errorthaw_kernel_threads()
186  返回:error
调用者
名称描述
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.