Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\main.c Create Date:2022-07-28 09:56:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:state - control system sleep states

Proto:static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)

Type:ssize_t

Parameter:

TypeParameterName
struct kobject *kobj
struct kobj_attribute *attr
char *buf
555  s = buf
564  If hibernation_available() Then s += sprintf(s, "disk ")
566  If s != buf Then *(s - 1) = '\n'
569  Return s - buf