函数逻辑报告

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:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dtgroup_mode_test_exclusive - Test if this resource group can be exclusive* An exclusive resource group implies that there should be no sharing of* its allocated resources

函数原型:static bool rdtgroup_mode_test_exclusive(struct rdtgroup *rdtgrp)

返回类型:bool

参数:

类型参数名称
struct rdtgroup *rdtgrp
1145  closid等于closid
1147  bool has_cache = false
1151  如果rid恒等于RDT_RESOURCE_MBA则继续下一循环
1153  has_cache = true
1155  如果dtgroup_cbm_overlaps - Does CBM overlap with other use of hardware*@r: Resource to which domain instance @d belongs
1157  rdt_last_cmd_puts("Schemata overlaps\n")
1158  返回:false
1163  如果非has_cache
1164  rdt_last_cmd_puts("Cannot be exclusive without CAT/CDP\n")
1165  返回:false
1168  返回:true
调用者
名称描述
rdtgroup_mode_writedtgroup_mode_write - Modify the resource group's mode