Function report |
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 activity | Download SCCT | Chinese |
Name:sugov_policy_alloc
Proto:static struct sugov_policy *sugov_policy_alloc(struct cpufreq_policy *policy)
Type:struct sugov_policy
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| 645 | raw_spin_lock_init( & For shared policies ) |
| 646 | Return sg_policy |
| Name | Describe |
|---|---|
| sugov_init |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |