函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zing_slow_path - slow path for testing whether a task needs to be frozen*@p: task to be tested* This function is called by freezing() if system_freezing_cnt isn't zero* and tests whether @p needs to enter and stay in frozen state. Can be

函数原型:bool freezing_slow_path(struct task_struct *p)

返回类型:bool

参数:

类型参数名称
struct task_struct *p
39  如果任务标志按位与This thread should not be frozen 按位或This thread called freeze_processes() and should not be frozen 的值则返回:false
42  如果test_tsk_thread_flag(p, s terminating due to OOM killer )则返回:false
45  如果pm_nosig_freezingcgroup_freezing(p)则返回:true
48  如果dicate whether PM freezing is in effect, protected by* system_transition_mutex且非任务标志按位与I am a kernel thread 的值则返回:true
51  返回:false