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:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sugov_policy_alloc

Proto:static struct sugov_policy *sugov_policy_alloc(struct cpufreq_policy *policy)

Type:struct sugov_policy

Parameter:

TypeParameterName
struct cpufreq_policy *policy
640  sg_policy = 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).
641  If Not sg_policy Then Return NULL
644  policy = policy
645  raw_spin_lock_init( & For shared policies )
646  Return sg_policy
Caller
NameDescribe
sugov_init