函数逻辑报告 |
Source Code:kernel\freezer.c |
Create Date:2022-07-27 11:36:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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_freezing或cgroup_freezing(p)则返回:true |
| 48 | 如果dicate whether PM freezing is in effect, protected by* system_transition_mutex且非任务标志按位与I am a kernel thread 的值则返回:true |
| 51 | 返回:false |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |