Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\core.c Create Date:2022-07-28 08:09:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdt_get_cache_alloc_cfg

Proto:static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r)

Type:void

Parameter:

TypeParameterName
intidx
struct rdt_resource *r
309  cpuid_count(0x00000010, idx, & full, & ebx, & ecx, & full)
310  num_closid = cos_max + 1
311  cbm_len = cbm_len + 1
312  default_ctrl = BIT_MASK(cbm_len + 1) - 1
313  shareable_bits = ebx & default_ctrl
314  data_width = (cbm_len + 3) / 4
315  alloc_capable = true
316  alloc_enabled = true
Caller
NameDescribe
get_rdt_alloc_resources