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

Name:rdtgroup_kn_lock_live

Proto:struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn)

Type:struct rdtgroup

Parameter:

TypeParameterName
struct kernfs_node *kn
1885  rdtgrp = We don't allow rdtgroup directories to be created anywhere* except the root directory
1887  If Not rdtgrp Then Return NULL
1890  atomic_inc( & waitcount)
1891  kernfs_break_active_protection(kn)
1893  mutex_lock( & Mutex to protect rdtgroup access. )
1896  If flags & dtgroup.flags Then Return NULL
1899  Return rdtgrp
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_rmdir
rdtgroup_schemata_write
rdtgroup_schemata_show
rdtgroup_mondata_show