函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:parse_bw_amd

函数原型:int parse_bw_amd(struct rdt_parse_data *data, struct rdt_resource *r, struct rdt_domain *d)

返回类型:int

参数:

类型参数名称
struct rdt_parse_data *data
struct rdt_resource *r
struct rdt_domain *d
57  如果have_new_ctrl
58  rdt_last_cmd_printf("Duplicate domain %d\n", id)
59  返回:负EINVAL
62  如果非Check whether MBA bandwidth percentage value is correct. The value is* checked against the minimum and maximum bandwidth values specified by* the hardware. The allocated bandwidth percentage is rounded to the next* control step available on the hardware.则返回:负EINVAL
65  new_ctrl等于bw_val
66  have_new_ctrl = true
68  返回:0