函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:setup_test_suspend

函数原型:static int __init setup_test_suspend(char *value)

返回类型:int

参数:

类型参数名称
char *value
157  value自加
158  suspend_type等于分割字符串
159  如果非suspend_type则返回:0
162  repeat等于分割字符串
163  如果repeat
164  如果kstrtou32(repeat, 0, & test_repeat_count_max)则返回:0
168 i小于PM_SUSPEND_MAX循环如果非字符串比较
170  Kernel options like "test_suspend=mem" force suspend/resume sanity tests* at startup time. They're normally disabled, for faster boot and because* we can't know which states really work on this particular system.等于pm_labels[i]
171  返回:0
174  printk(warn_bad_state, suspend_type)
175  返回:0