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:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdt_parse_param

Proto:static int rdt_parse_param(struct fs_context *fc, struct fs_parameter *param)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
struct fs_parameter *param
2054  ctx = rdt_fc2context(fc)
2058  opt = fs_parse(fc, & rdt_fs_parameters, param, & result)
2059  If opt < 0 Then Return opt
2063  Case opt == Opt_cdp
2064  enable_cdpl3 = true
2065  Return 0
2066  Case opt == Opt_cdpl2
2067  enable_cdpl2 = true
2068  Return 0
2069  Case opt == Opt_mba_mbps
2070  If CPU vendor != X86_VENDOR_INTEL Then Return -EINVAL
2072  enable_mba_mbps = true
2073  Return 0
2076  Return -EINVAL