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

Name: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

Proto:static bool rdtgroup_mode_test_exclusive(struct rdtgroup *rdtgrp)

Type:bool

Parameter:

TypeParameterName
struct rdtgroup *rdtgrp
1145  closid = closid
1147  bool has_cache = false
1151  If rid == RDT_RESOURCE_MBA Then Continue
1153  has_cache = true
1155  If dtgroup_cbm_overlaps - Does CBM overlap with other use of hardware*@r: Resource to which domain instance @d belongs Then
1157  rdt_last_cmd_puts("Schemata overlaps\n")
1158  Return false
1163  If Not has_cache Then
1164  rdt_last_cmd_puts("Cannot be exclusive without CAT/CDP\n")
1165  Return false
1168  Return true
Caller
NameDescribe
rdtgroup_mode_writedtgroup_mode_write - Modify the resource group's mode