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

Name:Enable or disable the MBA software controller* which helps user specify bandwidth in MBps.* MBA software controller is supported only if* MBM is supported and MBA is in linear scale.

Proto:static int set_mba_sc(bool mba_sc)

Type:int

Parameter:

TypeParameterName
boolmba_sc
1780  r = rdt_resources_all[RDT_RESOURCE_MBA]
1783  If Not is_mbm_enabled() || Not is_mba_linear() || mba_sc == is_mba_sc(r) Then Return -EINVAL
1787  mba_sc = mba_sc
1788  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(d, & domains, list)
1789  setup_default_ctrlval(r, ctrl_val, mbps_val)
1791  Return 0
Caller
NameDescribe
rdt_enable_ctx
rdt_get_tree
rdt_kill_sb