函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:thaw_kernel_threads

函数原型:void thaw_kernel_threads(void)

返回类型:void

参数:

231  pm_nosig_freezing = false
232  打印信息("Restarting kernel threads ... ")
234  thaw_workqueues()
236  read_lock( & tasklist_lock)
237  Careful: this is a double loop, 'break' won't work as expected. (g, p)
238  如果任务标志按位与I am a kernel thread 按位或进程处于工作队列中的值则__thaw_task(p)
241  read_unlock( & tasklist_lock)
243  进程调度
244  打印标准信息("done.\n")
调用者
名称描述
freeze_kernel_threadsze_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
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.
snapshot_ioctl