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

Name:rdtgroup_kn_unlock

Proto:void rdtgroup_kn_unlock(struct kernfs_node *kn)

Type:void

Parameter:

TypeParameterName
struct kernfs_node *kn
1904  rdtgrp = We don't allow rdtgroup directories to be created anywhere* except the root directory
1906  If Not rdtgrp Then Return
1909  mutex_unlock( & Mutex to protect rdtgroup access. )
1911  If atomic_dec_and_test( & waitcount) && flags & dtgroup.flags Then
1913  If mode == RDT_MODE_PSEUDO_LOCKSETUP || mode == RDT_MODE_PSEUDO_LOCKED Then dtgroup_pseudo_lock_remove - Remove a pseudo-locked region*@rdtgrp: resource group to which the pseudo-locked region belongs* The removal of a pseudo-locked region can be initiated when the resource* group is removed from user space via a "rmdir" from
1916  kernfs_unbreak_active_protection(kn)
1917  kernfs_put(kn)
1918  free previously allocated memory
1919  Else
1920  kernfs_unbreak_active_protection(kn)
Caller
NameDescribe
rdtgroup_cpus_show
rdtgroup_cpus_write
rdtgroup_tasks_write
rdtgroup_tasks_show
rdtgroup_mode_showdtgroup_mode_show - Display mode of this resource group
rdtgroup_mode_writedtgroup_mode_write - Modify the resource group's mode
rdtgroup_size_showdtgroup_size_show - Display size in bytes of allocated regions* The "size" file mirrors the layout of the "schemata" file, printing the* size in bytes of each region instead of the capacity bitmask.
mkdir_rdt_prepare
rdtgroup_mkdir_monCreate a monitor group under "mon_groups" directory of a control* and monitor group(ctrl_mon). This is a resource group* to monitor a subset of tasks and cpus in its parent ctrl_mon group.
rdtgroup_mkdir_ctrl_monThese are rdtgroups created under the root directory. Can be used* to allocate and monitor resources.
rdtgroup_rmdir
rdtgroup_schemata_write
rdtgroup_schemata_show
rdtgroup_mondata_show