Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sugov_tunables_alloc

Proto:static struct sugov_tunables *sugov_tunables_alloc(struct sugov_policy *sg_policy)

Type:struct sugov_tunables

Parameter:

TypeParameterName
struct sugov_policy *sg_policy
720  tunables = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
721  If tunables Then
722  gov_attr_set_init( & attr_set, & tunables_hook)
723  If Not have_governor_per_policy() Then sysfs interface *********************** = tunables
726  Return tunables
Caller
NameDescribe
sugov_init