函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:energy_perf_bias_show

函数原型:static ssize_t energy_perf_bias_show(struct device *dev, struct device_attribute *attr, char *buf)

返回类型:ssize_t

参数:

类型参数名称
struct device *dev
struct device_attribute *attr
char *buf
124  cpu等于id
128  ret等于rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, & epb)
129  如果ret小于0则返回:ret
132  返回:输出格式化串