函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\suspend.c Create Date:2022-07-27 10:58:17
Last Modify:2020-03-17 14:47:48 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:valid_state

函数原型:static bool valid_state(suspend_state_t state)

返回类型:bool

参数:

类型参数名称
suspend_state_tstate
169  返回:suspend_opsvalidvalid(state)
调用者
名称描述
suspend_set_ops设置平台相关暂停操作
enter_stater_state - Do common work needed to enter system sleep state.*@state: System sleep state to enter.* Make sure that no one else is trying to put the system into a sleep state.* Fail if that's not the case. Otherwise, prepare for system suspend, make the