函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_policy_alloc

函数原型:static struct sugov_policy *sugov_policy_alloc(struct cpufreq_policy *policy)

返回类型:struct sugov_policy

参数:

类型参数名称
struct cpufreq_policy *policy
640  sg_policy等于分配内存并置零
641  如果非sg_policy则返回:NULL
644  policy等于policy
645  raw_spin_lock_init( & For shared policies )
646  返回:sg_policy
调用者
名称描述
sugov_init