函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c Create Date:2022-07-27 09:11:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static int set_mba_sc(bool mba_sc)

返回类型:int

参数:

类型参数名称
boolmba_sc
1780  r等于rdt_resources_all[RDT_RESOURCE_MBA]
1783  如果非is_mbm_enabled()或非is_mba_linear()或mba_sc恒等于is_mba_sc(r)则返回:负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  返回:0
调用者
名称描述
rdt_enable_ctx
rdt_get_tree
rdt_kill_sb