函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-27 08:55:28
Last Modify:2020-03-16 20:28:31 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:init_cqm

函数原型:static void init_cqm(struct cpuinfo_x86 *c)

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
878  如果非cpu_has(c, LLC QoS if 1 )则
879  max index 等于负1
880  scale to bytes 等于负1
881  返回
885  max index 等于cpuid_ebx(0xf)
887  如果cpu_has(c, LLC occupancy monitoring )或cpu_has(c, LLC Total MBM monitoring )或cpu_has(c, LLC Local MBM monitoring )则
893  cpuid_count(0xf, 1, & eax, & ebx, & ecx, & edx)
895  max index 等于ecx
896  scale to bytes 等于ebx
调用者
名称描述
get_cpu_cap