函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pufreq_add_update_util_hook - Populate the CPU's update_util_data pointer

函数原型:void cpufreq_add_update_util_hook(int cpu, struct update_util_data *data, void (*func)(struct update_util_data *data, u64 time, unsigned int flags))

返回类型:void

参数:

类型参数名称
intcpu
struct update_util_data *data
void (*func
36  如果WARN_ON(!data || !func)则返回
39  如果WARN_ON(per_cpu(cpufreq_update_util_data, cpu))则返回
42  func等于func
43  cu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization(per_cpu(cpufreq_update_util_data, cpu), data)
调用者
名称描述
sugov_start