函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:state - control system sleep states

函数原型:static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)

返回类型:ssize_t

参数:

类型参数名称
struct kobject *kobj
struct kobj_attribute *attr
char *buf
555  s等于buf
564  如果hibernation_available()则s加等于输出格式化串
566  如果s不等于buf则*s减1的差等于'\n'
569  返回:sbuf