Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cdp_enable

Proto:static int cdp_enable(int level, int data_type, int code_type)

Type:int

Parameter:

TypeParameterName
intlevel
intdata_type
intcode_type
1796  r_ldata = rdt_resources_all[data_type]
1797  r_lcode = rdt_resources_all[code_type]
1798  r_l = rdt_resources_all[level]
1801  If Not alloc_capable || Not alloc_capable || Not alloc_capable Then Return -EINVAL
1805  ret = set_cache_qos_cfg(level, true)
1806  If Not ret Then
1807  alloc_enabled = false
1808  alloc_enabled = true
1809  alloc_enabled = true
1811  Return ret
Caller
NameDescribe
cdpl3_enable
cdpl2_enable