Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c Create Date:2022-07-28 08:13:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dtgroup_locksetup_user_restrict - Restrict user access to group*@rdtgrp: resource group needing access restricted* A resource group used for cache pseudo-locking cannot have cpus or tasks* assigned to it

Proto:static int rdtgroup_locksetup_user_restrict(struct rdtgroup *rdtgrp)

Type:int

Parameter:

TypeParameterName
struct rdtgroup *rdtgrp
552  ret = dtgroup_kn_mode_restrict - Restrict user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file* The permissions of named resctrl file, directory, or link are modified
553  If ret Then Return ret
556  ret = dtgroup_kn_mode_restrict - Restrict user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file* The permissions of named resctrl file, directory, or link are modified
557  If ret Then Go to err_tasks
560  ret = dtgroup_kn_mode_restrict - Restrict user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file* The permissions of named resctrl file, directory, or link are modified
561  If ret Then Go to err_cpus
564  If Global boolean for rdt_monitor which is true if any* resource monitoring is enabled. Then
565  ret = dtgroup_kn_mode_restrict - Restrict user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file* The permissions of named resctrl file, directory, or link are modified
566  If ret Then Go to err_cpus_list
570  ret = 0
571  Go to out
573  err_cpus_list :
574  dtgroup_kn_mode_restore - Restore user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file*@mask: Mask of permissions that should be restored* Restore the permissions of the named file
575  err_cpus :
576  dtgroup_kn_mode_restore - Restore user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file*@mask: Mask of permissions that should be restored* Restore the permissions of the named file
577  err_tasks :
578  dtgroup_kn_mode_restore - Restore user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file*@mask: Mask of permissions that should be restored* Restore the permissions of the named file
579  out :
580  Return ret
Caller
NameDescribe
rdtgroup_locksetup_enterdtgroup_locksetup_enter - Resource group enters locksetup mode*@rdtgrp: resource group requested to enter locksetup mode* A resource group enters locksetup mode to reflect that it would be used* to represent a pseudo-locked region and is in the process of