函数逻辑报告

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

函数名称:rdtgroup_kn_lock_live

函数原型:struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn)

返回类型:struct rdtgroup

参数:

类型参数名称
struct kernfs_node *kn
1885  rdtgrp等于We don't allow rdtgroup directories to be created anywhere* except the root directory
1887  如果非rdtgrp则返回:NULL
1890  atomic_inc( & waitcount)
1891  kernfs_break_active_protection(kn)
1893  mutex_lock( & Mutex to protect rdtgroup access. )
1896  如果flags按位与dtgroup.flags 则返回:NULL
1899  返回:rdtgrp
调用者
名称描述
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